From a331388748e66f17eb7eaefe2924773d74356332 Mon Sep 17 00:00:00 2001 From: Petar Hristov <hristov@itc.rwth-aachen.de> Date: Wed, 8 Nov 2023 15:28:31 +0100 Subject: [PATCH] New: Newest client generation and base refactoring --- .gitignore | 1 + generate-api-client.bat | 14 + src/ApiClient.sln | 22 +- ...t.csproj => Coscine.ApiClient.Core.csproj} | 6 +- src/ApiClient/JwtConfiguration.cs | 2 +- src/ApiClient/JwtUtil.cs | 2 +- src/ApiClient/RequestUtil.cs | 6 +- .../Api/AdminApiTests.cs | 30 +- .../Api/ApplicationProfileApiTests.cs | 12 +- .../Api/BlobApiTests.cs | 8 +- .../Api/DisciplineApiTests.cs | 12 +- .../Api/LanguageApiTests.cs | 12 +- .../Api/LicenseApiTests.cs | 12 +- .../Api/MaintenanceApiTests.cs | 12 +- .../Api/OrganizationApiTests.cs | 12 +- .../Api/PidApiTests.cs | 10 +- .../Api/ProjectApiTests.cs | 12 +- .../Api/ProjectInvitationApiTests.cs | 12 +- .../Api/ProjectMemberApiTests.cs | 12 +- .../Api/ProjectQuotaApiTests.cs | 12 +- .../Api/ProjectResourceApiTests.cs | 12 +- .../Api/ProjectResourceQuotaApiTests.cs | 10 +- .../Api/ProjectResourceTypeApiTests.cs | 10 +- .../Api/ResourceApiTests.cs | 10 +- .../Api/ResourceTypeApiTests.cs | 10 +- .../Api/RoleApiTests.cs | 12 +- .../Api/SearchApiTests.cs | 12 +- .../Api/SelfApiTests.cs | 10 +- .../Api/SelfApiTokenApiTests.cs | 12 +- .../Api/TitleApiTests.cs | 12 +- .../Api/TosApiTests.cs | 10 +- .../Api/TreeApiTests.cs | 14 +- .../Api/UserApiTests.cs | 10 +- .../Api/VisibilityApiTests.cs | 12 +- .../Api/VocabularyApiTests.cs | 14 +- .../Coscine.ApiClient.Test.csproj} | 8 +- .../Model/AcceptedLanguageTests.cs | 8 +- .../Model/ApiTokenDtoPagedResponseTests.cs} | 42 +- .../Model/ApiTokenDtoResponseTests.cs | 20 +- .../Model/ApiTokenDtoTests.cs | 8 +- .../Model/ApiTokenForCreationDtoTests.cs | 8 +- ...pplicationProfileDtoPagedResponseTests.cs} | 42 +- .../ApplicationProfileDtoResponseTests.cs | 20 +- .../Model/ApplicationProfileDtoTests.cs | 8 +- ...ationProfileForCreationDtoResponseTests.cs | 20 +- .../ApplicationProfileForCreationDtoTests.cs | 8 +- ...ationProfileForResourceCreationDtoTests.cs | 8 +- .../ApplicationProfileMinimalDtoTests.cs | 8 +- .../Model/DisciplineDtoPagedResponseTests.cs} | 42 +- .../Model/DisciplineDtoResponseTests.cs | 20 +- .../Model/DisciplineDtoTests.cs | 8 +- ...isciplineForProjectManipulationDtoTests.cs | 8 +- ...sciplineForResourceManipulationDtoTests.cs | 8 +- .../DisciplineForUserManipulationDtoTests.cs | 8 +- .../Model/FileTreeDtoPagedResponseTests.cs} | 42 +- .../Model/FileTreeDtoTests.cs | 8 +- ...xedValueForResourceManipulationDtoTests.cs | 8 +- .../Model/GitLabOptionsDtoTests.cs | 8 +- ...GitlabBranchDtoIEnumerableResponseTests.cs | 20 +- .../Model/GitlabBranchDtoTests.cs | 8 +- ...itlabProjectDtoIEnumerableResponseTests.cs | 20 +- .../Model/GitlabProjectDtoResponseTests.cs | 20 +- .../Model/GitlabProjectDtoTests.cs | 8 +- ...bResourceTypeOptionsForCreationDtoTests.cs | 8 +- ...labResourceTypeOptionsForUpdateDtoTests.cs | 8 +- .../Model/IdentityProviderDtoTests.cs | 8 +- .../Model/IdentityProvidersTests.cs | 8 +- .../Model/LanguageDtoPagedResponseTests.cs} | 42 +- .../Model/LanguageDtoResponseTests.cs | 20 +- .../Model/LanguageDtoTests.cs | 8 +- .../LanguageForUserManipulationDtoTests.cs | 8 +- .../Model/LicenseDtoPagedResponseTests.cs} | 42 +- .../Model/LicenseDtoResponseTests.cs | 20 +- .../Model/LicenseDtoTests.cs | 8 +- .../LicenseForResourceManipulationDtoTests.cs | 8 +- .../MaintenanceDtoPagedResponseTests.cs} | 42 +- .../Model/MaintenanceDtoTests.cs | 8 +- .../MetadataTreeDtoPagedResponseTests.cs} | 42 +- .../Model/MetadataTreeDtoResponseTests.cs | 20 +- .../Model/MetadataTreeDtoTests.cs | 8 +- .../Model/MetadataTreeForCreationDtoTests.cs | 8 +- .../Model/MetadataTreeForUpdateDtoTests.cs | 8 +- .../MetadataUpdateAdminParametersTests.cs | 8 +- .../OrganizationDtoPagedResponseTests.cs} | 42 +- .../Model/OrganizationDtoResponseTests.cs | 20 +- .../Model/OrganizationDtoTests.cs | 8 +- ...anizationForProjectManipulationDtoTests.cs | 8 +- .../Model/PaginationTests.cs | 8 +- .../Model/PidRequestDtoTests.cs | 8 +- .../Model/PidTypeTests.cs | 8 +- .../Model/PidValidationDtoResponseTests.cs | 20 +- .../Model/PidValidationDtoTests.cs | 8 +- .../ProjectAdminDtoPagedResponseTests.cs} | 42 +- .../Model/ProjectAdminDtoTests.cs | 17 +- .../Model/ProjectDtoPagedResponseTests.cs} | 42 +- .../Model/ProjectDtoResponseTests.cs | 20 +- .../Model/ProjectDtoTests.cs | 8 +- .../Model/ProjectForCreationDtoTests.cs | 8 +- .../Model/ProjectForUpdateDtoTests.cs | 8 +- ...ProjectInvitationDtoPagedResponseTests.cs} | 42 +- .../ProjectInvitationDtoResponseTests.cs | 20 +- .../Model/ProjectInvitationDtoTests.cs | 8 +- ...nvitationForProjectManipulationDtoTests.cs | 8 +- .../Model/ProjectInvitationResolveDtoTests.cs | 8 +- .../Model/ProjectMinimalDtoTests.cs | 8 +- .../ProjectQuotaDtoPagedResponseTests.cs} | 42 +- .../Model/ProjectQuotaDtoResponseTests.cs | 20 +- .../Model/ProjectQuotaDtoTests.cs | 8 +- .../Model/ProjectQuotaForUpdateDtoTests.cs | 8 +- .../Model/ProjectResourceMinimalDtoTests.cs | 8 +- .../ProjectRoleDtoPagedResponseTests.cs} | 42 +- .../Model/ProjectRoleDtoResponseTests.cs | 20 +- .../Model/ProjectRoleDtoTests.cs | 8 +- .../ProjectRoleForProjectCreationDtoTests.cs | 8 +- ...ojectRoleForProjectManipulationDtoTests.cs | 8 +- .../Model/ProjectRoleMinimalDtoTests.cs | 8 +- .../PublicUserDtoIEnumerableResponseTests.cs | 20 +- .../Model/PublicUserDtoTests.cs | 8 +- .../Model/QuotaDtoTests.cs | 8 +- .../Model/QuotaForManipulationDtoTests.cs | 8 +- .../Model/QuotaUnitTests.cs | 8 +- .../Model/RdfDefinitionDtoResponseTests.cs | 20 +- .../Model/RdfDefinitionDtoTests.cs | 8 +- .../RdfDefinitionForManipulationDtoTests.cs | 8 +- .../Model/RdfFormatTests.cs | 8 +- .../Model/RdsOptionsDtoTests.cs | 8 +- ...ourceTypeOptionsForManipulationDtoTests.cs | 8 +- .../Model/RdsS3OptionsDtoTests.cs | 8 +- ...ourceTypeOptionsForManipulationDtoTests.cs | 8 +- .../Model/RdsS3WormOptionsDtoTests.cs | 8 +- ...ourceTypeOptionsForManipulationDtoTests.cs | 8 +- .../ResourceAdminDtoPagedResponseTests.cs} | 42 +- .../Model/ResourceAdminDtoTests.cs | 8 +- .../ResourceContentPageColumnsDtoTests.cs | 8 +- .../Model/ResourceContentPageDtoTests.cs | 8 +- .../ResourceContentPageEntriesViewDtoTests.cs | 8 +- ...ResourceContentPageMetadataViewDtoTests.cs | 8 +- .../Model/ResourceCreationPageDtoTests.cs | 8 +- .../Model/ResourceDtoPagedResponseTests.cs} | 42 +- .../Model/ResourceDtoResponseTests.cs | 20 +- .../Model/ResourceDtoTests.cs | 8 +- .../Model/ResourceForCreationDtoTests.cs | 8 +- .../Model/ResourceForUpdateDtoTests.cs | 8 +- .../Model/ResourceMinimalDtoTests.cs | 8 +- .../Model/ResourceQuotaDtoResponseTests.cs | 20 +- .../Model/ResourceQuotaDtoTests.cs | 8 +- .../Model/ResourceTypeDtoTests.cs | 8 +- ...eInformationDtoIEnumerableResponseTests.cs | 20 +- ...ResourceTypeInformationDtoResponseTests.cs | 20 +- .../Model/ResourceTypeInformationDtoTests.cs | 8 +- .../Model/ResourceTypeMinimalDtoTests.cs | 8 +- .../Model/ResourceTypeOptionsDtoTests.cs | 8 +- .../ResourceTypeOptionsForCreationDtoTests.cs | 8 +- .../ResourceTypeOptionsForUpdateDtoTests.cs | 8 +- .../Model/ResourceTypeStatusTests.cs | 8 +- .../Model/RoleDtoPagedResponseTests.cs} | 42 +- .../Model/RoleDtoResponseTests.cs | 20 +- .../Model/RoleDtoTests.cs | 8 +- .../Model/RoleMinimalDtoTests.cs | 8 +- .../Model/SearchCategoryTests.cs | 76 +++ .../Model/SearchCategoryTypeTests.cs | 8 +- ...earchResultDtoPagedSearchResponseTests.cs} | 51 +- .../Model/SearchResultDtoTests.cs | 8 +- .../Model/TermsOfServiceDtoResponseTests.cs | 20 +- .../Model/TermsOfServiceDtoTests.cs | 8 +- .../Model/TitleDtoPagedResponseTests.cs} | 42 +- .../Model/TitleDtoResponseTests.cs | 20 +- .../Model/TitleDtoTests.cs | 8 +- .../Model/TitleForUserManipulationDtoTests.cs | 8 +- .../Model/TreeDataTypeTests.cs | 8 +- .../Model/UserDtoPagedResponseTests.cs} | 42 +- .../Model/UserDtoResponseTests.cs | 20 +- .../Model/UserDtoTests.cs | 8 +- .../Model/UserEmailDtoTests.cs | 8 +- .../Model/UserForUpdateDtoTests.cs | 8 +- .../Model/UserInstituteDtoTests.cs | 8 +- .../Model/UserMergeDtoResponseTests.cs | 20 +- .../Model/UserMergeDtoTests.cs | 8 +- .../Model/UserMinimalDtoTests.cs | 8 +- .../Model/UserOrganizationDtoTests.cs | 8 +- .../Model/UserTermsOfServiceAcceptDtoTests.cs | 8 +- .../Model/VisibilityDtoPagedResponseTests.cs} | 42 +- .../Model/VisibilityDtoResponseTests.cs | 20 +- .../Model/VisibilityDtoTests.cs | 8 +- ...isibilityForProjectManipulationDtoTests.cs | 8 +- ...sibilityForResourceManipulationDtoTests.cs | 8 +- .../Model/VocabularyDtoPagedResponseTests.cs} | 42 +- .../Model/VocabularyDtoTests.cs | 8 +- ...ocabularyInstanceDtoPagedResponseTests.cs} | 42 +- .../VocabularyInstanceDtoResponseTests.cs | 20 +- .../Model/VocabularyInstanceDtoTests.cs | 8 +- .../Api/AdminApi.cs | 629 +++++++----------- .../Api/ApplicationProfileApi.cs | 298 ++++----- .../Api/BlobApi.cs | 304 ++++----- .../Api/DisciplineApi.cs | 198 +++--- .../Api/LanguageApi.cs | 198 +++--- .../Api/LicenseApi.cs | 198 +++--- .../Api/MaintenanceApi.cs | 146 ++-- .../Api/OrganizationApi.cs | 206 +++--- .../Api/PidApi.cs | 170 ++--- .../Api/ProjectApi.cs | 326 ++++----- .../Api/ProjectInvitationApi.cs | 310 ++++----- .../Api/ProjectMemberApi.cs | 354 +++++----- .../Api/ProjectQuotaApi.cs | 266 ++++---- .../Api/ProjectResourceApi.cs | 354 +++++----- .../Api/ProjectResourceQuotaApi.cs | 142 ++-- .../Api/ProjectResourceTypeApi.cs | 130 ++-- .../Api/ResourceApi.cs | 118 ++-- .../Api/ResourceTypeApi.cs | 318 ++++----- .../Api/RoleApi.cs | 198 +++--- .../Api/SearchApi.cs | 174 ++--- .../Api/SelfApi.cs | 290 ++++---- .../Api/SelfApiTokenApi.cs | 270 ++++---- .../Api/TitleApi.cs | 198 +++--- .../Api/TosApi.cs | 114 ++-- .../Api/TreeApi.cs | 382 +++++------ .../Api/UserApi.cs | 126 ++-- .../Api/VisibilityApi.cs | 198 +++--- .../Api/VocabularyApi.cs | 310 ++++----- .../Client/ApiClient.cs | 14 +- .../Client/ApiException.cs | 4 +- .../Client/ApiResponse.cs | 4 +- .../Client/ClientUtils.cs | 4 +- .../Client/Configuration.cs | 12 +- .../Client/ExceptionFactory.cs | 4 +- .../Client/GlobalConfiguration.cs | 4 +- .../Client/HttpMethod.cs | 4 +- .../Client/IApiAccessor.cs | 4 +- .../Client/IAsynchronousClient.cs | 4 +- .../Client/IReadableConfiguration.cs | 4 +- .../Client/ISynchronousClient.cs | 4 +- .../Client/Multimap.cs | 4 +- .../Client/OpenAPIDateConverter.cs | 4 +- .../Client/RequestOptions.cs | 4 +- .../Client/RetryConfiguration.cs | 4 +- .../Coscine.ApiClient.csproj} | 20 +- .../Model/AbstractOpenAPISchema.cs | 4 +- .../Model/AcceptedLanguage.cs | 6 +- .../Model/ApiTokenDto.cs | 6 +- .../Model/ApiTokenDtoPagedResponse.cs} | 50 +- .../Model/ApiTokenDtoResponse.cs | 30 +- .../Model/ApiTokenForCreationDto.cs | 6 +- .../Model/ApplicationProfileDto.cs | 6 +- .../ApplicationProfileDtoPagedResponse.cs} | 50 +- .../Model/ApplicationProfileDtoResponse.cs | 30 +- .../Model/ApplicationProfileForCreationDto.cs | 6 +- ...pplicationProfileForCreationDtoResponse.cs | 30 +- ...pplicationProfileForResourceCreationDto.cs | 6 +- .../Model/ApplicationProfileMinimalDto.cs | 6 +- .../Model/DisciplineDto.cs | 6 +- .../Model/DisciplineDtoPagedResponse.cs} | 50 +- .../Model/DisciplineDtoResponse.cs | 30 +- .../DisciplineForProjectManipulationDto.cs | 6 +- .../DisciplineForResourceManipulationDto.cs | 6 +- .../Model/DisciplineForUserManipulationDto.cs | 6 +- .../Model/FileTreeDto.cs | 6 +- .../Model/FileTreeDtoPagedResponse.cs} | 50 +- .../FixedValueForResourceManipulationDto.cs | 6 +- .../Model/GitLabOptionsDto.cs | 6 +- .../Model/GitlabBranchDto.cs | 6 +- .../GitlabBranchDtoIEnumerableResponse.cs | 30 +- .../Model/GitlabProjectDto.cs | 6 +- .../GitlabProjectDtoIEnumerableResponse.cs | 30 +- .../Model/GitlabProjectDtoResponse.cs | 30 +- ...GitlabResourceTypeOptionsForCreationDto.cs | 6 +- .../GitlabResourceTypeOptionsForUpdateDto.cs | 6 +- .../Model/IdentityProviderDto.cs | 6 +- .../Model/IdentityProviders.cs | 6 +- .../Model/LanguageDto.cs | 6 +- .../Model/LanguageDtoPagedResponse.cs} | 50 +- .../Model/LanguageDtoResponse.cs | 30 +- .../Model/LanguageForUserManipulationDto.cs | 6 +- .../Model/LicenseDto.cs | 6 +- .../Model/LicenseDtoPagedResponse.cs} | 50 +- .../Model/LicenseDtoResponse.cs | 30 +- .../LicenseForResourceManipulationDto.cs | 6 +- .../Model/MaintenanceDto.cs | 6 +- .../Model/MaintenanceDtoPagedResponse.cs} | 50 +- .../Model/MetadataTreeDto.cs | 6 +- .../Model/MetadataTreeDtoPagedResponse.cs} | 50 +- .../Model/MetadataTreeDtoResponse.cs | 30 +- .../Model/MetadataTreeForCreationDto.cs | 6 +- .../Model/MetadataTreeForUpdateDto.cs | 6 +- .../Model/MetadataUpdateAdminParameters.cs | 6 +- .../Model/OrganizationDto.cs | 6 +- .../Model/OrganizationDtoPagedResponse.cs} | 50 +- .../Model/OrganizationDtoResponse.cs | 30 +- .../OrganizationForProjectManipulationDto.cs | 6 +- .../Model/Pagination.cs | 6 +- .../Model/PidRequestDto.cs | 6 +- .../Model/PidType.cs | 6 +- .../Model/PidValidationDto.cs | 6 +- .../Model/PidValidationDtoResponse.cs | 30 +- .../Model/ProjectAdminDto.cs | 27 +- .../Model/ProjectAdminDtoPagedResponse.cs} | 50 +- .../Model/ProjectDto.cs | 6 +- .../Model/ProjectDtoPagedResponse.cs} | 50 +- .../Model/ProjectDtoResponse.cs | 30 +- .../Model/ProjectForCreationDto.cs | 10 +- .../Model/ProjectForUpdateDto.cs | 10 +- .../Model/ProjectInvitationDto.cs | 6 +- .../ProjectInvitationDtoPagedResponse.cs} | 50 +- .../Model/ProjectInvitationDtoResponse.cs | 30 +- ...jectInvitationForProjectManipulationDto.cs | 6 +- .../Model/ProjectInvitationResolveDto.cs | 6 +- .../Model/ProjectMinimalDto.cs | 6 +- .../Model/ProjectQuotaDto.cs | 6 +- .../Model/ProjectQuotaDtoPagedResponse.cs} | 50 +- .../Model/ProjectQuotaDtoResponse.cs | 30 +- .../Model/ProjectQuotaForUpdateDto.cs | 6 +- .../Model/ProjectResourceMinimalDto.cs | 6 +- .../Model/ProjectRoleDto.cs | 6 +- .../Model/ProjectRoleDtoPagedResponse.cs} | 50 +- .../Model/ProjectRoleDtoResponse.cs | 30 +- .../Model/ProjectRoleForProjectCreationDto.cs | 6 +- .../ProjectRoleForProjectManipulationDto.cs | 6 +- .../Model/ProjectRoleMinimalDto.cs | 6 +- .../Model/PublicUserDto.cs | 6 +- .../Model/PublicUserDtoIEnumerableResponse.cs | 30 +- .../Model/QuotaDto.cs | 6 +- .../Model/QuotaForManipulationDto.cs | 6 +- .../Model/QuotaUnit.cs | 6 +- .../Model/RdfDefinitionDto.cs | 6 +- .../Model/RdfDefinitionDtoResponse.cs | 30 +- .../Model/RdfDefinitionForManipulationDto.cs | 6 +- .../Model/RdfFormat.cs | 6 +- .../Model/RdsOptionsDto.cs | 6 +- ...dsResourceTypeOptionsForManipulationDto.cs | 6 +- .../Model/RdsS3OptionsDto.cs | 6 +- ...S3ResourceTypeOptionsForManipulationDto.cs | 6 +- .../Model/RdsS3WormOptionsDto.cs | 6 +- ...rmResourceTypeOptionsForManipulationDto.cs | 6 +- .../Model/ResourceAdminDto.cs | 6 +- .../Model/ResourceAdminDtoPagedResponse.cs} | 50 +- .../Model/ResourceContentPageColumnsDto.cs | 6 +- .../Model/ResourceContentPageDto.cs | 6 +- .../ResourceContentPageEntriesViewDto.cs | 6 +- .../ResourceContentPageMetadataViewDto.cs | 6 +- .../Model/ResourceCreationPageDto.cs | 6 +- .../Model/ResourceDto.cs | 6 +- .../Model/ResourceDtoPagedResponse.cs} | 50 +- .../Model/ResourceDtoResponse.cs | 30 +- .../Model/ResourceForCreationDto.cs | 6 +- .../Model/ResourceForUpdateDto.cs | 6 +- .../Model/ResourceMinimalDto.cs | 6 +- .../Model/ResourceQuotaDto.cs | 6 +- .../Model/ResourceQuotaDtoResponse.cs | 30 +- .../Model/ResourceTypeDto.cs | 6 +- .../Model/ResourceTypeInformationDto.cs | 6 +- ...ceTypeInformationDtoIEnumerableResponse.cs | 30 +- .../ResourceTypeInformationDtoResponse.cs | 30 +- .../Model/ResourceTypeMinimalDto.cs | 6 +- .../Model/ResourceTypeOptionsDto.cs | 6 +- .../ResourceTypeOptionsForCreationDto.cs | 6 +- .../Model/ResourceTypeOptionsForUpdateDto.cs | 6 +- .../Model/ResourceTypeStatus.cs | 6 +- .../Model/RoleDto.cs | 6 +- .../Model/RoleDtoPagedResponse.cs} | 50 +- .../Model/RoleDtoResponse.cs | 30 +- .../Model/RoleMinimalDto.cs | 6 +- src/Coscine.ApiClient/Model/SearchCategory.cs | 143 ++++ .../Model/SearchCategoryType.cs | 6 +- .../Model/SearchResultDto.cs | 6 +- .../SearchResultDtoPagedSearchResponse.cs} | 69 +- .../Model/TermsOfServiceDto.cs | 6 +- .../Model/TermsOfServiceDtoResponse.cs | 30 +- .../Model/TitleDto.cs | 6 +- .../Model/TitleDtoPagedResponse.cs} | 50 +- .../Model/TitleDtoResponse.cs | 30 +- .../Model/TitleForUserManipulationDto.cs | 6 +- .../Model/TreeDataType.cs | 6 +- .../Model/UserDto.cs | 6 +- .../Model/UserDtoPagedResponse.cs} | 50 +- .../Model/UserDtoResponse.cs | 30 +- .../Model/UserEmailDto.cs | 6 +- .../Model/UserForUpdateDto.cs | 6 +- .../Model/UserInstituteDto.cs | 6 +- .../Model/UserMergeDto.cs | 6 +- .../Model/UserMergeDtoResponse.cs | 30 +- .../Model/UserMinimalDto.cs | 6 +- .../Model/UserOrganizationDto.cs | 6 +- .../Model/UserTermsOfServiceAcceptDto.cs | 6 +- .../Model/VisibilityDto.cs | 6 +- .../Model/VisibilityDtoPagedResponse.cs} | 50 +- .../Model/VisibilityDtoResponse.cs | 30 +- .../VisibilityForProjectManipulationDto.cs | 6 +- .../VisibilityForResourceManipulationDto.cs | 6 +- .../Model/VocabularyDto.cs | 6 +- .../Model/VocabularyDtoPagedResponse.cs} | 50 +- .../Model/VocabularyInstanceDto.cs | 6 +- .../VocabularyInstanceDtoPagedResponse.cs} | 50 +- .../Model/VocabularyInstanceDtoResponse.cs | 30 +- .../MetadataPatchAdminParametersTests.cs | 85 --- .../Model/MetadataPatchAdminParameters.cs | 185 ------ 394 files changed, 6408 insertions(+), 6571 deletions(-) create mode 100644 generate-api-client.bat rename src/ApiClient/{ApiClient.csproj => Coscine.ApiClient.Core.csproj} (88%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/AdminApiTests.cs (82%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/ApplicationProfileApiTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/BlobApiTests.cs (96%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/DisciplineApiTests.cs (91%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/LanguageApiTests.cs (91%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/LicenseApiTests.cs (91%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/MaintenanceApiTests.cs (89%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/OrganizationApiTests.cs (91%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/PidApiTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/ProjectApiTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/ProjectInvitationApiTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/ProjectMemberApiTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/ProjectQuotaApiTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/ProjectResourceApiTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/ProjectResourceQuotaApiTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/ProjectResourceTypeApiTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/ResourceApiTests.cs (92%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/ResourceTypeApiTests.cs (96%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/RoleApiTests.cs (91%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/SearchApiTests.cs (90%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/SelfApiTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/SelfApiTokenApiTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/TitleApiTests.cs (91%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/TosApiTests.cs (92%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/TreeApiTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/UserApiTests.cs (92%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/VisibilityApiTests.cs (91%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Api/VocabularyApiTests.cs (91%) rename src/{Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj => Coscine.ApiClient.Test/Coscine.ApiClient.Test.csproj} (65%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/AcceptedLanguageTests.cs (91%) rename src/{Org.OpenAPITools.Test/Model/ApiTokenDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/ApiTokenDtoPagedResponseTests.cs} (74%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ApiTokenDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ApiTokenDtoTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ApiTokenForCreationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test/Model/ApplicationProfileDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/ApplicationProfileDtoPagedResponseTests.cs} (71%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ApplicationProfileDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ApplicationProfileDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ApplicationProfileForCreationDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ApplicationProfileForCreationDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ApplicationProfileForResourceCreationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ApplicationProfileMinimalDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test/Model/DisciplineDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/DisciplineDtoPagedResponseTests.cs} (73%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/DisciplineDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/DisciplineDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/DisciplineForProjectManipulationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/DisciplineForResourceManipulationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/DisciplineForUserManipulationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test/Model/FileTreeDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/FileTreeDtoPagedResponseTests.cs} (74%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/FileTreeDtoTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/FixedValueForResourceManipulationDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/GitLabOptionsDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/GitlabBranchDtoIEnumerableResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/GitlabBranchDtoTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/GitlabProjectDtoIEnumerableResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/GitlabProjectDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/GitlabProjectDtoTests.cs (96%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/GitlabResourceTypeOptionsForCreationDtoTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/GitlabResourceTypeOptionsForUpdateDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/IdentityProviderDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/IdentityProvidersTests.cs (91%) rename src/{Org.OpenAPITools.Test/Model/LanguageDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/LanguageDtoPagedResponseTests.cs} (74%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/LanguageDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/LanguageDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/LanguageForUserManipulationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test/Model/LicenseDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/LicenseDtoPagedResponseTests.cs} (72%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/LicenseDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/LicenseDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/LicenseForResourceManipulationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test/Model/MaintenanceDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/MaintenanceDtoPagedResponseTests.cs} (73%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/MaintenanceDtoTests.cs (95%) rename src/{Org.OpenAPITools.Test/Model/MetadataTreeDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/MetadataTreeDtoPagedResponseTests.cs} (73%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/MetadataTreeDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/MetadataTreeDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/MetadataTreeForCreationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/MetadataTreeForUpdateDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/MetadataUpdateAdminParametersTests.cs (93%) rename src/{Org.OpenAPITools.Test/Model/OrganizationDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/OrganizationDtoPagedResponseTests.cs} (73%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/OrganizationDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/OrganizationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/OrganizationForProjectManipulationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/PaginationTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/PidRequestDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/PidTypeTests.cs (91%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/PidValidationDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/PidValidationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test/Model/ProjectAdminDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/ProjectAdminDtoPagedResponseTests.cs} (73%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectAdminDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test/Model/ProjectDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/ProjectDtoPagedResponseTests.cs} (72%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectDtoTests.cs (97%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectForCreationDtoTests.cs (96%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectForUpdateDtoTests.cs (96%) rename src/{Org.OpenAPITools.Test/Model/ProjectInvitationDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/ProjectInvitationDtoPagedResponseTests.cs} (72%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectInvitationDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectInvitationDtoTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectInvitationForProjectManipulationDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectInvitationResolveDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectMinimalDtoTests.cs (92%) rename src/{Org.OpenAPITools.Test/Model/ProjectQuotaDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/ProjectQuotaDtoPagedResponseTests.cs} (73%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectQuotaDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectQuotaDtoTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectQuotaForUpdateDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectResourceMinimalDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test/Model/ProjectRoleDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/ProjectRoleDtoPagedResponseTests.cs} (73%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectRoleDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectRoleDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectRoleForProjectCreationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectRoleForProjectManipulationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ProjectRoleMinimalDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/PublicUserDtoIEnumerableResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/PublicUserDtoTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/QuotaDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/QuotaForManipulationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/QuotaUnitTests.cs (91%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/RdfDefinitionDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/RdfDefinitionDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/RdfDefinitionForManipulationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/RdfFormatTests.cs (91%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/RdsOptionsDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/RdsResourceTypeOptionsForManipulationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/RdsS3OptionsDtoTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/RdsS3ResourceTypeOptionsForManipulationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/RdsS3WormOptionsDtoTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/RdsS3WormResourceTypeOptionsForManipulationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test/Model/ResourceAdminDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/ResourceAdminDtoPagedResponseTests.cs} (73%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceAdminDtoTests.cs (97%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceContentPageColumnsDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceContentPageDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceContentPageEntriesViewDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceContentPageMetadataViewDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceCreationPageDtoTests.cs (92%) rename src/{Org.OpenAPITools.Test/Model/ResourceDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/ResourceDtoPagedResponseTests.cs} (74%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceDtoTests.cs (97%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceForCreationDtoTests.cs (96%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceForUpdateDtoTests.cs (96%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceMinimalDtoTests.cs (92%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceQuotaDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceQuotaDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceTypeDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceTypeInformationDtoIEnumerableResponseTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceTypeInformationDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceTypeInformationDtoTests.cs (97%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceTypeMinimalDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceTypeOptionsDtoTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceTypeOptionsForCreationDtoTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceTypeOptionsForUpdateDtoTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/ResourceTypeStatusTests.cs (91%) rename src/{Org.OpenAPITools.Test/Model/RoleDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/RoleDtoPagedResponseTests.cs} (73%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/RoleDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/RoleDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/RoleMinimalDtoTests.cs (92%) create mode 100644 src/Coscine.ApiClient.Test/Model/SearchCategoryTests.cs rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/SearchCategoryTypeTests.cs (91%) rename src/{Org.OpenAPITools.Test/Model/SearchResultDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/SearchResultDtoPagedSearchResponseTests.cs} (69%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/SearchResultDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/TermsOfServiceDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/TermsOfServiceDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test/Model/TitleDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/TitleDtoPagedResponseTests.cs} (73%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/TitleDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/TitleDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/TitleForUserManipulationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/TreeDataTypeTests.cs (91%) rename src/{Org.OpenAPITools.Test/Model/UserDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/UserDtoPagedResponseTests.cs} (73%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/UserDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/UserDtoTests.cs (96%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/UserEmailDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/UserForUpdateDtoTests.cs (95%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/UserInstituteDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/UserMergeDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/UserMergeDtoTests.cs (92%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/UserMinimalDtoTests.cs (92%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/UserOrganizationDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/UserTermsOfServiceAcceptDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test/Model/VisibilityDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/VisibilityDtoPagedResponseTests.cs} (73%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/VisibilityDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/VisibilityDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/VisibilityForProjectManipulationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/VisibilityForResourceManipulationDtoTests.cs (93%) rename src/{Org.OpenAPITools.Test/Model/VocabularyDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/VocabularyDtoPagedResponseTests.cs} (73%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/VocabularyDtoTests.cs (94%) rename src/{Org.OpenAPITools.Test/Model/VocabularyInstanceDtoIEnumerablePagedResponseTests.cs => Coscine.ApiClient.Test/Model/VocabularyInstanceDtoPagedResponseTests.cs} (71%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/VocabularyInstanceDtoResponseTests.cs (94%) rename src/{Org.OpenAPITools.Test => Coscine.ApiClient.Test}/Model/VocabularyInstanceDtoTests.cs (95%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/AdminApi.cs (56%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/ApplicationProfileApi.cs (69%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/BlobApi.cs (73%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/DisciplineApi.cs (67%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/LanguageApi.cs (66%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/LicenseApi.cs (67%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/MaintenanceApi.cs (66%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/OrganizationApi.cs (66%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/PidApi.cs (74%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/ProjectApi.cs (70%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/ProjectInvitationApi.cs (70%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/ProjectMemberApi.cs (72%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/ProjectQuotaApi.cs (70%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/ProjectResourceApi.cs (71%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/ProjectResourceQuotaApi.cs (73%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/ProjectResourceTypeApi.cs (73%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/ResourceApi.cs (74%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/ResourceTypeApi.cs (72%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/RoleApi.cs (66%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/SearchApi.cs (62%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/SelfApi.cs (75%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/SelfApiTokenApi.cs (70%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/TitleApi.cs (66%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/TosApi.cs (73%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/TreeApi.cs (66%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/UserApi.cs (72%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/VisibilityApi.cs (67%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Api/VocabularyApi.cs (62%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/ApiClient.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/ApiException.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/ApiResponse.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/ClientUtils.cs (99%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/Configuration.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/ExceptionFactory.cs (90%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/GlobalConfiguration.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/HttpMethod.cs (92%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/IApiAccessor.cs (93%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/IAsynchronousClient.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/IReadableConfiguration.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/ISynchronousClient.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/Multimap.cs (99%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/OpenAPIDateConverter.cs (92%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/RequestOptions.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Client/RetryConfiguration.cs (92%) rename src/{Org.OpenAPITools/Org.OpenAPITools.csproj => Coscine.ApiClient/Coscine.ApiClient.csproj} (63%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/AbstractOpenAPISchema.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/AcceptedLanguage.cs (88%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ApiTokenDto.cs (98%) rename src/{Org.OpenAPITools/Model/ApiTokenDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/ApiTokenDtoPagedResponse.cs} (86%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ApiTokenDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ApiTokenForCreationDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ApplicationProfileDto.cs (97%) rename src/{Org.OpenAPITools/Model/ApplicationProfileDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/ApplicationProfileDtoPagedResponse.cs} (85%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ApplicationProfileDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ApplicationProfileForCreationDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ApplicationProfileForCreationDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ApplicationProfileForResourceCreationDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ApplicationProfileMinimalDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/DisciplineDto.cs (97%) rename src/{Org.OpenAPITools/Model/DisciplineDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/DisciplineDtoPagedResponse.cs} (85%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/DisciplineDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/DisciplineForProjectManipulationDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/DisciplineForResourceManipulationDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/DisciplineForUserManipulationDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/FileTreeDto.cs (98%) rename src/{Org.OpenAPITools/Model/FileTreeDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/FileTreeDtoPagedResponse.cs} (86%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/FixedValueForResourceManipulationDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/GitLabOptionsDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/GitlabBranchDto.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/GitlabBranchDtoIEnumerableResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/GitlabProjectDto.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/GitlabProjectDtoIEnumerableResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/GitlabProjectDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/GitlabResourceTypeOptionsForCreationDto.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/GitlabResourceTypeOptionsForUpdateDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/IdentityProviderDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/IdentityProviders.cs (88%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/LanguageDto.cs (97%) rename src/{Org.OpenAPITools/Model/LanguageDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/LanguageDtoPagedResponse.cs} (86%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/LanguageDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/LanguageForUserManipulationDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/LicenseDto.cs (96%) rename src/{Org.OpenAPITools/Model/LicenseDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/LicenseDtoPagedResponse.cs} (86%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/LicenseDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/LicenseForResourceManipulationDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/MaintenanceDto.cs (98%) rename src/{Org.OpenAPITools/Model/MaintenanceDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/MaintenanceDtoPagedResponse.cs} (85%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/MetadataTreeDto.cs (97%) rename src/{Org.OpenAPITools/Model/MetadataTreeDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/MetadataTreeDtoPagedResponse.cs} (85%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/MetadataTreeDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/MetadataTreeForCreationDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/MetadataTreeForUpdateDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/MetadataUpdateAdminParameters.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/OrganizationDto.cs (97%) rename src/{Org.OpenAPITools/Model/OrganizationDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/OrganizationDtoPagedResponse.cs} (85%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/OrganizationDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/OrganizationForProjectManipulationDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/Pagination.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/PidRequestDto.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/PidType.cs (88%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/PidValidationDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/PidValidationDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectAdminDto.cs (94%) rename src/{Org.OpenAPITools/Model/ProjectAdminDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/ProjectAdminDtoPagedResponse.cs} (85%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectDto.cs (99%) rename src/{Org.OpenAPITools/Model/ProjectDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/ProjectDtoPagedResponse.cs} (86%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectForCreationDto.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectForUpdateDto.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectInvitationDto.cs (98%) rename src/{Org.OpenAPITools/Model/ProjectInvitationDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/ProjectInvitationDtoPagedResponse.cs} (85%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectInvitationDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectInvitationForProjectManipulationDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectInvitationResolveDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectMinimalDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectQuotaDto.cs (98%) rename src/{Org.OpenAPITools/Model/ProjectQuotaDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/ProjectQuotaDtoPagedResponse.cs} (85%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectQuotaDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectQuotaForUpdateDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectResourceMinimalDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectRoleDto.cs (97%) rename src/{Org.OpenAPITools/Model/ProjectRoleDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/ProjectRoleDtoPagedResponse.cs} (85%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectRoleDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectRoleForProjectCreationDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectRoleForProjectManipulationDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ProjectRoleMinimalDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/PublicUserDto.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/PublicUserDtoIEnumerableResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/QuotaDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/QuotaForManipulationDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/QuotaUnit.cs (93%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/RdfDefinitionDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/RdfDefinitionDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/RdfDefinitionForManipulationDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/RdfFormat.cs (89%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/RdsOptionsDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/RdsResourceTypeOptionsForManipulationDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/RdsS3OptionsDto.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/RdsS3ResourceTypeOptionsForManipulationDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/RdsS3WormOptionsDto.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/RdsS3WormResourceTypeOptionsForManipulationDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceAdminDto.cs (99%) rename src/{Org.OpenAPITools/Model/ResourceAdminDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/ResourceAdminDtoPagedResponse.cs} (85%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceContentPageColumnsDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceContentPageDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceContentPageEntriesViewDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceContentPageMetadataViewDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceCreationPageDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceDto.cs (99%) rename src/{Org.OpenAPITools/Model/ResourceDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/ResourceDtoPagedResponse.cs} (86%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceForCreationDto.cs (99%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceForUpdateDto.cs (99%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceMinimalDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceQuotaDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceQuotaDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceTypeDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceTypeInformationDto.cs (99%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceTypeInformationDtoIEnumerableResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceTypeInformationDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceTypeMinimalDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceTypeOptionsDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceTypeOptionsForCreationDto.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceTypeOptionsForUpdateDto.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/ResourceTypeStatus.cs (88%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/RoleDto.cs (97%) rename src/{Org.OpenAPITools/Model/RoleDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/RoleDtoPagedResponse.cs} (86%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/RoleDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/RoleMinimalDto.cs (96%) create mode 100644 src/Coscine.ApiClient/Model/SearchCategory.cs rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/SearchCategoryType.cs (92%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/SearchResultDto.cs (97%) rename src/{Org.OpenAPITools/Model/SearchResultDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/SearchResultDtoPagedSearchResponse.cs} (77%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/TermsOfServiceDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/TermsOfServiceDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/TitleDto.cs (96%) rename src/{Org.OpenAPITools/Model/TitleDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/TitleDtoPagedResponse.cs} (86%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/TitleDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/TitleForUserManipulationDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/TreeDataType.cs (88%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/UserDto.cs (98%) rename src/{Org.OpenAPITools/Model/UserDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/UserDtoPagedResponse.cs} (86%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/UserDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/UserEmailDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/UserForUpdateDto.cs (98%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/UserInstituteDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/UserMergeDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/UserMergeDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/UserMinimalDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/UserOrganizationDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/UserTermsOfServiceAcceptDto.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/VisibilityDto.cs (96%) rename src/{Org.OpenAPITools/Model/VisibilityDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/VisibilityDtoPagedResponse.cs} (85%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/VisibilityDtoResponse.cs (97%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/VisibilityForProjectManipulationDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/VisibilityForResourceManipulationDto.cs (96%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/VocabularyDto.cs (97%) rename src/{Org.OpenAPITools/Model/VocabularyDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/VocabularyDtoPagedResponse.cs} (85%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/VocabularyInstanceDto.cs (98%) rename src/{Org.OpenAPITools/Model/VocabularyInstanceDtoIEnumerablePagedResponse.cs => Coscine.ApiClient/Model/VocabularyInstanceDtoPagedResponse.cs} (85%) rename src/{Org.OpenAPITools => Coscine.ApiClient}/Model/VocabularyInstanceDtoResponse.cs (97%) delete mode 100644 src/Org.OpenAPITools.Test/Model/MetadataPatchAdminParametersTests.cs delete mode 100644 src/Org.OpenAPITools/Model/MetadataPatchAdminParameters.cs diff --git a/.gitignore b/.gitignore index 919fbcc..1e37c67 100644 --- a/.gitignore +++ b/.gitignore @@ -271,3 +271,4 @@ dist/ # Dotnet Tool Manifest .config/* +/openapi-generator-cli.jar diff --git a/generate-api-client.bat b/generate-api-client.bat new file mode 100644 index 0000000..c4ab3e9 --- /dev/null +++ b/generate-api-client.bat @@ -0,0 +1,14 @@ +@echo off +SET GENERATOR_JAR=openapi-generator-cli.jar +SET API_SPEC_URL=C:\Users\hp-admin\repos\backend\apis\coscine\src\Coscine.Api\open-api-internal.yml +SET OUTPUT_DIR=temp +SET ARTIFACT_ID=Coscine.ApiClient +SET PACKAGE_NAME=Coscine.ApiClient + +:: Download the OpenAPI generator JAR file +powershell -Command "Invoke-WebRequest -OutFile %GENERATOR_JAR% https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.0.1/openapi-generator-cli-7.0.1.jar" + +:: Run the OpenAPI generator +java -jar %GENERATOR_JAR% generate -i %API_SPEC_URL% -g csharp -o %OUTPUT_DIR% --artifact-id %ARTIFACT_ID% --package-name %PACKAGE_NAME% --skip-validate-spec --additional-properties=packageAuthors="RWTH Aachen University",packageCompany="IT Center - RWTH Aachen University",packageCopyright="2024 IT Center - RWTH Aachen University",packageTitle=null,packageDescription="ApiClient is a part of the Coscine group.",packageLicenseExpression="MIT",packageRepositoryUrl="https://git.rwth-aachen.de/coscine/backend/libraries/apiclient",packageRequireLicenseAcceptance="true",packageNullable=,packageReleaseNotes= + +echo API client generation complete. diff --git a/src/ApiClient.sln b/src/ApiClient.sln index 6189aaf..bce99a8 100644 --- a/src/ApiClient.sln +++ b/src/ApiClient.sln @@ -3,11 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.7.34202.233 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ApiClient", "ApiClient\ApiClient.csproj", "{07EF598E-621E-49EA-B0B4-AA65FB069D9B}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Coscine.ApiClient.Core", "ApiClient\Coscine.ApiClient.Core.csproj", "{07EF598E-621E-49EA-B0B4-AA65FB069D9B}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Org.OpenAPITools", "Org.OpenAPITools\Org.OpenAPITools.csproj", "{E64643DA-D9CA-4C36-8B0D-012023C5BAA6}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Coscine.ApiClient", "Coscine.ApiClient\Coscine.ApiClient.csproj", "{1012BD9C-988E-40D0-B81B-F8149E19986A}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Org.OpenAPITools.Test", "Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj", "{F17B8ADB-BF2D-4C53-ABD5-A435767A02F5}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Coscine.ApiClient.Test", "Coscine.ApiClient.Test\Coscine.ApiClient.Test.csproj", "{042ECC44-19E0-48D3-984A-9A47BB511C51}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -19,14 +19,14 @@ Global {07EF598E-621E-49EA-B0B4-AA65FB069D9B}.Debug|Any CPU.Build.0 = Debug|Any CPU {07EF598E-621E-49EA-B0B4-AA65FB069D9B}.Release|Any CPU.ActiveCfg = Release|Any CPU {07EF598E-621E-49EA-B0B4-AA65FB069D9B}.Release|Any CPU.Build.0 = Release|Any CPU - {E64643DA-D9CA-4C36-8B0D-012023C5BAA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E64643DA-D9CA-4C36-8B0D-012023C5BAA6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E64643DA-D9CA-4C36-8B0D-012023C5BAA6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E64643DA-D9CA-4C36-8B0D-012023C5BAA6}.Release|Any CPU.Build.0 = Release|Any CPU - {F17B8ADB-BF2D-4C53-ABD5-A435767A02F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F17B8ADB-BF2D-4C53-ABD5-A435767A02F5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F17B8ADB-BF2D-4C53-ABD5-A435767A02F5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F17B8ADB-BF2D-4C53-ABD5-A435767A02F5}.Release|Any CPU.Build.0 = Release|Any CPU + {1012BD9C-988E-40D0-B81B-F8149E19986A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1012BD9C-988E-40D0-B81B-F8149E19986A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1012BD9C-988E-40D0-B81B-F8149E19986A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1012BD9C-988E-40D0-B81B-F8149E19986A}.Release|Any CPU.Build.0 = Release|Any CPU + {042ECC44-19E0-48D3-984A-9A47BB511C51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {042ECC44-19E0-48D3-984A-9A47BB511C51}.Debug|Any CPU.Build.0 = Debug|Any CPU + {042ECC44-19E0-48D3-984A-9A47BB511C51}.Release|Any CPU.ActiveCfg = Release|Any CPU + {042ECC44-19E0-48D3-984A-9A47BB511C51}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/ApiClient/ApiClient.csproj b/src/ApiClient/Coscine.ApiClient.Core.csproj similarity index 88% rename from src/ApiClient/ApiClient.csproj rename to src/ApiClient/Coscine.ApiClient.Core.csproj index 116eada..6dffea9 100644 --- a/src/ApiClient/ApiClient.csproj +++ b/src/ApiClient/Coscine.ApiClient.Core.csproj @@ -1,8 +1,8 @@ <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Library</OutputType> - <RootNamespace>Coscine.ApiClient</RootNamespace> - <AssemblyName>Coscine.ApiClient</AssemblyName> + <RootNamespace>Coscine.ApiClient.Core</RootNamespace> + <AssemblyName>Coscine.ApiClient.Core</AssemblyName> <TargetFramework>net7.0</TargetFramework> <Version>1.1.0</Version> </PropertyGroup> @@ -27,6 +27,6 @@ <PackageReference Include="Winton.Extensions.Configuration.Consul" Version="3.3.0" /> </ItemGroup> <ItemGroup> - <ProjectReference Include="..\Org.OpenAPITools\Org.OpenAPITools.csproj" /> + <ProjectReference Include="..\Coscine.ApiClient\Coscine.ApiClient.csproj" /> </ItemGroup> </Project> \ No newline at end of file diff --git a/src/ApiClient/JwtConfiguration.cs b/src/ApiClient/JwtConfiguration.cs index bffcaa9..1ac0484 100644 --- a/src/ApiClient/JwtConfiguration.cs +++ b/src/ApiClient/JwtConfiguration.cs @@ -1,7 +1,7 @@ using Microsoft.IdentityModel.Tokens; using System.Collections.Generic; -namespace Coscine.ApiClient; +namespace Coscine.ApiClient.Core; public class JwtConfiguration { diff --git a/src/ApiClient/JwtUtil.cs b/src/ApiClient/JwtUtil.cs index 39072e1..1bd1bca 100644 --- a/src/ApiClient/JwtUtil.cs +++ b/src/ApiClient/JwtUtil.cs @@ -7,7 +7,7 @@ using System.Linq; using System.Security.Claims; using Winton.Extensions.Configuration.Consul; -namespace Coscine.ApiClient +namespace Coscine.ApiClient.Core { public class JwtUtil { diff --git a/src/ApiClient/RequestUtil.cs b/src/ApiClient/RequestUtil.cs index 3801ea2..a7c5cb4 100644 --- a/src/ApiClient/RequestUtil.cs +++ b/src/ApiClient/RequestUtil.cs @@ -1,10 +1,10 @@ -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Model; using System; using System.Collections.Generic; using System.Reflection; using System.Threading.Tasks; -namespace Coscine.ApiClient +namespace Coscine.ApiClient.Core { public class RequestUtil { @@ -44,7 +44,7 @@ namespace Coscine.ApiClient } var pagination = paginationProperty.GetValue(iteration); - hasNext = (pagination != null) && ((Pagination)pagination).HasNext; + hasNext = pagination != null && ((Pagination)pagination).HasNext; } else { diff --git a/src/Org.OpenAPITools.Test/Api/AdminApiTests.cs b/src/Coscine.ApiClient.Test/Api/AdminApiTests.cs similarity index 82% rename from src/Org.OpenAPITools.Test/Api/AdminApiTests.cs rename to src/Coscine.ApiClient.Test/Api/AdminApiTests.cs index 9bf4560..99265d5 100644 --- a/src/Org.OpenAPITools.Test/Api/AdminApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/AdminApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing AdminApi @@ -74,11 +74,12 @@ namespace Org.OpenAPITools.Test.Api // TODO uncomment below to test the method and replace null with proper value //bool? topLevel = null; //bool? includeDeleted = null; + //bool? includeQuotas = null; //int? pageNumber = null; //int? pageSize = null; //string? orderBy = null; - //var response = instance.GetAllProjects(topLevel, includeDeleted, pageNumber, pageSize, orderBy); - //Assert.IsType<ProjectAdminDtoIEnumerablePagedResponse>(response); + //var response = instance.GetAllProjects(topLevel, includeDeleted, includeQuotas, pageNumber, pageSize, orderBy); + //Assert.IsType<ProjectAdminDtoPagedResponse>(response); } /// <summary> @@ -93,7 +94,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetAllResources(includeDeleted, pageNumber, pageSize, orderBy); - //Assert.IsType<ResourceAdminDtoIEnumerablePagedResponse>(response); + //Assert.IsType<ResourceAdminDtoPagedResponse>(response); } /// <summary> @@ -108,7 +109,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageNumber = null; //int? pageSize = null; //var response = instance.GetAllUsers(orderBy, tosAccepted, pageNumber, pageSize); - //Assert.IsType<UserDtoIEnumerablePagedResponse>(response); + //Assert.IsType<UserDtoPagedResponse>(response); } /// <summary> @@ -124,17 +125,6 @@ namespace Org.OpenAPITools.Test.Api //Assert.IsType<RdfDefinitionDtoResponse>(response); } - /// <summary> - /// Test PatchMetadataGraph - /// </summary> - [Fact] - public void PatchMetadataGraphTest() - { - // TODO uncomment below to test the method and replace null with proper value - //MetadataPatchAdminParameters? metadataPatchAdminParameters = null; - //instance.PatchMetadataGraph(metadataPatchAdminParameters); - } - /// <summary> /// Test UpdateMetadataGraph /// </summary> diff --git a/src/Org.OpenAPITools.Test/Api/ApplicationProfileApiTests.cs b/src/Coscine.ApiClient.Test/Api/ApplicationProfileApiTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Api/ApplicationProfileApiTests.cs rename to src/Coscine.ApiClient.Test/Api/ApplicationProfileApiTests.cs index 4668bfd..bf81a13 100644 --- a/src/Org.OpenAPITools.Test/Api/ApplicationProfileApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/ApplicationProfileApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing ApplicationProfileApi @@ -104,7 +104,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetApplicationProfiles(searchTerm, language, pageNumber, pageSize, orderBy); - //Assert.IsType<ApplicationProfileDtoIEnumerablePagedResponse>(response); + //Assert.IsType<ApplicationProfileDtoPagedResponse>(response); } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Api/BlobApiTests.cs b/src/Coscine.ApiClient.Test/Api/BlobApiTests.cs similarity index 96% rename from src/Org.OpenAPITools.Test/Api/BlobApiTests.cs rename to src/Coscine.ApiClient.Test/Api/BlobApiTests.cs index d43763d..300749d 100644 --- a/src/Org.OpenAPITools.Test/Api/BlobApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/BlobApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,10 +17,10 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing BlobApi diff --git a/src/Org.OpenAPITools.Test/Api/DisciplineApiTests.cs b/src/Coscine.ApiClient.Test/Api/DisciplineApiTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Api/DisciplineApiTests.cs rename to src/Coscine.ApiClient.Test/Api/DisciplineApiTests.cs index 26437cf..8c4f8bb 100644 --- a/src/Org.OpenAPITools.Test/Api/DisciplineApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/DisciplineApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing DisciplineApi @@ -88,7 +88,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetDisciplines(pageNumber, pageSize, orderBy); - //Assert.IsType<DisciplineDtoIEnumerablePagedResponse>(response); + //Assert.IsType<DisciplineDtoPagedResponse>(response); } } } diff --git a/src/Org.OpenAPITools.Test/Api/LanguageApiTests.cs b/src/Coscine.ApiClient.Test/Api/LanguageApiTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Api/LanguageApiTests.cs rename to src/Coscine.ApiClient.Test/Api/LanguageApiTests.cs index ece9a6e..1fe3367 100644 --- a/src/Org.OpenAPITools.Test/Api/LanguageApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/LanguageApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing LanguageApi @@ -88,7 +88,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetLanguages(pageNumber, pageSize, orderBy); - //Assert.IsType<LanguageDtoIEnumerablePagedResponse>(response); + //Assert.IsType<LanguageDtoPagedResponse>(response); } } } diff --git a/src/Org.OpenAPITools.Test/Api/LicenseApiTests.cs b/src/Coscine.ApiClient.Test/Api/LicenseApiTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Api/LicenseApiTests.cs rename to src/Coscine.ApiClient.Test/Api/LicenseApiTests.cs index d9e439d..d775897 100644 --- a/src/Org.OpenAPITools.Test/Api/LicenseApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/LicenseApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing LicenseApi @@ -88,7 +88,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetLicenses(pageNumber, pageSize, orderBy); - //Assert.IsType<LicenseDtoIEnumerablePagedResponse>(response); + //Assert.IsType<LicenseDtoPagedResponse>(response); } } } diff --git a/src/Org.OpenAPITools.Test/Api/MaintenanceApiTests.cs b/src/Coscine.ApiClient.Test/Api/MaintenanceApiTests.cs similarity index 89% rename from src/Org.OpenAPITools.Test/Api/MaintenanceApiTests.cs rename to src/Coscine.ApiClient.Test/Api/MaintenanceApiTests.cs index fd9b904..6be34d5 100644 --- a/src/Org.OpenAPITools.Test/Api/MaintenanceApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/MaintenanceApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing MaintenanceApi @@ -73,7 +73,7 @@ namespace Org.OpenAPITools.Test.Api { // TODO uncomment below to test the method and replace null with proper value //var response = instance.GetCurrentMaintenances(); - //Assert.IsType<MaintenanceDtoIEnumerablePagedResponse>(response); + //Assert.IsType<MaintenanceDtoPagedResponse>(response); } } } diff --git a/src/Org.OpenAPITools.Test/Api/OrganizationApiTests.cs b/src/Coscine.ApiClient.Test/Api/OrganizationApiTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Api/OrganizationApiTests.cs rename to src/Coscine.ApiClient.Test/Api/OrganizationApiTests.cs index 58bc82c..f42271d 100644 --- a/src/Org.OpenAPITools.Test/Api/OrganizationApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/OrganizationApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing OrganizationApi @@ -89,7 +89,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetOrganizations(searchTerm, pageNumber, pageSize, orderBy); - //Assert.IsType<OrganizationDtoIEnumerablePagedResponse>(response); + //Assert.IsType<OrganizationDtoPagedResponse>(response); } } } diff --git a/src/Org.OpenAPITools.Test/Api/PidApiTests.cs b/src/Coscine.ApiClient.Test/Api/PidApiTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Api/PidApiTests.cs rename to src/Coscine.ApiClient.Test/Api/PidApiTests.cs index 0463ea9..8a18d4c 100644 --- a/src/Org.OpenAPITools.Test/Api/PidApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/PidApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing PidApi diff --git a/src/Org.OpenAPITools.Test/Api/ProjectApiTests.cs b/src/Coscine.ApiClient.Test/Api/ProjectApiTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Api/ProjectApiTests.cs rename to src/Coscine.ApiClient.Test/Api/ProjectApiTests.cs index 29d3f5a..99fa885 100644 --- a/src/Org.OpenAPITools.Test/Api/ProjectApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/ProjectApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing ProjectApi @@ -113,7 +113,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetProjects(topLevel, pageNumber, pageSize, orderBy); - //Assert.IsType<ProjectDtoIEnumerablePagedResponse>(response); + //Assert.IsType<ProjectDtoPagedResponse>(response); } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Api/ProjectInvitationApiTests.cs b/src/Coscine.ApiClient.Test/Api/ProjectInvitationApiTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Api/ProjectInvitationApiTests.cs rename to src/Coscine.ApiClient.Test/Api/ProjectInvitationApiTests.cs index 49bfa30..9642ca0 100644 --- a/src/Org.OpenAPITools.Test/Api/ProjectInvitationApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/ProjectInvitationApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing ProjectInvitationApi @@ -116,7 +116,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetProjectInvitations(projectId, pageNumber, pageSize, orderBy); - //Assert.IsType<ProjectInvitationDtoIEnumerablePagedResponse>(response); + //Assert.IsType<ProjectInvitationDtoPagedResponse>(response); } } } diff --git a/src/Org.OpenAPITools.Test/Api/ProjectMemberApiTests.cs b/src/Coscine.ApiClient.Test/Api/ProjectMemberApiTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Api/ProjectMemberApiTests.cs rename to src/Coscine.ApiClient.Test/Api/ProjectMemberApiTests.cs index 7397bf3..e07ae29 100644 --- a/src/Org.OpenAPITools.Test/Api/ProjectMemberApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/ProjectMemberApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing ProjectMemberApi @@ -116,7 +116,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetMemberships(projectId, pageNumber, pageSize, orderBy); - //Assert.IsType<ProjectRoleDtoIEnumerablePagedResponse>(response); + //Assert.IsType<ProjectRoleDtoPagedResponse>(response); } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Api/ProjectQuotaApiTests.cs b/src/Coscine.ApiClient.Test/Api/ProjectQuotaApiTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Api/ProjectQuotaApiTests.cs rename to src/Coscine.ApiClient.Test/Api/ProjectQuotaApiTests.cs index 6156723..f8e1ab0 100644 --- a/src/Org.OpenAPITools.Test/Api/ProjectQuotaApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/ProjectQuotaApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing ProjectQuotaApi @@ -91,7 +91,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetProjectQuotas(projectId, pageNumber, pageSize, orderBy); - //Assert.IsType<ProjectQuotaDtoIEnumerablePagedResponse>(response); + //Assert.IsType<ProjectQuotaDtoPagedResponse>(response); } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Api/ProjectResourceApiTests.cs b/src/Coscine.ApiClient.Test/Api/ProjectResourceApiTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Api/ProjectResourceApiTests.cs rename to src/Coscine.ApiClient.Test/Api/ProjectResourceApiTests.cs index 7ca3226..612043d 100644 --- a/src/Org.OpenAPITools.Test/Api/ProjectResourceApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/ProjectResourceApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing ProjectResourceApi @@ -116,7 +116,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetResourcesForProject(projectId, pageNumber, pageSize, orderBy); - //Assert.IsType<ResourceDtoIEnumerablePagedResponse>(response); + //Assert.IsType<ResourceDtoPagedResponse>(response); } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Api/ProjectResourceQuotaApiTests.cs b/src/Coscine.ApiClient.Test/Api/ProjectResourceQuotaApiTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Api/ProjectResourceQuotaApiTests.cs rename to src/Coscine.ApiClient.Test/Api/ProjectResourceQuotaApiTests.cs index 9c39bb4..71b4b53 100644 --- a/src/Org.OpenAPITools.Test/Api/ProjectResourceQuotaApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/ProjectResourceQuotaApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing ProjectResourceQuotaApi diff --git a/src/Org.OpenAPITools.Test/Api/ProjectResourceTypeApiTests.cs b/src/Coscine.ApiClient.Test/Api/ProjectResourceTypeApiTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Api/ProjectResourceTypeApiTests.cs rename to src/Coscine.ApiClient.Test/Api/ProjectResourceTypeApiTests.cs index 1ffb568..ada8060 100644 --- a/src/Org.OpenAPITools.Test/Api/ProjectResourceTypeApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/ProjectResourceTypeApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing ProjectResourceTypeApi diff --git a/src/Org.OpenAPITools.Test/Api/ResourceApiTests.cs b/src/Coscine.ApiClient.Test/Api/ResourceApiTests.cs similarity index 92% rename from src/Org.OpenAPITools.Test/Api/ResourceApiTests.cs rename to src/Coscine.ApiClient.Test/Api/ResourceApiTests.cs index bc4cf1c..d38f593 100644 --- a/src/Org.OpenAPITools.Test/Api/ResourceApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/ResourceApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing ResourceApi diff --git a/src/Org.OpenAPITools.Test/Api/ResourceTypeApiTests.cs b/src/Coscine.ApiClient.Test/Api/ResourceTypeApiTests.cs similarity index 96% rename from src/Org.OpenAPITools.Test/Api/ResourceTypeApiTests.cs rename to src/Coscine.ApiClient.Test/Api/ResourceTypeApiTests.cs index 49abf8b..c2243e7 100644 --- a/src/Org.OpenAPITools.Test/Api/ResourceTypeApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/ResourceTypeApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing ResourceTypeApi diff --git a/src/Org.OpenAPITools.Test/Api/RoleApiTests.cs b/src/Coscine.ApiClient.Test/Api/RoleApiTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Api/RoleApiTests.cs rename to src/Coscine.ApiClient.Test/Api/RoleApiTests.cs index 28c2cb3..8bed9ab 100644 --- a/src/Org.OpenAPITools.Test/Api/RoleApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/RoleApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing RoleApi @@ -88,7 +88,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetRoles(pageNumber, pageSize, orderBy); - //Assert.IsType<RoleDtoIEnumerablePagedResponse>(response); + //Assert.IsType<RoleDtoPagedResponse>(response); } } } diff --git a/src/Org.OpenAPITools.Test/Api/SearchApiTests.cs b/src/Coscine.ApiClient.Test/Api/SearchApiTests.cs similarity index 90% rename from src/Org.OpenAPITools.Test/Api/SearchApiTests.cs rename to src/Coscine.ApiClient.Test/Api/SearchApiTests.cs index 7deb046..c9a9510 100644 --- a/src/Org.OpenAPITools.Test/Api/SearchApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/SearchApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing SearchApi @@ -80,7 +80,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetSearchResults(query, useAdvancedSyntax, languages, category, pageNumber, pageSize, orderBy); - //Assert.IsType<SearchResultDtoIEnumerablePagedResponse>(response); + //Assert.IsType<SearchResultDtoPagedSearchResponse>(response); } } } diff --git a/src/Org.OpenAPITools.Test/Api/SelfApiTests.cs b/src/Coscine.ApiClient.Test/Api/SelfApiTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Api/SelfApiTests.cs rename to src/Coscine.ApiClient.Test/Api/SelfApiTests.cs index 83353f5..474f793 100644 --- a/src/Org.OpenAPITools.Test/Api/SelfApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/SelfApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing SelfApi diff --git a/src/Org.OpenAPITools.Test/Api/SelfApiTokenApiTests.cs b/src/Coscine.ApiClient.Test/Api/SelfApiTokenApiTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Api/SelfApiTokenApiTests.cs rename to src/Coscine.ApiClient.Test/Api/SelfApiTokenApiTests.cs index 6a20114..663b2bd 100644 --- a/src/Org.OpenAPITools.Test/Api/SelfApiTokenApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/SelfApiTokenApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing SelfApiTokenApi @@ -88,7 +88,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetAllApiTokens(pageNumber, pageSize, orderBy); - //Assert.IsType<ApiTokenDtoIEnumerablePagedResponse>(response); + //Assert.IsType<ApiTokenDtoPagedResponse>(response); } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Api/TitleApiTests.cs b/src/Coscine.ApiClient.Test/Api/TitleApiTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Api/TitleApiTests.cs rename to src/Coscine.ApiClient.Test/Api/TitleApiTests.cs index 1df04b5..308afd5 100644 --- a/src/Org.OpenAPITools.Test/Api/TitleApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/TitleApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing TitleApi @@ -88,7 +88,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetTitles(pageNumber, pageSize, orderBy); - //Assert.IsType<TitleDtoIEnumerablePagedResponse>(response); + //Assert.IsType<TitleDtoPagedResponse>(response); } } } diff --git a/src/Org.OpenAPITools.Test/Api/TosApiTests.cs b/src/Coscine.ApiClient.Test/Api/TosApiTests.cs similarity index 92% rename from src/Org.OpenAPITools.Test/Api/TosApiTests.cs rename to src/Coscine.ApiClient.Test/Api/TosApiTests.cs index bb07e32..4f3b752 100644 --- a/src/Org.OpenAPITools.Test/Api/TosApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/TosApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing TosApi diff --git a/src/Org.OpenAPITools.Test/Api/TreeApiTests.cs b/src/Coscine.ApiClient.Test/Api/TreeApiTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Api/TreeApiTests.cs rename to src/Coscine.ApiClient.Test/Api/TreeApiTests.cs index 686ced5..12c13a8 100644 --- a/src/Org.OpenAPITools.Test/Api/TreeApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/TreeApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing TreeApi @@ -95,7 +95,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetFileTree(projectId, resourceId, path, pageNumber, pageSize, orderBy); - //Assert.IsType<FileTreeDtoIEnumerablePagedResponse>(response); + //Assert.IsType<FileTreeDtoPagedResponse>(response); } /// <summary> @@ -113,7 +113,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetMetadataTree(projectId, resourceId, path, format, pageNumber, pageSize, orderBy); - //Assert.IsType<MetadataTreeDtoIEnumerablePagedResponse>(response); + //Assert.IsType<MetadataTreeDtoPagedResponse>(response); } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Api/UserApiTests.cs b/src/Coscine.ApiClient.Test/Api/UserApiTests.cs similarity index 92% rename from src/Org.OpenAPITools.Test/Api/UserApiTests.cs rename to src/Coscine.ApiClient.Test/Api/UserApiTests.cs index 2afebfe..f73d69a 100644 --- a/src/Org.OpenAPITools.Test/Api/UserApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/UserApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing UserApi diff --git a/src/Org.OpenAPITools.Test/Api/VisibilityApiTests.cs b/src/Coscine.ApiClient.Test/Api/VisibilityApiTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Api/VisibilityApiTests.cs rename to src/Coscine.ApiClient.Test/Api/VisibilityApiTests.cs index 4026ee8..412712c 100644 --- a/src/Org.OpenAPITools.Test/Api/VisibilityApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/VisibilityApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing VisibilityApi @@ -76,7 +76,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetVisibilities(pageNumber, pageSize, orderBy); - //Assert.IsType<VisibilityDtoIEnumerablePagedResponse>(response); + //Assert.IsType<VisibilityDtoPagedResponse>(response); } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Api/VocabularyApiTests.cs b/src/Coscine.ApiClient.Test/Api/VocabularyApiTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Api/VocabularyApiTests.cs rename to src/Coscine.ApiClient.Test/Api/VocabularyApiTests.cs index ee0dcce..1ac2cf9 100644 --- a/src/Org.OpenAPITools.Test/Api/VocabularyApiTests.cs +++ b/src/Coscine.ApiClient.Test/Api/VocabularyApiTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -17,12 +17,12 @@ using System.Reflection; using RestSharp; using Xunit; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Api; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Api; // uncomment below to import models -//using Org.OpenAPITools.Model; +//using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Test.Api +namespace Coscine.ApiClient.Test.Api { /// <summary> /// Class for testing VocabularyApi @@ -78,7 +78,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetVocabularies(searchTerm, language, pageNumber, pageSize, orderBy); - //Assert.IsType<VocabularyDtoIEnumerablePagedResponse>(response); + //Assert.IsType<VocabularyDtoPagedResponse>(response); } /// <summary> @@ -108,7 +108,7 @@ namespace Org.OpenAPITools.Test.Api //int? pageSize = null; //string? orderBy = null; //var response = instance.GetVocabularyInstances(varClass, searchTerm, language, pageNumber, pageSize, orderBy); - //Assert.IsType<VocabularyInstanceDtoIEnumerablePagedResponse>(response); + //Assert.IsType<VocabularyInstanceDtoPagedResponse>(response); } } } diff --git a/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj b/src/Coscine.ApiClient.Test/Coscine.ApiClient.Test.csproj similarity index 65% rename from src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj rename to src/Coscine.ApiClient.Test/Coscine.ApiClient.Test.csproj index 273d5c0..077f9a4 100644 --- a/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj +++ b/src/Coscine.ApiClient.Test/Coscine.ApiClient.Test.csproj @@ -1,12 +1,12 @@ <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> - <AssemblyName>Org.OpenAPITools.Test</AssemblyName> - <RootNamespace>Org.OpenAPITools.Test</RootNamespace> + <AssemblyName>Coscine.ApiClient.Test</AssemblyName> + <RootNamespace>Coscine.ApiClient.Test</RootNamespace> <TargetFramework>net7.0</TargetFramework> <IsPackable>false</IsPackable> <Nullable>annotations</Nullable> - <Version>1.1.0</Version></PropertyGroup> + </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" /> @@ -15,6 +15,6 @@ </ItemGroup> <ItemGroup> - <ProjectReference Include="..\Org.OpenAPITools\Org.OpenAPITools.csproj" /> + <ProjectReference Include="..\Coscine.ApiClient\Coscine.ApiClient.csproj" /> </ItemGroup> </Project> diff --git a/src/Org.OpenAPITools.Test/Model/AcceptedLanguageTests.cs b/src/Coscine.ApiClient.Test/Model/AcceptedLanguageTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Model/AcceptedLanguageTests.cs rename to src/Coscine.ApiClient.Test/Model/AcceptedLanguageTests.cs index b305b34..eb650e4 100644 --- a/src/Org.OpenAPITools.Test/Model/AcceptedLanguageTests.cs +++ b/src/Coscine.ApiClient.Test/Model/AcceptedLanguageTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing AcceptedLanguage diff --git a/src/Org.OpenAPITools.Test/Model/ApiTokenDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ApiTokenDtoPagedResponseTests.cs similarity index 74% rename from src/Org.OpenAPITools.Test/Model/ApiTokenDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ApiTokenDtoPagedResponseTests.cs index a0e0946..54f8677 100644 --- a/src/Org.OpenAPITools.Test/Model/ApiTokenDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ApiTokenDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing ApiTokenDtoIEnumerablePagedResponse + /// Class for testing ApiTokenDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class ApiTokenDtoIEnumerablePagedResponseTests : IDisposable + public class ApiTokenDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for ApiTokenDtoIEnumerablePagedResponse - //private ApiTokenDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for ApiTokenDtoPagedResponse + //private ApiTokenDtoPagedResponse instance; - public ApiTokenDtoIEnumerablePagedResponseTests() + public ApiTokenDtoPagedResponseTests() { - // TODO uncomment below to create an instance of ApiTokenDtoIEnumerablePagedResponse - //instance = new ApiTokenDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of ApiTokenDtoPagedResponse + //instance = new ApiTokenDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of ApiTokenDtoIEnumerablePagedResponse + /// Test an instance of ApiTokenDtoPagedResponse /// </summary> [Fact] - public void ApiTokenDtoIEnumerablePagedResponseInstanceTest() + public void ApiTokenDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" ApiTokenDtoIEnumerablePagedResponse - //Assert.IsType<ApiTokenDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" ApiTokenDtoPagedResponse + //Assert.IsType<ApiTokenDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ApiTokenDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ApiTokenDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ApiTokenDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ApiTokenDtoResponseTests.cs index ae3d949..8198db5 100644 --- a/src/Org.OpenAPITools.Test/Model/ApiTokenDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ApiTokenDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ApiTokenDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ApiTokenDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ApiTokenDtoTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/ApiTokenDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ApiTokenDtoTests.cs index d069bcc..89bfb96 100644 --- a/src/Org.OpenAPITools.Test/Model/ApiTokenDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ApiTokenDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ApiTokenDto diff --git a/src/Org.OpenAPITools.Test/Model/ApiTokenForCreationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ApiTokenForCreationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/ApiTokenForCreationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ApiTokenForCreationDtoTests.cs index fb29f1f..e9d8940 100644 --- a/src/Org.OpenAPITools.Test/Model/ApiTokenForCreationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ApiTokenForCreationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ApiTokenForCreationDto diff --git a/src/Org.OpenAPITools.Test/Model/ApplicationProfileDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ApplicationProfileDtoPagedResponseTests.cs similarity index 71% rename from src/Org.OpenAPITools.Test/Model/ApplicationProfileDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ApplicationProfileDtoPagedResponseTests.cs index 8cedf7a..8909300 100644 --- a/src/Org.OpenAPITools.Test/Model/ApplicationProfileDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ApplicationProfileDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing ApplicationProfileDtoIEnumerablePagedResponse + /// Class for testing ApplicationProfileDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class ApplicationProfileDtoIEnumerablePagedResponseTests : IDisposable + public class ApplicationProfileDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for ApplicationProfileDtoIEnumerablePagedResponse - //private ApplicationProfileDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for ApplicationProfileDtoPagedResponse + //private ApplicationProfileDtoPagedResponse instance; - public ApplicationProfileDtoIEnumerablePagedResponseTests() + public ApplicationProfileDtoPagedResponseTests() { - // TODO uncomment below to create an instance of ApplicationProfileDtoIEnumerablePagedResponse - //instance = new ApplicationProfileDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of ApplicationProfileDtoPagedResponse + //instance = new ApplicationProfileDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of ApplicationProfileDtoIEnumerablePagedResponse + /// Test an instance of ApplicationProfileDtoPagedResponse /// </summary> [Fact] - public void ApplicationProfileDtoIEnumerablePagedResponseInstanceTest() + public void ApplicationProfileDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" ApplicationProfileDtoIEnumerablePagedResponse - //Assert.IsType<ApplicationProfileDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" ApplicationProfileDtoPagedResponse + //Assert.IsType<ApplicationProfileDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ApplicationProfileDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ApplicationProfileDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ApplicationProfileDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ApplicationProfileDtoResponseTests.cs index 2d72b69..90148cd 100644 --- a/src/Org.OpenAPITools.Test/Model/ApplicationProfileDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ApplicationProfileDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ApplicationProfileDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ApplicationProfileDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ApplicationProfileDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ApplicationProfileDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ApplicationProfileDtoTests.cs index 99faa95..dc85124 100644 --- a/src/Org.OpenAPITools.Test/Model/ApplicationProfileDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ApplicationProfileDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ApplicationProfileDto diff --git a/src/Org.OpenAPITools.Test/Model/ApplicationProfileForCreationDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ApplicationProfileForCreationDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ApplicationProfileForCreationDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ApplicationProfileForCreationDtoResponseTests.cs index bff5969..28b5abf 100644 --- a/src/Org.OpenAPITools.Test/Model/ApplicationProfileForCreationDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ApplicationProfileForCreationDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ApplicationProfileForCreationDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ApplicationProfileForCreationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ApplicationProfileForCreationDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ApplicationProfileForCreationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ApplicationProfileForCreationDtoTests.cs index 705073f..8dcda7d 100644 --- a/src/Org.OpenAPITools.Test/Model/ApplicationProfileForCreationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ApplicationProfileForCreationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ApplicationProfileForCreationDto diff --git a/src/Org.OpenAPITools.Test/Model/ApplicationProfileForResourceCreationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ApplicationProfileForResourceCreationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/ApplicationProfileForResourceCreationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ApplicationProfileForResourceCreationDtoTests.cs index 7e71e5f..e524740 100644 --- a/src/Org.OpenAPITools.Test/Model/ApplicationProfileForResourceCreationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ApplicationProfileForResourceCreationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ApplicationProfileForResourceCreationDto diff --git a/src/Org.OpenAPITools.Test/Model/ApplicationProfileMinimalDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ApplicationProfileMinimalDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/ApplicationProfileMinimalDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ApplicationProfileMinimalDtoTests.cs index 313d04c..da1a737 100644 --- a/src/Org.OpenAPITools.Test/Model/ApplicationProfileMinimalDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ApplicationProfileMinimalDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ApplicationProfileMinimalDto diff --git a/src/Org.OpenAPITools.Test/Model/DisciplineDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/DisciplineDtoPagedResponseTests.cs similarity index 73% rename from src/Org.OpenAPITools.Test/Model/DisciplineDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/DisciplineDtoPagedResponseTests.cs index eb6be81..78f23f7 100644 --- a/src/Org.OpenAPITools.Test/Model/DisciplineDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/DisciplineDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing DisciplineDtoIEnumerablePagedResponse + /// Class for testing DisciplineDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class DisciplineDtoIEnumerablePagedResponseTests : IDisposable + public class DisciplineDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for DisciplineDtoIEnumerablePagedResponse - //private DisciplineDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for DisciplineDtoPagedResponse + //private DisciplineDtoPagedResponse instance; - public DisciplineDtoIEnumerablePagedResponseTests() + public DisciplineDtoPagedResponseTests() { - // TODO uncomment below to create an instance of DisciplineDtoIEnumerablePagedResponse - //instance = new DisciplineDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of DisciplineDtoPagedResponse + //instance = new DisciplineDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of DisciplineDtoIEnumerablePagedResponse + /// Test an instance of DisciplineDtoPagedResponse /// </summary> [Fact] - public void DisciplineDtoIEnumerablePagedResponseInstanceTest() + public void DisciplineDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" DisciplineDtoIEnumerablePagedResponse - //Assert.IsType<DisciplineDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" DisciplineDtoPagedResponse + //Assert.IsType<DisciplineDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/DisciplineDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/DisciplineDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/DisciplineDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/DisciplineDtoResponseTests.cs index bc6bf40..7c6b971 100644 --- a/src/Org.OpenAPITools.Test/Model/DisciplineDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/DisciplineDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing DisciplineDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/DisciplineDtoTests.cs b/src/Coscine.ApiClient.Test/Model/DisciplineDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/DisciplineDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/DisciplineDtoTests.cs index 0fa6899..8c168f4 100644 --- a/src/Org.OpenAPITools.Test/Model/DisciplineDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/DisciplineDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing DisciplineDto diff --git a/src/Org.OpenAPITools.Test/Model/DisciplineForProjectManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/DisciplineForProjectManipulationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/DisciplineForProjectManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/DisciplineForProjectManipulationDtoTests.cs index d2a298b..cead05f 100644 --- a/src/Org.OpenAPITools.Test/Model/DisciplineForProjectManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/DisciplineForProjectManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing DisciplineForProjectManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/DisciplineForResourceManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/DisciplineForResourceManipulationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/DisciplineForResourceManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/DisciplineForResourceManipulationDtoTests.cs index 6656851..504abac 100644 --- a/src/Org.OpenAPITools.Test/Model/DisciplineForResourceManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/DisciplineForResourceManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing DisciplineForResourceManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/DisciplineForUserManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/DisciplineForUserManipulationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/DisciplineForUserManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/DisciplineForUserManipulationDtoTests.cs index 33be447..297d52b 100644 --- a/src/Org.OpenAPITools.Test/Model/DisciplineForUserManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/DisciplineForUserManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing DisciplineForUserManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/FileTreeDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/FileTreeDtoPagedResponseTests.cs similarity index 74% rename from src/Org.OpenAPITools.Test/Model/FileTreeDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/FileTreeDtoPagedResponseTests.cs index 13b7407..4ec5717 100644 --- a/src/Org.OpenAPITools.Test/Model/FileTreeDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/FileTreeDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing FileTreeDtoIEnumerablePagedResponse + /// Class for testing FileTreeDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class FileTreeDtoIEnumerablePagedResponseTests : IDisposable + public class FileTreeDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for FileTreeDtoIEnumerablePagedResponse - //private FileTreeDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for FileTreeDtoPagedResponse + //private FileTreeDtoPagedResponse instance; - public FileTreeDtoIEnumerablePagedResponseTests() + public FileTreeDtoPagedResponseTests() { - // TODO uncomment below to create an instance of FileTreeDtoIEnumerablePagedResponse - //instance = new FileTreeDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of FileTreeDtoPagedResponse + //instance = new FileTreeDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of FileTreeDtoIEnumerablePagedResponse + /// Test an instance of FileTreeDtoPagedResponse /// </summary> [Fact] - public void FileTreeDtoIEnumerablePagedResponseInstanceTest() + public void FileTreeDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" FileTreeDtoIEnumerablePagedResponse - //Assert.IsType<FileTreeDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" FileTreeDtoPagedResponse + //Assert.IsType<FileTreeDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/FileTreeDtoTests.cs b/src/Coscine.ApiClient.Test/Model/FileTreeDtoTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/FileTreeDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/FileTreeDtoTests.cs index 96b6200..9119dae 100644 --- a/src/Org.OpenAPITools.Test/Model/FileTreeDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/FileTreeDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing FileTreeDto diff --git a/src/Org.OpenAPITools.Test/Model/FixedValueForResourceManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/FixedValueForResourceManipulationDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/FixedValueForResourceManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/FixedValueForResourceManipulationDtoTests.cs index 4faad73..e82ce60 100644 --- a/src/Org.OpenAPITools.Test/Model/FixedValueForResourceManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/FixedValueForResourceManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing FixedValueForResourceManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/GitLabOptionsDtoTests.cs b/src/Coscine.ApiClient.Test/Model/GitLabOptionsDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/GitLabOptionsDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/GitLabOptionsDtoTests.cs index c8f9294..ded79ba 100644 --- a/src/Org.OpenAPITools.Test/Model/GitLabOptionsDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/GitLabOptionsDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing GitLabOptionsDto diff --git a/src/Org.OpenAPITools.Test/Model/GitlabBranchDtoIEnumerableResponseTests.cs b/src/Coscine.ApiClient.Test/Model/GitlabBranchDtoIEnumerableResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/GitlabBranchDtoIEnumerableResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/GitlabBranchDtoIEnumerableResponseTests.cs index 28e72c1..0a8e802 100644 --- a/src/Org.OpenAPITools.Test/Model/GitlabBranchDtoIEnumerableResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/GitlabBranchDtoIEnumerableResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing GitlabBranchDtoIEnumerableResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/GitlabBranchDtoTests.cs b/src/Coscine.ApiClient.Test/Model/GitlabBranchDtoTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/GitlabBranchDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/GitlabBranchDtoTests.cs index ba2de9e..b5b49c9 100644 --- a/src/Org.OpenAPITools.Test/Model/GitlabBranchDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/GitlabBranchDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing GitlabBranchDto diff --git a/src/Org.OpenAPITools.Test/Model/GitlabProjectDtoIEnumerableResponseTests.cs b/src/Coscine.ApiClient.Test/Model/GitlabProjectDtoIEnumerableResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/GitlabProjectDtoIEnumerableResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/GitlabProjectDtoIEnumerableResponseTests.cs index 0749cfe..ede09d5 100644 --- a/src/Org.OpenAPITools.Test/Model/GitlabProjectDtoIEnumerableResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/GitlabProjectDtoIEnumerableResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing GitlabProjectDtoIEnumerableResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/GitlabProjectDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/GitlabProjectDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/GitlabProjectDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/GitlabProjectDtoResponseTests.cs index f3e7079..12e84b5 100644 --- a/src/Org.OpenAPITools.Test/Model/GitlabProjectDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/GitlabProjectDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing GitlabProjectDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/GitlabProjectDtoTests.cs b/src/Coscine.ApiClient.Test/Model/GitlabProjectDtoTests.cs similarity index 96% rename from src/Org.OpenAPITools.Test/Model/GitlabProjectDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/GitlabProjectDtoTests.cs index 4b9792f..16b0a43 100644 --- a/src/Org.OpenAPITools.Test/Model/GitlabProjectDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/GitlabProjectDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing GitlabProjectDto diff --git a/src/Org.OpenAPITools.Test/Model/GitlabResourceTypeOptionsForCreationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/GitlabResourceTypeOptionsForCreationDtoTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/GitlabResourceTypeOptionsForCreationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/GitlabResourceTypeOptionsForCreationDtoTests.cs index 6c0dbbe..fee661a 100644 --- a/src/Org.OpenAPITools.Test/Model/GitlabResourceTypeOptionsForCreationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/GitlabResourceTypeOptionsForCreationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing GitlabResourceTypeOptionsForCreationDto diff --git a/src/Org.OpenAPITools.Test/Model/GitlabResourceTypeOptionsForUpdateDtoTests.cs b/src/Coscine.ApiClient.Test/Model/GitlabResourceTypeOptionsForUpdateDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/GitlabResourceTypeOptionsForUpdateDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/GitlabResourceTypeOptionsForUpdateDtoTests.cs index 155cc91..081c66b 100644 --- a/src/Org.OpenAPITools.Test/Model/GitlabResourceTypeOptionsForUpdateDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/GitlabResourceTypeOptionsForUpdateDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing GitlabResourceTypeOptionsForUpdateDto diff --git a/src/Org.OpenAPITools.Test/Model/IdentityProviderDtoTests.cs b/src/Coscine.ApiClient.Test/Model/IdentityProviderDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/IdentityProviderDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/IdentityProviderDtoTests.cs index 0b6010b..7f9c284 100644 --- a/src/Org.OpenAPITools.Test/Model/IdentityProviderDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/IdentityProviderDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing IdentityProviderDto diff --git a/src/Org.OpenAPITools.Test/Model/IdentityProvidersTests.cs b/src/Coscine.ApiClient.Test/Model/IdentityProvidersTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Model/IdentityProvidersTests.cs rename to src/Coscine.ApiClient.Test/Model/IdentityProvidersTests.cs index 71d9086..c74def0 100644 --- a/src/Org.OpenAPITools.Test/Model/IdentityProvidersTests.cs +++ b/src/Coscine.ApiClient.Test/Model/IdentityProvidersTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing IdentityProviders diff --git a/src/Org.OpenAPITools.Test/Model/LanguageDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/LanguageDtoPagedResponseTests.cs similarity index 74% rename from src/Org.OpenAPITools.Test/Model/LanguageDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/LanguageDtoPagedResponseTests.cs index de95715..f4be8fe 100644 --- a/src/Org.OpenAPITools.Test/Model/LanguageDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/LanguageDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing LanguageDtoIEnumerablePagedResponse + /// Class for testing LanguageDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class LanguageDtoIEnumerablePagedResponseTests : IDisposable + public class LanguageDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for LanguageDtoIEnumerablePagedResponse - //private LanguageDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for LanguageDtoPagedResponse + //private LanguageDtoPagedResponse instance; - public LanguageDtoIEnumerablePagedResponseTests() + public LanguageDtoPagedResponseTests() { - // TODO uncomment below to create an instance of LanguageDtoIEnumerablePagedResponse - //instance = new LanguageDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of LanguageDtoPagedResponse + //instance = new LanguageDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of LanguageDtoIEnumerablePagedResponse + /// Test an instance of LanguageDtoPagedResponse /// </summary> [Fact] - public void LanguageDtoIEnumerablePagedResponseInstanceTest() + public void LanguageDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" LanguageDtoIEnumerablePagedResponse - //Assert.IsType<LanguageDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" LanguageDtoPagedResponse + //Assert.IsType<LanguageDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/LanguageDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/LanguageDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/LanguageDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/LanguageDtoResponseTests.cs index 6c658b0..960df25 100644 --- a/src/Org.OpenAPITools.Test/Model/LanguageDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/LanguageDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing LanguageDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/LanguageDtoTests.cs b/src/Coscine.ApiClient.Test/Model/LanguageDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/LanguageDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/LanguageDtoTests.cs index 3e2837a..5fa4a66 100644 --- a/src/Org.OpenAPITools.Test/Model/LanguageDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/LanguageDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing LanguageDto diff --git a/src/Org.OpenAPITools.Test/Model/LanguageForUserManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/LanguageForUserManipulationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/LanguageForUserManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/LanguageForUserManipulationDtoTests.cs index 60b2339..68abd88 100644 --- a/src/Org.OpenAPITools.Test/Model/LanguageForUserManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/LanguageForUserManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing LanguageForUserManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/LicenseDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/LicenseDtoPagedResponseTests.cs similarity index 72% rename from src/Org.OpenAPITools.Test/Model/LicenseDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/LicenseDtoPagedResponseTests.cs index a18411e..dd55a66 100644 --- a/src/Org.OpenAPITools.Test/Model/LicenseDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/LicenseDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing LicenseDtoIEnumerablePagedResponse + /// Class for testing LicenseDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class LicenseDtoIEnumerablePagedResponseTests : IDisposable + public class LicenseDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for LicenseDtoIEnumerablePagedResponse - //private LicenseDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for LicenseDtoPagedResponse + //private LicenseDtoPagedResponse instance; - public LicenseDtoIEnumerablePagedResponseTests() + public LicenseDtoPagedResponseTests() { - // TODO uncomment below to create an instance of LicenseDtoIEnumerablePagedResponse - //instance = new LicenseDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of LicenseDtoPagedResponse + //instance = new LicenseDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of LicenseDtoIEnumerablePagedResponse + /// Test an instance of LicenseDtoPagedResponse /// </summary> [Fact] - public void LicenseDtoIEnumerablePagedResponseInstanceTest() + public void LicenseDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" LicenseDtoIEnumerablePagedResponse - //Assert.IsType<LicenseDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" LicenseDtoPagedResponse + //Assert.IsType<LicenseDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/LicenseDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/LicenseDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/LicenseDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/LicenseDtoResponseTests.cs index ae03f4c..d82ee1e 100644 --- a/src/Org.OpenAPITools.Test/Model/LicenseDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/LicenseDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing LicenseDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/LicenseDtoTests.cs b/src/Coscine.ApiClient.Test/Model/LicenseDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/LicenseDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/LicenseDtoTests.cs index e2f4de5..693a404 100644 --- a/src/Org.OpenAPITools.Test/Model/LicenseDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/LicenseDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing LicenseDto diff --git a/src/Org.OpenAPITools.Test/Model/LicenseForResourceManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/LicenseForResourceManipulationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/LicenseForResourceManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/LicenseForResourceManipulationDtoTests.cs index b347c2b..7c3db85 100644 --- a/src/Org.OpenAPITools.Test/Model/LicenseForResourceManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/LicenseForResourceManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing LicenseForResourceManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/MaintenanceDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/MaintenanceDtoPagedResponseTests.cs similarity index 73% rename from src/Org.OpenAPITools.Test/Model/MaintenanceDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/MaintenanceDtoPagedResponseTests.cs index 868285a..22b908e 100644 --- a/src/Org.OpenAPITools.Test/Model/MaintenanceDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/MaintenanceDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing MaintenanceDtoIEnumerablePagedResponse + /// Class for testing MaintenanceDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class MaintenanceDtoIEnumerablePagedResponseTests : IDisposable + public class MaintenanceDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for MaintenanceDtoIEnumerablePagedResponse - //private MaintenanceDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for MaintenanceDtoPagedResponse + //private MaintenanceDtoPagedResponse instance; - public MaintenanceDtoIEnumerablePagedResponseTests() + public MaintenanceDtoPagedResponseTests() { - // TODO uncomment below to create an instance of MaintenanceDtoIEnumerablePagedResponse - //instance = new MaintenanceDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of MaintenanceDtoPagedResponse + //instance = new MaintenanceDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of MaintenanceDtoIEnumerablePagedResponse + /// Test an instance of MaintenanceDtoPagedResponse /// </summary> [Fact] - public void MaintenanceDtoIEnumerablePagedResponseInstanceTest() + public void MaintenanceDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" MaintenanceDtoIEnumerablePagedResponse - //Assert.IsType<MaintenanceDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" MaintenanceDtoPagedResponse + //Assert.IsType<MaintenanceDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/MaintenanceDtoTests.cs b/src/Coscine.ApiClient.Test/Model/MaintenanceDtoTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/MaintenanceDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/MaintenanceDtoTests.cs index 970ce82..fbefa12 100644 --- a/src/Org.OpenAPITools.Test/Model/MaintenanceDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/MaintenanceDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing MaintenanceDto diff --git a/src/Org.OpenAPITools.Test/Model/MetadataTreeDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/MetadataTreeDtoPagedResponseTests.cs similarity index 73% rename from src/Org.OpenAPITools.Test/Model/MetadataTreeDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/MetadataTreeDtoPagedResponseTests.cs index 6fba1e4..68efffd 100644 --- a/src/Org.OpenAPITools.Test/Model/MetadataTreeDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/MetadataTreeDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing MetadataTreeDtoIEnumerablePagedResponse + /// Class for testing MetadataTreeDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class MetadataTreeDtoIEnumerablePagedResponseTests : IDisposable + public class MetadataTreeDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for MetadataTreeDtoIEnumerablePagedResponse - //private MetadataTreeDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for MetadataTreeDtoPagedResponse + //private MetadataTreeDtoPagedResponse instance; - public MetadataTreeDtoIEnumerablePagedResponseTests() + public MetadataTreeDtoPagedResponseTests() { - // TODO uncomment below to create an instance of MetadataTreeDtoIEnumerablePagedResponse - //instance = new MetadataTreeDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of MetadataTreeDtoPagedResponse + //instance = new MetadataTreeDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of MetadataTreeDtoIEnumerablePagedResponse + /// Test an instance of MetadataTreeDtoPagedResponse /// </summary> [Fact] - public void MetadataTreeDtoIEnumerablePagedResponseInstanceTest() + public void MetadataTreeDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" MetadataTreeDtoIEnumerablePagedResponse - //Assert.IsType<MetadataTreeDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" MetadataTreeDtoPagedResponse + //Assert.IsType<MetadataTreeDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/MetadataTreeDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/MetadataTreeDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/MetadataTreeDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/MetadataTreeDtoResponseTests.cs index 2b4a60f..5b6582f 100644 --- a/src/Org.OpenAPITools.Test/Model/MetadataTreeDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/MetadataTreeDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing MetadataTreeDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/MetadataTreeDtoTests.cs b/src/Coscine.ApiClient.Test/Model/MetadataTreeDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/MetadataTreeDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/MetadataTreeDtoTests.cs index bc4bd4e..b6dcc84 100644 --- a/src/Org.OpenAPITools.Test/Model/MetadataTreeDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/MetadataTreeDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing MetadataTreeDto diff --git a/src/Org.OpenAPITools.Test/Model/MetadataTreeForCreationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/MetadataTreeForCreationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/MetadataTreeForCreationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/MetadataTreeForCreationDtoTests.cs index 5b2f87f..4c9e491 100644 --- a/src/Org.OpenAPITools.Test/Model/MetadataTreeForCreationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/MetadataTreeForCreationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing MetadataTreeForCreationDto diff --git a/src/Org.OpenAPITools.Test/Model/MetadataTreeForUpdateDtoTests.cs b/src/Coscine.ApiClient.Test/Model/MetadataTreeForUpdateDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/MetadataTreeForUpdateDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/MetadataTreeForUpdateDtoTests.cs index d3fd8bb..ea19310 100644 --- a/src/Org.OpenAPITools.Test/Model/MetadataTreeForUpdateDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/MetadataTreeForUpdateDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing MetadataTreeForUpdateDto diff --git a/src/Org.OpenAPITools.Test/Model/MetadataUpdateAdminParametersTests.cs b/src/Coscine.ApiClient.Test/Model/MetadataUpdateAdminParametersTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/MetadataUpdateAdminParametersTests.cs rename to src/Coscine.ApiClient.Test/Model/MetadataUpdateAdminParametersTests.cs index cff64e2..20ef6a9 100644 --- a/src/Org.OpenAPITools.Test/Model/MetadataUpdateAdminParametersTests.cs +++ b/src/Coscine.ApiClient.Test/Model/MetadataUpdateAdminParametersTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing MetadataUpdateAdminParameters diff --git a/src/Org.OpenAPITools.Test/Model/OrganizationDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/OrganizationDtoPagedResponseTests.cs similarity index 73% rename from src/Org.OpenAPITools.Test/Model/OrganizationDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/OrganizationDtoPagedResponseTests.cs index 06e4814..097bbbf 100644 --- a/src/Org.OpenAPITools.Test/Model/OrganizationDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/OrganizationDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing OrganizationDtoIEnumerablePagedResponse + /// Class for testing OrganizationDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class OrganizationDtoIEnumerablePagedResponseTests : IDisposable + public class OrganizationDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for OrganizationDtoIEnumerablePagedResponse - //private OrganizationDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for OrganizationDtoPagedResponse + //private OrganizationDtoPagedResponse instance; - public OrganizationDtoIEnumerablePagedResponseTests() + public OrganizationDtoPagedResponseTests() { - // TODO uncomment below to create an instance of OrganizationDtoIEnumerablePagedResponse - //instance = new OrganizationDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of OrganizationDtoPagedResponse + //instance = new OrganizationDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of OrganizationDtoIEnumerablePagedResponse + /// Test an instance of OrganizationDtoPagedResponse /// </summary> [Fact] - public void OrganizationDtoIEnumerablePagedResponseInstanceTest() + public void OrganizationDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" OrganizationDtoIEnumerablePagedResponse - //Assert.IsType<OrganizationDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" OrganizationDtoPagedResponse + //Assert.IsType<OrganizationDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/OrganizationDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/OrganizationDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/OrganizationDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/OrganizationDtoResponseTests.cs index 6467e29..5ff823e 100644 --- a/src/Org.OpenAPITools.Test/Model/OrganizationDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/OrganizationDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing OrganizationDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/OrganizationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/OrganizationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/OrganizationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/OrganizationDtoTests.cs index d7a269e..3fe9b42 100644 --- a/src/Org.OpenAPITools.Test/Model/OrganizationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/OrganizationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing OrganizationDto diff --git a/src/Org.OpenAPITools.Test/Model/OrganizationForProjectManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/OrganizationForProjectManipulationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/OrganizationForProjectManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/OrganizationForProjectManipulationDtoTests.cs index 2670a6e..68ae65f 100644 --- a/src/Org.OpenAPITools.Test/Model/OrganizationForProjectManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/OrganizationForProjectManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing OrganizationForProjectManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/PaginationTests.cs b/src/Coscine.ApiClient.Test/Model/PaginationTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/PaginationTests.cs rename to src/Coscine.ApiClient.Test/Model/PaginationTests.cs index b0cf8e9..1bf07a7 100644 --- a/src/Org.OpenAPITools.Test/Model/PaginationTests.cs +++ b/src/Coscine.ApiClient.Test/Model/PaginationTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing Pagination diff --git a/src/Org.OpenAPITools.Test/Model/PidRequestDtoTests.cs b/src/Coscine.ApiClient.Test/Model/PidRequestDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/PidRequestDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/PidRequestDtoTests.cs index d462661..f3c2171 100644 --- a/src/Org.OpenAPITools.Test/Model/PidRequestDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/PidRequestDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing PidRequestDto diff --git a/src/Org.OpenAPITools.Test/Model/PidTypeTests.cs b/src/Coscine.ApiClient.Test/Model/PidTypeTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Model/PidTypeTests.cs rename to src/Coscine.ApiClient.Test/Model/PidTypeTests.cs index ffe63e5..fbd26d6 100644 --- a/src/Org.OpenAPITools.Test/Model/PidTypeTests.cs +++ b/src/Coscine.ApiClient.Test/Model/PidTypeTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing PidType diff --git a/src/Org.OpenAPITools.Test/Model/PidValidationDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/PidValidationDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/PidValidationDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/PidValidationDtoResponseTests.cs index 9f609d6..8445fe6 100644 --- a/src/Org.OpenAPITools.Test/Model/PidValidationDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/PidValidationDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing PidValidationDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/PidValidationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/PidValidationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/PidValidationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/PidValidationDtoTests.cs index 08a2406..2fccd1d 100644 --- a/src/Org.OpenAPITools.Test/Model/PidValidationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/PidValidationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing PidValidationDto diff --git a/src/Org.OpenAPITools.Test/Model/ProjectAdminDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectAdminDtoPagedResponseTests.cs similarity index 73% rename from src/Org.OpenAPITools.Test/Model/ProjectAdminDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectAdminDtoPagedResponseTests.cs index 628b990..1d42fb4 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectAdminDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectAdminDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing ProjectAdminDtoIEnumerablePagedResponse + /// Class for testing ProjectAdminDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class ProjectAdminDtoIEnumerablePagedResponseTests : IDisposable + public class ProjectAdminDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for ProjectAdminDtoIEnumerablePagedResponse - //private ProjectAdminDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for ProjectAdminDtoPagedResponse + //private ProjectAdminDtoPagedResponse instance; - public ProjectAdminDtoIEnumerablePagedResponseTests() + public ProjectAdminDtoPagedResponseTests() { - // TODO uncomment below to create an instance of ProjectAdminDtoIEnumerablePagedResponse - //instance = new ProjectAdminDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of ProjectAdminDtoPagedResponse + //instance = new ProjectAdminDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of ProjectAdminDtoIEnumerablePagedResponse + /// Test an instance of ProjectAdminDtoPagedResponse /// </summary> [Fact] - public void ProjectAdminDtoIEnumerablePagedResponseInstanceTest() + public void ProjectAdminDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" ProjectAdminDtoIEnumerablePagedResponse - //Assert.IsType<ProjectAdminDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" ProjectAdminDtoPagedResponse + //Assert.IsType<ProjectAdminDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ProjectAdminDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectAdminDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ProjectAdminDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectAdminDtoTests.cs index 19e4766..e8cfbd2 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectAdminDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectAdminDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectAdminDto @@ -243,5 +243,14 @@ namespace Org.OpenAPITools.Test.Model { // TODO unit test for the property 'ProjectRoles' } + + /// <summary> + /// Test the property 'ProjectQuota' + /// </summary> + [Fact] + public void ProjectQuotaTest() + { + // TODO unit test for the property 'ProjectQuota' + } } } diff --git a/src/Org.OpenAPITools.Test/Model/ProjectDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectDtoPagedResponseTests.cs similarity index 72% rename from src/Org.OpenAPITools.Test/Model/ProjectDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectDtoPagedResponseTests.cs index 142767b..53b9ba4 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing ProjectDtoIEnumerablePagedResponse + /// Class for testing ProjectDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class ProjectDtoIEnumerablePagedResponseTests : IDisposable + public class ProjectDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for ProjectDtoIEnumerablePagedResponse - //private ProjectDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for ProjectDtoPagedResponse + //private ProjectDtoPagedResponse instance; - public ProjectDtoIEnumerablePagedResponseTests() + public ProjectDtoPagedResponseTests() { - // TODO uncomment below to create an instance of ProjectDtoIEnumerablePagedResponse - //instance = new ProjectDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of ProjectDtoPagedResponse + //instance = new ProjectDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of ProjectDtoIEnumerablePagedResponse + /// Test an instance of ProjectDtoPagedResponse /// </summary> [Fact] - public void ProjectDtoIEnumerablePagedResponseInstanceTest() + public void ProjectDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" ProjectDtoIEnumerablePagedResponse - //Assert.IsType<ProjectDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" ProjectDtoPagedResponse + //Assert.IsType<ProjectDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ProjectDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ProjectDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectDtoResponseTests.cs index a75b68c..d6ac40c 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ProjectDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectDtoTests.cs similarity index 97% rename from src/Org.OpenAPITools.Test/Model/ProjectDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectDtoTests.cs index cea0966..eb0f9f2 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectDto diff --git a/src/Org.OpenAPITools.Test/Model/ProjectForCreationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectForCreationDtoTests.cs similarity index 96% rename from src/Org.OpenAPITools.Test/Model/ProjectForCreationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectForCreationDtoTests.cs index b6d702d..b4883f4 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectForCreationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectForCreationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectForCreationDto diff --git a/src/Org.OpenAPITools.Test/Model/ProjectForUpdateDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectForUpdateDtoTests.cs similarity index 96% rename from src/Org.OpenAPITools.Test/Model/ProjectForUpdateDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectForUpdateDtoTests.cs index 04bf303..4e50fec 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectForUpdateDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectForUpdateDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectForUpdateDto diff --git a/src/Org.OpenAPITools.Test/Model/ProjectInvitationDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectInvitationDtoPagedResponseTests.cs similarity index 72% rename from src/Org.OpenAPITools.Test/Model/ProjectInvitationDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectInvitationDtoPagedResponseTests.cs index fd76dd6..59a0846 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectInvitationDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectInvitationDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing ProjectInvitationDtoIEnumerablePagedResponse + /// Class for testing ProjectInvitationDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class ProjectInvitationDtoIEnumerablePagedResponseTests : IDisposable + public class ProjectInvitationDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for ProjectInvitationDtoIEnumerablePagedResponse - //private ProjectInvitationDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for ProjectInvitationDtoPagedResponse + //private ProjectInvitationDtoPagedResponse instance; - public ProjectInvitationDtoIEnumerablePagedResponseTests() + public ProjectInvitationDtoPagedResponseTests() { - // TODO uncomment below to create an instance of ProjectInvitationDtoIEnumerablePagedResponse - //instance = new ProjectInvitationDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of ProjectInvitationDtoPagedResponse + //instance = new ProjectInvitationDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of ProjectInvitationDtoIEnumerablePagedResponse + /// Test an instance of ProjectInvitationDtoPagedResponse /// </summary> [Fact] - public void ProjectInvitationDtoIEnumerablePagedResponseInstanceTest() + public void ProjectInvitationDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" ProjectInvitationDtoIEnumerablePagedResponse - //Assert.IsType<ProjectInvitationDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" ProjectInvitationDtoPagedResponse + //Assert.IsType<ProjectInvitationDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ProjectInvitationDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectInvitationDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ProjectInvitationDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectInvitationDtoResponseTests.cs index e478d7e..952cc42 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectInvitationDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectInvitationDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectInvitationDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ProjectInvitationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectInvitationDtoTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/ProjectInvitationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectInvitationDtoTests.cs index 81cc240..a9b395e 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectInvitationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectInvitationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectInvitationDto diff --git a/src/Org.OpenAPITools.Test/Model/ProjectInvitationForProjectManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectInvitationForProjectManipulationDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ProjectInvitationForProjectManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectInvitationForProjectManipulationDtoTests.cs index 8841962..28b4ead 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectInvitationForProjectManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectInvitationForProjectManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectInvitationForProjectManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/ProjectInvitationResolveDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectInvitationResolveDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/ProjectInvitationResolveDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectInvitationResolveDtoTests.cs index 4ba8bea..c791690 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectInvitationResolveDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectInvitationResolveDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectInvitationResolveDto diff --git a/src/Org.OpenAPITools.Test/Model/ProjectMinimalDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectMinimalDtoTests.cs similarity index 92% rename from src/Org.OpenAPITools.Test/Model/ProjectMinimalDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectMinimalDtoTests.cs index 0e2a820..bdff8e9 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectMinimalDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectMinimalDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectMinimalDto diff --git a/src/Org.OpenAPITools.Test/Model/ProjectQuotaDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectQuotaDtoPagedResponseTests.cs similarity index 73% rename from src/Org.OpenAPITools.Test/Model/ProjectQuotaDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectQuotaDtoPagedResponseTests.cs index 1e2d0f3..0f7c8d9 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectQuotaDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectQuotaDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing ProjectQuotaDtoIEnumerablePagedResponse + /// Class for testing ProjectQuotaDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class ProjectQuotaDtoIEnumerablePagedResponseTests : IDisposable + public class ProjectQuotaDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for ProjectQuotaDtoIEnumerablePagedResponse - //private ProjectQuotaDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for ProjectQuotaDtoPagedResponse + //private ProjectQuotaDtoPagedResponse instance; - public ProjectQuotaDtoIEnumerablePagedResponseTests() + public ProjectQuotaDtoPagedResponseTests() { - // TODO uncomment below to create an instance of ProjectQuotaDtoIEnumerablePagedResponse - //instance = new ProjectQuotaDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of ProjectQuotaDtoPagedResponse + //instance = new ProjectQuotaDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of ProjectQuotaDtoIEnumerablePagedResponse + /// Test an instance of ProjectQuotaDtoPagedResponse /// </summary> [Fact] - public void ProjectQuotaDtoIEnumerablePagedResponseInstanceTest() + public void ProjectQuotaDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" ProjectQuotaDtoIEnumerablePagedResponse - //Assert.IsType<ProjectQuotaDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" ProjectQuotaDtoPagedResponse + //Assert.IsType<ProjectQuotaDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ProjectQuotaDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectQuotaDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ProjectQuotaDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectQuotaDtoResponseTests.cs index 9245a21..b5ef516 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectQuotaDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectQuotaDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectQuotaDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ProjectQuotaDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectQuotaDtoTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/ProjectQuotaDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectQuotaDtoTests.cs index e105739..8fa4599 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectQuotaDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectQuotaDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectQuotaDto diff --git a/src/Org.OpenAPITools.Test/Model/ProjectQuotaForUpdateDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectQuotaForUpdateDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/ProjectQuotaForUpdateDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectQuotaForUpdateDtoTests.cs index afe7669..3c380f7 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectQuotaForUpdateDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectQuotaForUpdateDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectQuotaForUpdateDto diff --git a/src/Org.OpenAPITools.Test/Model/ProjectResourceMinimalDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectResourceMinimalDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/ProjectResourceMinimalDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectResourceMinimalDtoTests.cs index 32a3ac5..47241d3 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectResourceMinimalDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectResourceMinimalDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectResourceMinimalDto diff --git a/src/Org.OpenAPITools.Test/Model/ProjectRoleDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectRoleDtoPagedResponseTests.cs similarity index 73% rename from src/Org.OpenAPITools.Test/Model/ProjectRoleDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectRoleDtoPagedResponseTests.cs index 71b1711..0053bc5 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectRoleDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectRoleDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing ProjectRoleDtoIEnumerablePagedResponse + /// Class for testing ProjectRoleDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class ProjectRoleDtoIEnumerablePagedResponseTests : IDisposable + public class ProjectRoleDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for ProjectRoleDtoIEnumerablePagedResponse - //private ProjectRoleDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for ProjectRoleDtoPagedResponse + //private ProjectRoleDtoPagedResponse instance; - public ProjectRoleDtoIEnumerablePagedResponseTests() + public ProjectRoleDtoPagedResponseTests() { - // TODO uncomment below to create an instance of ProjectRoleDtoIEnumerablePagedResponse - //instance = new ProjectRoleDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of ProjectRoleDtoPagedResponse + //instance = new ProjectRoleDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of ProjectRoleDtoIEnumerablePagedResponse + /// Test an instance of ProjectRoleDtoPagedResponse /// </summary> [Fact] - public void ProjectRoleDtoIEnumerablePagedResponseInstanceTest() + public void ProjectRoleDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" ProjectRoleDtoIEnumerablePagedResponse - //Assert.IsType<ProjectRoleDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" ProjectRoleDtoPagedResponse + //Assert.IsType<ProjectRoleDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ProjectRoleDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectRoleDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ProjectRoleDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectRoleDtoResponseTests.cs index c8467e0..322f70c 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectRoleDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectRoleDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectRoleDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ProjectRoleDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectRoleDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ProjectRoleDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectRoleDtoTests.cs index f4f215c..86fba25 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectRoleDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectRoleDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectRoleDto diff --git a/src/Org.OpenAPITools.Test/Model/ProjectRoleForProjectCreationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectRoleForProjectCreationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/ProjectRoleForProjectCreationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectRoleForProjectCreationDtoTests.cs index 8ef58ee..b77051f 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectRoleForProjectCreationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectRoleForProjectCreationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectRoleForProjectCreationDto diff --git a/src/Org.OpenAPITools.Test/Model/ProjectRoleForProjectManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectRoleForProjectManipulationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/ProjectRoleForProjectManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectRoleForProjectManipulationDtoTests.cs index a286992..b5bfac8 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectRoleForProjectManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectRoleForProjectManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectRoleForProjectManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/ProjectRoleMinimalDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ProjectRoleMinimalDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ProjectRoleMinimalDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ProjectRoleMinimalDtoTests.cs index 8627b00..70ce61d 100644 --- a/src/Org.OpenAPITools.Test/Model/ProjectRoleMinimalDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ProjectRoleMinimalDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ProjectRoleMinimalDto diff --git a/src/Org.OpenAPITools.Test/Model/PublicUserDtoIEnumerableResponseTests.cs b/src/Coscine.ApiClient.Test/Model/PublicUserDtoIEnumerableResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/PublicUserDtoIEnumerableResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/PublicUserDtoIEnumerableResponseTests.cs index 71e992f..cc34704 100644 --- a/src/Org.OpenAPITools.Test/Model/PublicUserDtoIEnumerableResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/PublicUserDtoIEnumerableResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing PublicUserDtoIEnumerableResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/PublicUserDtoTests.cs b/src/Coscine.ApiClient.Test/Model/PublicUserDtoTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/PublicUserDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/PublicUserDtoTests.cs index e473c0b..41c99f3 100644 --- a/src/Org.OpenAPITools.Test/Model/PublicUserDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/PublicUserDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing PublicUserDto diff --git a/src/Org.OpenAPITools.Test/Model/QuotaDtoTests.cs b/src/Coscine.ApiClient.Test/Model/QuotaDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/QuotaDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/QuotaDtoTests.cs index ede6a14..79dd723 100644 --- a/src/Org.OpenAPITools.Test/Model/QuotaDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/QuotaDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing QuotaDto diff --git a/src/Org.OpenAPITools.Test/Model/QuotaForManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/QuotaForManipulationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/QuotaForManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/QuotaForManipulationDtoTests.cs index 37d6c19..4ab3610 100644 --- a/src/Org.OpenAPITools.Test/Model/QuotaForManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/QuotaForManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing QuotaForManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/QuotaUnitTests.cs b/src/Coscine.ApiClient.Test/Model/QuotaUnitTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Model/QuotaUnitTests.cs rename to src/Coscine.ApiClient.Test/Model/QuotaUnitTests.cs index 578b1df..e5a633e 100644 --- a/src/Org.OpenAPITools.Test/Model/QuotaUnitTests.cs +++ b/src/Coscine.ApiClient.Test/Model/QuotaUnitTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing QuotaUnit diff --git a/src/Org.OpenAPITools.Test/Model/RdfDefinitionDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/RdfDefinitionDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/RdfDefinitionDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/RdfDefinitionDtoResponseTests.cs index bf4ffef..1a62ca3 100644 --- a/src/Org.OpenAPITools.Test/Model/RdfDefinitionDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/RdfDefinitionDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing RdfDefinitionDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/RdfDefinitionDtoTests.cs b/src/Coscine.ApiClient.Test/Model/RdfDefinitionDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/RdfDefinitionDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/RdfDefinitionDtoTests.cs index 922da44..8e2e569 100644 --- a/src/Org.OpenAPITools.Test/Model/RdfDefinitionDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/RdfDefinitionDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing RdfDefinitionDto diff --git a/src/Org.OpenAPITools.Test/Model/RdfDefinitionForManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/RdfDefinitionForManipulationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/RdfDefinitionForManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/RdfDefinitionForManipulationDtoTests.cs index d2c85fe..3eea829 100644 --- a/src/Org.OpenAPITools.Test/Model/RdfDefinitionForManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/RdfDefinitionForManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing RdfDefinitionForManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/RdfFormatTests.cs b/src/Coscine.ApiClient.Test/Model/RdfFormatTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Model/RdfFormatTests.cs rename to src/Coscine.ApiClient.Test/Model/RdfFormatTests.cs index 0a2fcb3..310aa0e 100644 --- a/src/Org.OpenAPITools.Test/Model/RdfFormatTests.cs +++ b/src/Coscine.ApiClient.Test/Model/RdfFormatTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing RdfFormat diff --git a/src/Org.OpenAPITools.Test/Model/RdsOptionsDtoTests.cs b/src/Coscine.ApiClient.Test/Model/RdsOptionsDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/RdsOptionsDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/RdsOptionsDtoTests.cs index 1607792..e2da3ba 100644 --- a/src/Org.OpenAPITools.Test/Model/RdsOptionsDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/RdsOptionsDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing RdsOptionsDto diff --git a/src/Org.OpenAPITools.Test/Model/RdsResourceTypeOptionsForManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/RdsResourceTypeOptionsForManipulationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/RdsResourceTypeOptionsForManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/RdsResourceTypeOptionsForManipulationDtoTests.cs index 3da6fa7..5500852 100644 --- a/src/Org.OpenAPITools.Test/Model/RdsResourceTypeOptionsForManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/RdsResourceTypeOptionsForManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing RdsResourceTypeOptionsForManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/RdsS3OptionsDtoTests.cs b/src/Coscine.ApiClient.Test/Model/RdsS3OptionsDtoTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/RdsS3OptionsDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/RdsS3OptionsDtoTests.cs index 03ea7cf..312ce2f 100644 --- a/src/Org.OpenAPITools.Test/Model/RdsS3OptionsDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/RdsS3OptionsDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing RdsS3OptionsDto diff --git a/src/Org.OpenAPITools.Test/Model/RdsS3ResourceTypeOptionsForManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/RdsS3ResourceTypeOptionsForManipulationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/RdsS3ResourceTypeOptionsForManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/RdsS3ResourceTypeOptionsForManipulationDtoTests.cs index 8174576..534dc5b 100644 --- a/src/Org.OpenAPITools.Test/Model/RdsS3ResourceTypeOptionsForManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/RdsS3ResourceTypeOptionsForManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing RdsS3ResourceTypeOptionsForManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/RdsS3WormOptionsDtoTests.cs b/src/Coscine.ApiClient.Test/Model/RdsS3WormOptionsDtoTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/RdsS3WormOptionsDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/RdsS3WormOptionsDtoTests.cs index 87096aa..ac9ff8f 100644 --- a/src/Org.OpenAPITools.Test/Model/RdsS3WormOptionsDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/RdsS3WormOptionsDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing RdsS3WormOptionsDto diff --git a/src/Org.OpenAPITools.Test/Model/RdsS3WormResourceTypeOptionsForManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/RdsS3WormResourceTypeOptionsForManipulationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/RdsS3WormResourceTypeOptionsForManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/RdsS3WormResourceTypeOptionsForManipulationDtoTests.cs index 6558768..3955063 100644 --- a/src/Org.OpenAPITools.Test/Model/RdsS3WormResourceTypeOptionsForManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/RdsS3WormResourceTypeOptionsForManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing RdsS3WormResourceTypeOptionsForManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceAdminDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceAdminDtoPagedResponseTests.cs similarity index 73% rename from src/Org.OpenAPITools.Test/Model/ResourceAdminDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceAdminDtoPagedResponseTests.cs index 47e7fe8..9c729dc 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceAdminDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceAdminDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing ResourceAdminDtoIEnumerablePagedResponse + /// Class for testing ResourceAdminDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class ResourceAdminDtoIEnumerablePagedResponseTests : IDisposable + public class ResourceAdminDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for ResourceAdminDtoIEnumerablePagedResponse - //private ResourceAdminDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for ResourceAdminDtoPagedResponse + //private ResourceAdminDtoPagedResponse instance; - public ResourceAdminDtoIEnumerablePagedResponseTests() + public ResourceAdminDtoPagedResponseTests() { - // TODO uncomment below to create an instance of ResourceAdminDtoIEnumerablePagedResponse - //instance = new ResourceAdminDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of ResourceAdminDtoPagedResponse + //instance = new ResourceAdminDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of ResourceAdminDtoIEnumerablePagedResponse + /// Test an instance of ResourceAdminDtoPagedResponse /// </summary> [Fact] - public void ResourceAdminDtoIEnumerablePagedResponseInstanceTest() + public void ResourceAdminDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" ResourceAdminDtoIEnumerablePagedResponse - //Assert.IsType<ResourceAdminDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" ResourceAdminDtoPagedResponse + //Assert.IsType<ResourceAdminDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ResourceAdminDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceAdminDtoTests.cs similarity index 97% rename from src/Org.OpenAPITools.Test/Model/ResourceAdminDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceAdminDtoTests.cs index 9a6d4f6..4c48ee2 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceAdminDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceAdminDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceAdminDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceContentPageColumnsDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceContentPageColumnsDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/ResourceContentPageColumnsDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceContentPageColumnsDtoTests.cs index a4b91d0..3c1734a 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceContentPageColumnsDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceContentPageColumnsDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceContentPageColumnsDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceContentPageDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceContentPageDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ResourceContentPageDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceContentPageDtoTests.cs index b360d5b..960ce13 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceContentPageDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceContentPageDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceContentPageDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceContentPageEntriesViewDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceContentPageEntriesViewDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/ResourceContentPageEntriesViewDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceContentPageEntriesViewDtoTests.cs index 0645b2a..7a78d20 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceContentPageEntriesViewDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceContentPageEntriesViewDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceContentPageEntriesViewDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceContentPageMetadataViewDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceContentPageMetadataViewDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ResourceContentPageMetadataViewDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceContentPageMetadataViewDtoTests.cs index ddcfc80..0e8859c 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceContentPageMetadataViewDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceContentPageMetadataViewDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceContentPageMetadataViewDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceCreationPageDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceCreationPageDtoTests.cs similarity index 92% rename from src/Org.OpenAPITools.Test/Model/ResourceCreationPageDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceCreationPageDtoTests.cs index 7f980ec..f692a4c 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceCreationPageDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceCreationPageDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceCreationPageDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceDtoPagedResponseTests.cs similarity index 74% rename from src/Org.OpenAPITools.Test/Model/ResourceDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceDtoPagedResponseTests.cs index 04731f6..94e8926 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing ResourceDtoIEnumerablePagedResponse + /// Class for testing ResourceDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class ResourceDtoIEnumerablePagedResponseTests : IDisposable + public class ResourceDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for ResourceDtoIEnumerablePagedResponse - //private ResourceDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for ResourceDtoPagedResponse + //private ResourceDtoPagedResponse instance; - public ResourceDtoIEnumerablePagedResponseTests() + public ResourceDtoPagedResponseTests() { - // TODO uncomment below to create an instance of ResourceDtoIEnumerablePagedResponse - //instance = new ResourceDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of ResourceDtoPagedResponse + //instance = new ResourceDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of ResourceDtoIEnumerablePagedResponse + /// Test an instance of ResourceDtoPagedResponse /// </summary> [Fact] - public void ResourceDtoIEnumerablePagedResponseInstanceTest() + public void ResourceDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" ResourceDtoIEnumerablePagedResponse - //Assert.IsType<ResourceDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" ResourceDtoPagedResponse + //Assert.IsType<ResourceDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ResourceDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ResourceDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceDtoResponseTests.cs index 8335baa..3cc51d2 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ResourceDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceDtoTests.cs similarity index 97% rename from src/Org.OpenAPITools.Test/Model/ResourceDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceDtoTests.cs index 6d5de5d..bad1007 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceForCreationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceForCreationDtoTests.cs similarity index 96% rename from src/Org.OpenAPITools.Test/Model/ResourceForCreationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceForCreationDtoTests.cs index a118377..127d1b6 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceForCreationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceForCreationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceForCreationDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceForUpdateDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceForUpdateDtoTests.cs similarity index 96% rename from src/Org.OpenAPITools.Test/Model/ResourceForUpdateDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceForUpdateDtoTests.cs index 15ab7da..de0d14e 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceForUpdateDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceForUpdateDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceForUpdateDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceMinimalDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceMinimalDtoTests.cs similarity index 92% rename from src/Org.OpenAPITools.Test/Model/ResourceMinimalDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceMinimalDtoTests.cs index 565d87b..af65cef 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceMinimalDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceMinimalDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceMinimalDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceQuotaDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceQuotaDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ResourceQuotaDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceQuotaDtoResponseTests.cs index 13315df..9d1c2a3 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceQuotaDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceQuotaDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceQuotaDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ResourceQuotaDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceQuotaDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ResourceQuotaDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceQuotaDtoTests.cs index 65bc540..7401180 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceQuotaDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceQuotaDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceQuotaDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceTypeDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceTypeDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ResourceTypeDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceTypeDtoTests.cs index 157d9f6..29f3c30 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceTypeDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceTypeDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceTypeDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceTypeInformationDtoIEnumerableResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceTypeInformationDtoIEnumerableResponseTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/ResourceTypeInformationDtoIEnumerableResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceTypeInformationDtoIEnumerableResponseTests.cs index 26dc15e..334aa4e 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceTypeInformationDtoIEnumerableResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceTypeInformationDtoIEnumerableResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceTypeInformationDtoIEnumerableResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ResourceTypeInformationDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceTypeInformationDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/ResourceTypeInformationDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceTypeInformationDtoResponseTests.cs index b9271eb..4e13125 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceTypeInformationDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceTypeInformationDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceTypeInformationDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/ResourceTypeInformationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceTypeInformationDtoTests.cs similarity index 97% rename from src/Org.OpenAPITools.Test/Model/ResourceTypeInformationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceTypeInformationDtoTests.cs index da37987..29ceb41 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceTypeInformationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceTypeInformationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceTypeInformationDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceTypeMinimalDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceTypeMinimalDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/ResourceTypeMinimalDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceTypeMinimalDtoTests.cs index 1594881..d2ae68b 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceTypeMinimalDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceTypeMinimalDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceTypeMinimalDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceTypeOptionsDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceTypeOptionsDtoTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/ResourceTypeOptionsDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceTypeOptionsDtoTests.cs index 3bb1c1b..8cccd9e 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceTypeOptionsDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceTypeOptionsDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceTypeOptionsDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceTypeOptionsForCreationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceTypeOptionsForCreationDtoTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/ResourceTypeOptionsForCreationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceTypeOptionsForCreationDtoTests.cs index eac228e..3d71732 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceTypeOptionsForCreationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceTypeOptionsForCreationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceTypeOptionsForCreationDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceTypeOptionsForUpdateDtoTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceTypeOptionsForUpdateDtoTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/ResourceTypeOptionsForUpdateDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceTypeOptionsForUpdateDtoTests.cs index 41c63da..000a871 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceTypeOptionsForUpdateDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceTypeOptionsForUpdateDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceTypeOptionsForUpdateDto diff --git a/src/Org.OpenAPITools.Test/Model/ResourceTypeStatusTests.cs b/src/Coscine.ApiClient.Test/Model/ResourceTypeStatusTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Model/ResourceTypeStatusTests.cs rename to src/Coscine.ApiClient.Test/Model/ResourceTypeStatusTests.cs index 116130b..75ec48f 100644 --- a/src/Org.OpenAPITools.Test/Model/ResourceTypeStatusTests.cs +++ b/src/Coscine.ApiClient.Test/Model/ResourceTypeStatusTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing ResourceTypeStatus diff --git a/src/Org.OpenAPITools.Test/Model/RoleDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/RoleDtoPagedResponseTests.cs similarity index 73% rename from src/Org.OpenAPITools.Test/Model/RoleDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/RoleDtoPagedResponseTests.cs index 016c511..c60ce29 100644 --- a/src/Org.OpenAPITools.Test/Model/RoleDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/RoleDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing RoleDtoIEnumerablePagedResponse + /// Class for testing RoleDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class RoleDtoIEnumerablePagedResponseTests : IDisposable + public class RoleDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for RoleDtoIEnumerablePagedResponse - //private RoleDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for RoleDtoPagedResponse + //private RoleDtoPagedResponse instance; - public RoleDtoIEnumerablePagedResponseTests() + public RoleDtoPagedResponseTests() { - // TODO uncomment below to create an instance of RoleDtoIEnumerablePagedResponse - //instance = new RoleDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of RoleDtoPagedResponse + //instance = new RoleDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of RoleDtoIEnumerablePagedResponse + /// Test an instance of RoleDtoPagedResponse /// </summary> [Fact] - public void RoleDtoIEnumerablePagedResponseInstanceTest() + public void RoleDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" RoleDtoIEnumerablePagedResponse - //Assert.IsType<RoleDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" RoleDtoPagedResponse + //Assert.IsType<RoleDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/RoleDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/RoleDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/RoleDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/RoleDtoResponseTests.cs index 8855cab..da22b66 100644 --- a/src/Org.OpenAPITools.Test/Model/RoleDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/RoleDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing RoleDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/RoleDtoTests.cs b/src/Coscine.ApiClient.Test/Model/RoleDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/RoleDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/RoleDtoTests.cs index 6705c1d..ee9ab3e 100644 --- a/src/Org.OpenAPITools.Test/Model/RoleDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/RoleDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing RoleDto diff --git a/src/Org.OpenAPITools.Test/Model/RoleMinimalDtoTests.cs b/src/Coscine.ApiClient.Test/Model/RoleMinimalDtoTests.cs similarity index 92% rename from src/Org.OpenAPITools.Test/Model/RoleMinimalDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/RoleMinimalDtoTests.cs index 52c4525..fb9ac0e 100644 --- a/src/Org.OpenAPITools.Test/Model/RoleMinimalDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/RoleMinimalDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing RoleMinimalDto diff --git a/src/Coscine.ApiClient.Test/Model/SearchCategoryTests.cs b/src/Coscine.ApiClient.Test/Model/SearchCategoryTests.cs new file mode 100644 index 0000000..4b943ea --- /dev/null +++ b/src/Coscine.ApiClient.Test/Model/SearchCategoryTests.cs @@ -0,0 +1,76 @@ +/* + * Coscine Web API (Internal Use Only) + * + * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. + * + * The version of the OpenAPI document: 2.0 + * Contact: servicedesk@itc.rwth-aachen.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Coscine.ApiClient.Test.Model +{ + /// <summary> + /// Class for testing SearchCategory + /// </summary> + /// <remarks> + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// </remarks> + public class SearchCategoryTests : IDisposable + { + // TODO uncomment below to declare an instance variable for SearchCategory + //private SearchCategory instance; + + public SearchCategoryTests() + { + // TODO uncomment below to create an instance of SearchCategory + //instance = new SearchCategory(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// <summary> + /// Test an instance of SearchCategory + /// </summary> + [Fact] + public void SearchCategoryInstanceTest() + { + // TODO uncomment below to test "IsType" SearchCategory + //Assert.IsType<SearchCategory>(instance); + } + + /// <summary> + /// Test the property 'Name' + /// </summary> + [Fact] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + + /// <summary> + /// Test the property 'Count' + /// </summary> + [Fact] + public void CountTest() + { + // TODO unit test for the property 'Count' + } + } +} diff --git a/src/Org.OpenAPITools.Test/Model/SearchCategoryTypeTests.cs b/src/Coscine.ApiClient.Test/Model/SearchCategoryTypeTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Model/SearchCategoryTypeTests.cs rename to src/Coscine.ApiClient.Test/Model/SearchCategoryTypeTests.cs index bd021e4..ad2d2e7 100644 --- a/src/Org.OpenAPITools.Test/Model/SearchCategoryTypeTests.cs +++ b/src/Coscine.ApiClient.Test/Model/SearchCategoryTypeTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing SearchCategoryType diff --git a/src/Org.OpenAPITools.Test/Model/SearchResultDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/SearchResultDtoPagedSearchResponseTests.cs similarity index 69% rename from src/Org.OpenAPITools.Test/Model/SearchResultDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/SearchResultDtoPagedSearchResponseTests.cs index 1621957..60b1e37 100644 --- a/src/Org.OpenAPITools.Test/Model/SearchResultDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/SearchResultDtoPagedSearchResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing SearchResultDtoIEnumerablePagedResponse + /// Class for testing SearchResultDtoPagedSearchResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class SearchResultDtoIEnumerablePagedResponseTests : IDisposable + public class SearchResultDtoPagedSearchResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for SearchResultDtoIEnumerablePagedResponse - //private SearchResultDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for SearchResultDtoPagedSearchResponse + //private SearchResultDtoPagedSearchResponse instance; - public SearchResultDtoIEnumerablePagedResponseTests() + public SearchResultDtoPagedSearchResponseTests() { - // TODO uncomment below to create an instance of SearchResultDtoIEnumerablePagedResponse - //instance = new SearchResultDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of SearchResultDtoPagedSearchResponse + //instance = new SearchResultDtoPagedSearchResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of SearchResultDtoIEnumerablePagedResponse + /// Test an instance of SearchResultDtoPagedSearchResponse /// </summary> [Fact] - public void SearchResultDtoIEnumerablePagedResponseInstanceTest() + public void SearchResultDtoPagedSearchResponseInstanceTest() { - // TODO uncomment below to test "IsType" SearchResultDtoIEnumerablePagedResponse - //Assert.IsType<SearchResultDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" SearchResultDtoPagedSearchResponse + //Assert.IsType<SearchResultDtoPagedSearchResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> @@ -99,5 +99,14 @@ namespace Org.OpenAPITools.Test.Model { // TODO unit test for the property 'Pagination' } + + /// <summary> + /// Test the property 'Categories' + /// </summary> + [Fact] + public void CategoriesTest() + { + // TODO unit test for the property 'Categories' + } } } diff --git a/src/Org.OpenAPITools.Test/Model/SearchResultDtoTests.cs b/src/Coscine.ApiClient.Test/Model/SearchResultDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/SearchResultDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/SearchResultDtoTests.cs index 3f8d1a9..5ddad1b 100644 --- a/src/Org.OpenAPITools.Test/Model/SearchResultDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/SearchResultDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing SearchResultDto diff --git a/src/Org.OpenAPITools.Test/Model/TermsOfServiceDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/TermsOfServiceDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/TermsOfServiceDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/TermsOfServiceDtoResponseTests.cs index aba02cf..f6067f3 100644 --- a/src/Org.OpenAPITools.Test/Model/TermsOfServiceDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/TermsOfServiceDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing TermsOfServiceDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/TermsOfServiceDtoTests.cs b/src/Coscine.ApiClient.Test/Model/TermsOfServiceDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/TermsOfServiceDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/TermsOfServiceDtoTests.cs index b314370..d0ba3d7 100644 --- a/src/Org.OpenAPITools.Test/Model/TermsOfServiceDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/TermsOfServiceDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing TermsOfServiceDto diff --git a/src/Org.OpenAPITools.Test/Model/TitleDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/TitleDtoPagedResponseTests.cs similarity index 73% rename from src/Org.OpenAPITools.Test/Model/TitleDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/TitleDtoPagedResponseTests.cs index c856103..40e57ce 100644 --- a/src/Org.OpenAPITools.Test/Model/TitleDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/TitleDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing TitleDtoIEnumerablePagedResponse + /// Class for testing TitleDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class TitleDtoIEnumerablePagedResponseTests : IDisposable + public class TitleDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for TitleDtoIEnumerablePagedResponse - //private TitleDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for TitleDtoPagedResponse + //private TitleDtoPagedResponse instance; - public TitleDtoIEnumerablePagedResponseTests() + public TitleDtoPagedResponseTests() { - // TODO uncomment below to create an instance of TitleDtoIEnumerablePagedResponse - //instance = new TitleDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of TitleDtoPagedResponse + //instance = new TitleDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of TitleDtoIEnumerablePagedResponse + /// Test an instance of TitleDtoPagedResponse /// </summary> [Fact] - public void TitleDtoIEnumerablePagedResponseInstanceTest() + public void TitleDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" TitleDtoIEnumerablePagedResponse - //Assert.IsType<TitleDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" TitleDtoPagedResponse + //Assert.IsType<TitleDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/TitleDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/TitleDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/TitleDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/TitleDtoResponseTests.cs index 8b13d65..9bd76b0 100644 --- a/src/Org.OpenAPITools.Test/Model/TitleDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/TitleDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing TitleDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/TitleDtoTests.cs b/src/Coscine.ApiClient.Test/Model/TitleDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/TitleDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/TitleDtoTests.cs index 63ddc06..350b8ff 100644 --- a/src/Org.OpenAPITools.Test/Model/TitleDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/TitleDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing TitleDto diff --git a/src/Org.OpenAPITools.Test/Model/TitleForUserManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/TitleForUserManipulationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/TitleForUserManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/TitleForUserManipulationDtoTests.cs index 43a50c0..266a943 100644 --- a/src/Org.OpenAPITools.Test/Model/TitleForUserManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/TitleForUserManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing TitleForUserManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/TreeDataTypeTests.cs b/src/Coscine.ApiClient.Test/Model/TreeDataTypeTests.cs similarity index 91% rename from src/Org.OpenAPITools.Test/Model/TreeDataTypeTests.cs rename to src/Coscine.ApiClient.Test/Model/TreeDataTypeTests.cs index 190ed81..e38e9fc 100644 --- a/src/Org.OpenAPITools.Test/Model/TreeDataTypeTests.cs +++ b/src/Coscine.ApiClient.Test/Model/TreeDataTypeTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing TreeDataType diff --git a/src/Org.OpenAPITools.Test/Model/UserDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/UserDtoPagedResponseTests.cs similarity index 73% rename from src/Org.OpenAPITools.Test/Model/UserDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/UserDtoPagedResponseTests.cs index ce68293..2073f5a 100644 --- a/src/Org.OpenAPITools.Test/Model/UserDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/UserDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing UserDtoIEnumerablePagedResponse + /// Class for testing UserDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class UserDtoIEnumerablePagedResponseTests : IDisposable + public class UserDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for UserDtoIEnumerablePagedResponse - //private UserDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for UserDtoPagedResponse + //private UserDtoPagedResponse instance; - public UserDtoIEnumerablePagedResponseTests() + public UserDtoPagedResponseTests() { - // TODO uncomment below to create an instance of UserDtoIEnumerablePagedResponse - //instance = new UserDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of UserDtoPagedResponse + //instance = new UserDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of UserDtoIEnumerablePagedResponse + /// Test an instance of UserDtoPagedResponse /// </summary> [Fact] - public void UserDtoIEnumerablePagedResponseInstanceTest() + public void UserDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" UserDtoIEnumerablePagedResponse - //Assert.IsType<UserDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" UserDtoPagedResponse + //Assert.IsType<UserDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/UserDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/UserDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/UserDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/UserDtoResponseTests.cs index 9288cf2..a5f493c 100644 --- a/src/Org.OpenAPITools.Test/Model/UserDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/UserDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing UserDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/UserDtoTests.cs b/src/Coscine.ApiClient.Test/Model/UserDtoTests.cs similarity index 96% rename from src/Org.OpenAPITools.Test/Model/UserDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/UserDtoTests.cs index 72c422f..00b04f6 100644 --- a/src/Org.OpenAPITools.Test/Model/UserDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/UserDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing UserDto diff --git a/src/Org.OpenAPITools.Test/Model/UserEmailDtoTests.cs b/src/Coscine.ApiClient.Test/Model/UserEmailDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/UserEmailDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/UserEmailDtoTests.cs index 3bd2fd1..2634f35 100644 --- a/src/Org.OpenAPITools.Test/Model/UserEmailDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/UserEmailDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing UserEmailDto diff --git a/src/Org.OpenAPITools.Test/Model/UserForUpdateDtoTests.cs b/src/Coscine.ApiClient.Test/Model/UserForUpdateDtoTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/UserForUpdateDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/UserForUpdateDtoTests.cs index 9ebe926..f0a1b60 100644 --- a/src/Org.OpenAPITools.Test/Model/UserForUpdateDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/UserForUpdateDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing UserForUpdateDto diff --git a/src/Org.OpenAPITools.Test/Model/UserInstituteDtoTests.cs b/src/Coscine.ApiClient.Test/Model/UserInstituteDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/UserInstituteDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/UserInstituteDtoTests.cs index 943e9a4..17eb99a 100644 --- a/src/Org.OpenAPITools.Test/Model/UserInstituteDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/UserInstituteDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing UserInstituteDto diff --git a/src/Org.OpenAPITools.Test/Model/UserMergeDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/UserMergeDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/UserMergeDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/UserMergeDtoResponseTests.cs index 980d0a0..e1bca5c 100644 --- a/src/Org.OpenAPITools.Test/Model/UserMergeDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/UserMergeDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing UserMergeDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/UserMergeDtoTests.cs b/src/Coscine.ApiClient.Test/Model/UserMergeDtoTests.cs similarity index 92% rename from src/Org.OpenAPITools.Test/Model/UserMergeDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/UserMergeDtoTests.cs index 6b66d51..4d2b325 100644 --- a/src/Org.OpenAPITools.Test/Model/UserMergeDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/UserMergeDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing UserMergeDto diff --git a/src/Org.OpenAPITools.Test/Model/UserMinimalDtoTests.cs b/src/Coscine.ApiClient.Test/Model/UserMinimalDtoTests.cs similarity index 92% rename from src/Org.OpenAPITools.Test/Model/UserMinimalDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/UserMinimalDtoTests.cs index abf08b0..cb169b7 100644 --- a/src/Org.OpenAPITools.Test/Model/UserMinimalDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/UserMinimalDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing UserMinimalDto diff --git a/src/Org.OpenAPITools.Test/Model/UserOrganizationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/UserOrganizationDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/UserOrganizationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/UserOrganizationDtoTests.cs index 6914d88..a5995d8 100644 --- a/src/Org.OpenAPITools.Test/Model/UserOrganizationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/UserOrganizationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing UserOrganizationDto diff --git a/src/Org.OpenAPITools.Test/Model/UserTermsOfServiceAcceptDtoTests.cs b/src/Coscine.ApiClient.Test/Model/UserTermsOfServiceAcceptDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/UserTermsOfServiceAcceptDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/UserTermsOfServiceAcceptDtoTests.cs index 8c6f91b..ba172a3 100644 --- a/src/Org.OpenAPITools.Test/Model/UserTermsOfServiceAcceptDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/UserTermsOfServiceAcceptDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing UserTermsOfServiceAcceptDto diff --git a/src/Org.OpenAPITools.Test/Model/VisibilityDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/VisibilityDtoPagedResponseTests.cs similarity index 73% rename from src/Org.OpenAPITools.Test/Model/VisibilityDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/VisibilityDtoPagedResponseTests.cs index fe9b026..eaf1e3d 100644 --- a/src/Org.OpenAPITools.Test/Model/VisibilityDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/VisibilityDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing VisibilityDtoIEnumerablePagedResponse + /// Class for testing VisibilityDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class VisibilityDtoIEnumerablePagedResponseTests : IDisposable + public class VisibilityDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for VisibilityDtoIEnumerablePagedResponse - //private VisibilityDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for VisibilityDtoPagedResponse + //private VisibilityDtoPagedResponse instance; - public VisibilityDtoIEnumerablePagedResponseTests() + public VisibilityDtoPagedResponseTests() { - // TODO uncomment below to create an instance of VisibilityDtoIEnumerablePagedResponse - //instance = new VisibilityDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of VisibilityDtoPagedResponse + //instance = new VisibilityDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of VisibilityDtoIEnumerablePagedResponse + /// Test an instance of VisibilityDtoPagedResponse /// </summary> [Fact] - public void VisibilityDtoIEnumerablePagedResponseInstanceTest() + public void VisibilityDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" VisibilityDtoIEnumerablePagedResponse - //Assert.IsType<VisibilityDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" VisibilityDtoPagedResponse + //Assert.IsType<VisibilityDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/VisibilityDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/VisibilityDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/VisibilityDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/VisibilityDtoResponseTests.cs index 4322123..ca22904 100644 --- a/src/Org.OpenAPITools.Test/Model/VisibilityDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/VisibilityDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing VisibilityDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/VisibilityDtoTests.cs b/src/Coscine.ApiClient.Test/Model/VisibilityDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/VisibilityDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/VisibilityDtoTests.cs index edb71a7..3e82239 100644 --- a/src/Org.OpenAPITools.Test/Model/VisibilityDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/VisibilityDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing VisibilityDto diff --git a/src/Org.OpenAPITools.Test/Model/VisibilityForProjectManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/VisibilityForProjectManipulationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/VisibilityForProjectManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/VisibilityForProjectManipulationDtoTests.cs index 321906c..3afb359 100644 --- a/src/Org.OpenAPITools.Test/Model/VisibilityForProjectManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/VisibilityForProjectManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing VisibilityForProjectManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/VisibilityForResourceManipulationDtoTests.cs b/src/Coscine.ApiClient.Test/Model/VisibilityForResourceManipulationDtoTests.cs similarity index 93% rename from src/Org.OpenAPITools.Test/Model/VisibilityForResourceManipulationDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/VisibilityForResourceManipulationDtoTests.cs index d5192a1..e7fd699 100644 --- a/src/Org.OpenAPITools.Test/Model/VisibilityForResourceManipulationDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/VisibilityForResourceManipulationDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing VisibilityForResourceManipulationDto diff --git a/src/Org.OpenAPITools.Test/Model/VocabularyDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/VocabularyDtoPagedResponseTests.cs similarity index 73% rename from src/Org.OpenAPITools.Test/Model/VocabularyDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/VocabularyDtoPagedResponseTests.cs index 7f0e2d0..cce0d06 100644 --- a/src/Org.OpenAPITools.Test/Model/VocabularyDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/VocabularyDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing VocabularyDtoIEnumerablePagedResponse + /// Class for testing VocabularyDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class VocabularyDtoIEnumerablePagedResponseTests : IDisposable + public class VocabularyDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for VocabularyDtoIEnumerablePagedResponse - //private VocabularyDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for VocabularyDtoPagedResponse + //private VocabularyDtoPagedResponse instance; - public VocabularyDtoIEnumerablePagedResponseTests() + public VocabularyDtoPagedResponseTests() { - // TODO uncomment below to create an instance of VocabularyDtoIEnumerablePagedResponse - //instance = new VocabularyDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of VocabularyDtoPagedResponse + //instance = new VocabularyDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of VocabularyDtoIEnumerablePagedResponse + /// Test an instance of VocabularyDtoPagedResponse /// </summary> [Fact] - public void VocabularyDtoIEnumerablePagedResponseInstanceTest() + public void VocabularyDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" VocabularyDtoIEnumerablePagedResponse - //Assert.IsType<VocabularyDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" VocabularyDtoPagedResponse + //Assert.IsType<VocabularyDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/VocabularyDtoTests.cs b/src/Coscine.ApiClient.Test/Model/VocabularyDtoTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/VocabularyDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/VocabularyDtoTests.cs index 9eab48d..70c3d29 100644 --- a/src/Org.OpenAPITools.Test/Model/VocabularyDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/VocabularyDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing VocabularyDto diff --git a/src/Org.OpenAPITools.Test/Model/VocabularyInstanceDtoIEnumerablePagedResponseTests.cs b/src/Coscine.ApiClient.Test/Model/VocabularyInstanceDtoPagedResponseTests.cs similarity index 71% rename from src/Org.OpenAPITools.Test/Model/VocabularyInstanceDtoIEnumerablePagedResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/VocabularyInstanceDtoPagedResponseTests.cs index afabe95..b97b132 100644 --- a/src/Org.OpenAPITools.Test/Model/VocabularyInstanceDtoIEnumerablePagedResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/VocabularyInstanceDtoPagedResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,29 +15,29 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> - /// Class for testing VocabularyInstanceDtoIEnumerablePagedResponse + /// Class for testing VocabularyInstanceDtoPagedResponse /// </summary> /// <remarks> /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// </remarks> - public class VocabularyInstanceDtoIEnumerablePagedResponseTests : IDisposable + public class VocabularyInstanceDtoPagedResponseTests : IDisposable { - // TODO uncomment below to declare an instance variable for VocabularyInstanceDtoIEnumerablePagedResponse - //private VocabularyInstanceDtoIEnumerablePagedResponse instance; + // TODO uncomment below to declare an instance variable for VocabularyInstanceDtoPagedResponse + //private VocabularyInstanceDtoPagedResponse instance; - public VocabularyInstanceDtoIEnumerablePagedResponseTests() + public VocabularyInstanceDtoPagedResponseTests() { - // TODO uncomment below to create an instance of VocabularyInstanceDtoIEnumerablePagedResponse - //instance = new VocabularyInstanceDtoIEnumerablePagedResponse(); + // TODO uncomment below to create an instance of VocabularyInstanceDtoPagedResponse + //instance = new VocabularyInstanceDtoPagedResponse(); } public void Dispose() @@ -46,13 +46,13 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test an instance of VocabularyInstanceDtoIEnumerablePagedResponse + /// Test an instance of VocabularyInstanceDtoPagedResponse /// </summary> [Fact] - public void VocabularyInstanceDtoIEnumerablePagedResponseInstanceTest() + public void VocabularyInstanceDtoPagedResponseInstanceTest() { - // TODO uncomment below to test "IsType" VocabularyInstanceDtoIEnumerablePagedResponse - //Assert.IsType<VocabularyInstanceDtoIEnumerablePagedResponse>(instance); + // TODO uncomment below to test "IsType" VocabularyInstanceDtoPagedResponse + //Assert.IsType<VocabularyInstanceDtoPagedResponse>(instance); } /// <summary> @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/VocabularyInstanceDtoResponseTests.cs b/src/Coscine.ApiClient.Test/Model/VocabularyInstanceDtoResponseTests.cs similarity index 94% rename from src/Org.OpenAPITools.Test/Model/VocabularyInstanceDtoResponseTests.cs rename to src/Coscine.ApiClient.Test/Model/VocabularyInstanceDtoResponseTests.cs index 729ac14..992e582 100644 --- a/src/Org.OpenAPITools.Test/Model/VocabularyInstanceDtoResponseTests.cs +++ b/src/Coscine.ApiClient.Test/Model/VocabularyInstanceDtoResponseTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing VocabularyInstanceDtoResponse @@ -65,21 +65,21 @@ namespace Org.OpenAPITools.Test.Model } /// <summary> - /// Test the property 'StatusCode' + /// Test the property 'IsSuccess' /// </summary> [Fact] - public void StatusCodeTest() + public void IsSuccessTest() { - // TODO unit test for the property 'StatusCode' + // TODO unit test for the property 'IsSuccess' } /// <summary> - /// Test the property 'IsSuccess' + /// Test the property 'StatusCode' /// </summary> [Fact] - public void IsSuccessTest() + public void StatusCodeTest() { - // TODO unit test for the property 'IsSuccess' + // TODO unit test for the property 'StatusCode' } /// <summary> diff --git a/src/Org.OpenAPITools.Test/Model/VocabularyInstanceDtoTests.cs b/src/Coscine.ApiClient.Test/Model/VocabularyInstanceDtoTests.cs similarity index 95% rename from src/Org.OpenAPITools.Test/Model/VocabularyInstanceDtoTests.cs rename to src/Coscine.ApiClient.Test/Model/VocabularyInstanceDtoTests.cs index 3d2fe1c..45689fa 100644 --- a/src/Org.OpenAPITools.Test/Model/VocabularyInstanceDtoTests.cs +++ b/src/Coscine.ApiClient.Test/Model/VocabularyInstanceDtoTests.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,12 +15,12 @@ using System; using System.Linq; using System.IO; using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Model; +using Coscine.ApiClient.Client; using System.Reflection; using Newtonsoft.Json; -namespace Org.OpenAPITools.Test.Model +namespace Coscine.ApiClient.Test.Model { /// <summary> /// Class for testing VocabularyInstanceDto diff --git a/src/Org.OpenAPITools/Api/AdminApi.cs b/src/Coscine.ApiClient/Api/AdminApi.cs similarity index 56% rename from src/Org.OpenAPITools/Api/AdminApi.cs rename to src/Coscine.ApiClient/Api/AdminApi.cs index 0440351..3327c75 100644 --- a/src/Org.OpenAPITools/Api/AdminApi.cs +++ b/src/Coscine.ApiClient/Api/AdminApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2AdminOptions(int operationIndex = 0); @@ -41,22 +41,23 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2AdminOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves all projects. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="includeDeleted"> (optional)</param> + /// <param name="includeQuotas"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ProjectAdminDtoIEnumerablePagedResponse</returns> - ProjectAdminDtoIEnumerablePagedResponse GetAllProjects(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ProjectAdminDtoPagedResponse</returns> + ProjectAdminDtoPagedResponse GetAllProjects(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), bool? includeQuotas = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all projects. @@ -64,26 +65,27 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="includeDeleted"> (optional)</param> + /// <param name="includeQuotas"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ProjectAdminDtoIEnumerablePagedResponse</returns> - ApiResponse<ProjectAdminDtoIEnumerablePagedResponse> GetAllProjectsWithHttpInfo(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of ProjectAdminDtoPagedResponse</returns> + ApiResponse<ProjectAdminDtoPagedResponse> GetAllProjectsWithHttpInfo(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), bool? includeQuotas = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all resources. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="includeDeleted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ResourceAdminDtoIEnumerablePagedResponse</returns> - ResourceAdminDtoIEnumerablePagedResponse GetAllResources(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ResourceAdminDtoPagedResponse</returns> + ResourceAdminDtoPagedResponse GetAllResources(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all resources. @@ -91,25 +93,25 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="includeDeleted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ResourceAdminDtoIEnumerablePagedResponse</returns> - ApiResponse<ResourceAdminDtoIEnumerablePagedResponse> GetAllResourcesWithHttpInfo(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of ResourceAdminDtoPagedResponse</returns> + ApiResponse<ResourceAdminDtoPagedResponse> GetAllResourcesWithHttpInfo(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all users. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="orderBy"> (optional)</param> /// <param name="tosAccepted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>UserDtoIEnumerablePagedResponse</returns> - UserDtoIEnumerablePagedResponse GetAllUsers(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0); + /// <returns>UserDtoPagedResponse</returns> + UserDtoPagedResponse GetAllUsers(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0); /// <summary> /// Retrieves all users. @@ -117,18 +119,18 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="orderBy"> (optional)</param> /// <param name="tosAccepted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of UserDtoIEnumerablePagedResponse</returns> - ApiResponse<UserDtoIEnumerablePagedResponse> GetAllUsersWithHttpInfo(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0); + /// <returns>ApiResponse of UserDtoPagedResponse</returns> + ApiResponse<UserDtoPagedResponse> GetAllUsersWithHttpInfo(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0); /// <summary> /// Gets a metadata graph. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="graphUri"></param> /// <param name="format"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -141,7 +143,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="graphUri"></param> /// <param name="format"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -150,39 +152,19 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a metadata graph. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> - /// <param name="metadataPatchAdminParameters">The parameters for updating a metadata graph. (optional)</param> - /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns></returns> - void PatchMetadataGraph(MetadataPatchAdminParameters? metadataPatchAdminParameters = default(MetadataPatchAdminParameters?), int operationIndex = 0); - - /// <summary> - /// Updates a metadata graph. - /// </summary> - /// <remarks> - /// - /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> - /// <param name="metadataPatchAdminParameters">The parameters for updating a metadata graph. (optional)</param> - /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of Object(void)</returns> - ApiResponse<Object> PatchMetadataGraphWithHttpInfo(MetadataPatchAdminParameters? metadataPatchAdminParameters = default(MetadataPatchAdminParameters?), int operationIndex = 0); - /// <summary> - /// Creates a metadata graph. - /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="metadataUpdateAdminParameters">The metadata update admin parameters. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void UpdateMetadataGraph(MetadataUpdateAdminParameters? metadataUpdateAdminParameters = default(MetadataUpdateAdminParameters?), int operationIndex = 0); /// <summary> - /// Creates a metadata graph. + /// Updates a metadata graph. /// </summary> /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="metadataUpdateAdminParameters">The metadata update admin parameters. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> @@ -202,7 +184,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -214,7 +196,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -225,16 +207,17 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="includeDeleted"> (optional)</param> + /// <param name="includeQuotas"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ProjectAdminDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<ProjectAdminDtoIEnumerablePagedResponse> GetAllProjectsAsync(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ProjectAdminDtoPagedResponse</returns> + System.Threading.Tasks.Task<ProjectAdminDtoPagedResponse> GetAllProjectsAsync(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), bool? includeQuotas = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all projects. @@ -242,31 +225,32 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="includeDeleted"> (optional)</param> + /// <param name="includeQuotas"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ProjectAdminDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<ProjectAdminDtoIEnumerablePagedResponse>> GetAllProjectsWithHttpInfoAsync(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (ProjectAdminDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<ProjectAdminDtoPagedResponse>> GetAllProjectsWithHttpInfoAsync(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), bool? includeQuotas = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all resources. /// </summary> /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="includeDeleted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ResourceAdminDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<ResourceAdminDtoIEnumerablePagedResponse> GetAllResourcesAsync(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ResourceAdminDtoPagedResponse</returns> + System.Threading.Tasks.Task<ResourceAdminDtoPagedResponse> GetAllResourcesAsync(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all resources. @@ -274,30 +258,30 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="includeDeleted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ResourceAdminDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<ResourceAdminDtoIEnumerablePagedResponse>> GetAllResourcesWithHttpInfoAsync(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (ResourceAdminDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<ResourceAdminDtoPagedResponse>> GetAllResourcesWithHttpInfoAsync(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all users. /// </summary> /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="orderBy"> (optional)</param> /// <param name="tosAccepted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of UserDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<UserDtoIEnumerablePagedResponse> GetAllUsersAsync(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of UserDtoPagedResponse</returns> + System.Threading.Tasks.Task<UserDtoPagedResponse> GetAllUsersAsync(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all users. @@ -305,22 +289,22 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="orderBy"> (optional)</param> /// <param name="tosAccepted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (UserDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<UserDtoIEnumerablePagedResponse>> GetAllUsersWithHttpInfoAsync(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (UserDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<UserDtoPagedResponse>> GetAllUsersWithHttpInfoAsync(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Gets a metadata graph. /// </summary> /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="graphUri"></param> /// <param name="format"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -334,7 +318,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="graphUri"></param> /// <param name="format"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -347,32 +331,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> - /// <param name="metadataPatchAdminParameters">The parameters for updating a metadata graph. (optional)</param> - /// <param name="operationIndex">Index associated with the operation.</param> - /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of void</returns> - System.Threading.Tasks.Task PatchMetadataGraphAsync(MetadataPatchAdminParameters? metadataPatchAdminParameters = default(MetadataPatchAdminParameters?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - - /// <summary> - /// Updates a metadata graph. - /// </summary> - /// <remarks> - /// - /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> - /// <param name="metadataPatchAdminParameters">The parameters for updating a metadata graph. (optional)</param> - /// <param name="operationIndex">Index associated with the operation.</param> - /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse</returns> - System.Threading.Tasks.Task<ApiResponse<Object>> PatchMetadataGraphWithHttpInfoAsync(MetadataPatchAdminParameters? metadataPatchAdminParameters = default(MetadataPatchAdminParameters?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// <summary> - /// Creates a metadata graph. - /// </summary> - /// <remarks> - /// - /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="metadataUpdateAdminParameters">The metadata update admin parameters. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -380,12 +339,12 @@ namespace Org.OpenAPITools.Api System.Threading.Tasks.Task UpdateMetadataGraphAsync(MetadataUpdateAdminParameters? metadataUpdateAdminParameters = default(MetadataUpdateAdminParameters?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> - /// Creates a metadata graph. + /// Updates a metadata graph. /// </summary> /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="metadataUpdateAdminParameters">The metadata update admin parameters. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -407,7 +366,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class AdminApi : IAdminApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="AdminApi"/> class. @@ -423,13 +382,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public AdminApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -438,17 +397,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public AdminApi(Org.OpenAPITools.Client.Configuration configuration) + public AdminApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -458,7 +417,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public AdminApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public AdminApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -467,18 +426,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -493,12 +452,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -514,7 +473,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2AdminOptions(int operationIndex = 0) @@ -525,12 +484,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2AdminOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2AdminOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -539,13 +498,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -578,7 +537,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -590,14 +549,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2AdminOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2AdminOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -606,13 +565,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -646,34 +605,36 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all projects. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="includeDeleted"> (optional)</param> + /// <param name="includeQuotas"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ProjectAdminDtoIEnumerablePagedResponse</returns> - public ProjectAdminDtoIEnumerablePagedResponse GetAllProjects(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ProjectAdminDtoPagedResponse</returns> + public ProjectAdminDtoPagedResponse GetAllProjects(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), bool? includeQuotas = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ProjectAdminDtoIEnumerablePagedResponse> localVarResponse = GetAllProjectsWithHttpInfo(topLevel, includeDeleted, pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<ProjectAdminDtoPagedResponse> localVarResponse = GetAllProjectsWithHttpInfo(topLevel, includeDeleted, includeQuotas, pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all projects. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="includeDeleted"> (optional)</param> + /// <param name="includeQuotas"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ProjectAdminDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ProjectAdminDtoIEnumerablePagedResponse> GetAllProjectsWithHttpInfo(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of ProjectAdminDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<ProjectAdminDtoPagedResponse> GetAllProjectsWithHttpInfo(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), bool? includeQuotas = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -684,13 +645,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -698,23 +659,27 @@ namespace Org.OpenAPITools.Api if (topLevel != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "TopLevel", topLevel)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "TopLevel", topLevel)); } if (includeDeleted != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "IncludeDeleted", includeDeleted)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "IncludeDeleted", includeDeleted)); + } + if (includeQuotas != null) + { + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "IncludeQuotas", includeQuotas)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "AdminApi.GetAllProjects"; @@ -727,7 +692,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<ProjectAdminDtoIEnumerablePagedResponse>("/api/v2/admin/projects", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<ProjectAdminDtoPagedResponse>("/api/v2/admin/projects", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAllProjects", localVarResponse); @@ -743,37 +708,39 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all projects. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="includeDeleted"> (optional)</param> + /// <param name="includeQuotas"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ProjectAdminDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<ProjectAdminDtoIEnumerablePagedResponse> GetAllProjectsAsync(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ProjectAdminDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<ProjectAdminDtoPagedResponse> GetAllProjectsAsync(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), bool? includeQuotas = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ProjectAdminDtoIEnumerablePagedResponse> localVarResponse = await GetAllProjectsWithHttpInfoAsync(topLevel, includeDeleted, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ProjectAdminDtoPagedResponse> localVarResponse = await GetAllProjectsWithHttpInfoAsync(topLevel, includeDeleted, includeQuotas, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all projects. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="includeDeleted"> (optional)</param> + /// <param name="includeQuotas"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ProjectAdminDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ProjectAdminDtoIEnumerablePagedResponse>> GetAllProjectsWithHttpInfoAsync(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (ProjectAdminDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ProjectAdminDtoPagedResponse>> GetAllProjectsWithHttpInfoAsync(bool? topLevel = default(bool?), bool? includeDeleted = default(bool?), bool? includeQuotas = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -784,13 +751,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -798,23 +765,27 @@ namespace Org.OpenAPITools.Api if (topLevel != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "TopLevel", topLevel)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "TopLevel", topLevel)); } if (includeDeleted != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "IncludeDeleted", includeDeleted)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "IncludeDeleted", includeDeleted)); + } + if (includeQuotas != null) + { + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "IncludeQuotas", includeQuotas)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "AdminApi.GetAllProjects"; @@ -827,7 +798,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<ProjectAdminDtoIEnumerablePagedResponse>("/api/v2/admin/projects", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<ProjectAdminDtoPagedResponse>("/api/v2/admin/projects", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -844,32 +815,32 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all resources. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="includeDeleted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ResourceAdminDtoIEnumerablePagedResponse</returns> - public ResourceAdminDtoIEnumerablePagedResponse GetAllResources(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ResourceAdminDtoPagedResponse</returns> + public ResourceAdminDtoPagedResponse GetAllResources(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ResourceAdminDtoIEnumerablePagedResponse> localVarResponse = GetAllResourcesWithHttpInfo(includeDeleted, pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<ResourceAdminDtoPagedResponse> localVarResponse = GetAllResourcesWithHttpInfo(includeDeleted, pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all resources. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="includeDeleted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ResourceAdminDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ResourceAdminDtoIEnumerablePagedResponse> GetAllResourcesWithHttpInfo(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of ResourceAdminDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<ResourceAdminDtoPagedResponse> GetAllResourcesWithHttpInfo(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -880,13 +851,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -894,19 +865,19 @@ namespace Org.OpenAPITools.Api if (includeDeleted != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "IncludeDeleted", includeDeleted)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "IncludeDeleted", includeDeleted)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "AdminApi.GetAllResources"; @@ -919,7 +890,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<ResourceAdminDtoIEnumerablePagedResponse>("/api/v2/admin/resources", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<ResourceAdminDtoPagedResponse>("/api/v2/admin/resources", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAllResources", localVarResponse); @@ -935,35 +906,35 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all resources. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="includeDeleted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ResourceAdminDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<ResourceAdminDtoIEnumerablePagedResponse> GetAllResourcesAsync(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ResourceAdminDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<ResourceAdminDtoPagedResponse> GetAllResourcesAsync(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ResourceAdminDtoIEnumerablePagedResponse> localVarResponse = await GetAllResourcesWithHttpInfoAsync(includeDeleted, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ResourceAdminDtoPagedResponse> localVarResponse = await GetAllResourcesWithHttpInfoAsync(includeDeleted, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all resources. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="includeDeleted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ResourceAdminDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ResourceAdminDtoIEnumerablePagedResponse>> GetAllResourcesWithHttpInfoAsync(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (ResourceAdminDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ResourceAdminDtoPagedResponse>> GetAllResourcesWithHttpInfoAsync(bool? includeDeleted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -974,13 +945,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -988,19 +959,19 @@ namespace Org.OpenAPITools.Api if (includeDeleted != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "IncludeDeleted", includeDeleted)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "IncludeDeleted", includeDeleted)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "AdminApi.GetAllResources"; @@ -1013,7 +984,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<ResourceAdminDtoIEnumerablePagedResponse>("/api/v2/admin/resources", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<ResourceAdminDtoPagedResponse>("/api/v2/admin/resources", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1030,32 +1001,32 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all users. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="orderBy"> (optional)</param> /// <param name="tosAccepted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>UserDtoIEnumerablePagedResponse</returns> - public UserDtoIEnumerablePagedResponse GetAllUsers(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0) + /// <returns>UserDtoPagedResponse</returns> + public UserDtoPagedResponse GetAllUsers(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<UserDtoIEnumerablePagedResponse> localVarResponse = GetAllUsersWithHttpInfo(orderBy, tosAccepted, pageNumber, pageSize); + Coscine.ApiClient.Client.ApiResponse<UserDtoPagedResponse> localVarResponse = GetAllUsersWithHttpInfo(orderBy, tosAccepted, pageNumber, pageSize); return localVarResponse.Data; } /// <summary> /// Retrieves all users. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="orderBy"> (optional)</param> /// <param name="tosAccepted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of UserDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<UserDtoIEnumerablePagedResponse> GetAllUsersWithHttpInfo(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0) + /// <returns>ApiResponse of UserDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<UserDtoPagedResponse> GetAllUsersWithHttpInfo(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1066,13 +1037,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1080,19 +1051,19 @@ namespace Org.OpenAPITools.Api if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (tosAccepted != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "TosAccepted", tosAccepted)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "TosAccepted", tosAccepted)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } localVarRequestOptions.Operation = "AdminApi.GetAllUsers"; @@ -1105,7 +1076,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<UserDtoIEnumerablePagedResponse>("/api/v2/admin/users", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<UserDtoPagedResponse>("/api/v2/admin/users", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAllUsers", localVarResponse); @@ -1121,35 +1092,35 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all users. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="orderBy"> (optional)</param> /// <param name="tosAccepted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of UserDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<UserDtoIEnumerablePagedResponse> GetAllUsersAsync(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of UserDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<UserDtoPagedResponse> GetAllUsersAsync(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<UserDtoIEnumerablePagedResponse> localVarResponse = await GetAllUsersWithHttpInfoAsync(orderBy, tosAccepted, pageNumber, pageSize, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<UserDtoPagedResponse> localVarResponse = await GetAllUsersWithHttpInfoAsync(orderBy, tosAccepted, pageNumber, pageSize, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all users. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="orderBy"> (optional)</param> /// <param name="tosAccepted"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (UserDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<UserDtoIEnumerablePagedResponse>> GetAllUsersWithHttpInfoAsync(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (UserDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<UserDtoPagedResponse>> GetAllUsersWithHttpInfoAsync(string? orderBy = default(string?), bool? tosAccepted = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1160,13 +1131,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1174,19 +1145,19 @@ namespace Org.OpenAPITools.Api if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (tosAccepted != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "TosAccepted", tosAccepted)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "TosAccepted", tosAccepted)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } localVarRequestOptions.Operation = "AdminApi.GetAllUsers"; @@ -1199,7 +1170,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<UserDtoIEnumerablePagedResponse>("/api/v2/admin/users", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<UserDtoPagedResponse>("/api/v2/admin/users", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1216,34 +1187,34 @@ namespace Org.OpenAPITools.Api /// <summary> /// Gets a metadata graph. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="graphUri"></param> /// <param name="format"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>RdfDefinitionDtoResponse</returns> public RdfDefinitionDtoResponse GetMetadataGraph(string graphUri, RdfFormat? format = default(RdfFormat?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<RdfDefinitionDtoResponse> localVarResponse = GetMetadataGraphWithHttpInfo(graphUri, format); + Coscine.ApiClient.Client.ApiResponse<RdfDefinitionDtoResponse> localVarResponse = GetMetadataGraphWithHttpInfo(graphUri, format); return localVarResponse.Data; } /// <summary> /// Gets a metadata graph. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="graphUri"></param> /// <param name="format"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of RdfDefinitionDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<RdfDefinitionDtoResponse> GetMetadataGraphWithHttpInfo(string graphUri, RdfFormat? format = default(RdfFormat?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<RdfDefinitionDtoResponse> GetMetadataGraphWithHttpInfo(string graphUri, RdfFormat? format = default(RdfFormat?), int operationIndex = 0) { // verify the required parameter 'graphUri' is set if (graphUri == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'graphUri' when calling AdminApi->GetMetadataGraph"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'graphUri' when calling AdminApi->GetMetadataGraph"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1254,22 +1225,22 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "GraphUri", graphUri)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "GraphUri", graphUri)); if (format != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Format", format)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Format", format)); } localVarRequestOptions.Operation = "AdminApi.GetMetadataGraph"; @@ -1298,7 +1269,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Gets a metadata graph. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="graphUri"></param> /// <param name="format"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -1306,29 +1277,29 @@ namespace Org.OpenAPITools.Api /// <returns>Task of RdfDefinitionDtoResponse</returns> public async System.Threading.Tasks.Task<RdfDefinitionDtoResponse> GetMetadataGraphAsync(string graphUri, RdfFormat? format = default(RdfFormat?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<RdfDefinitionDtoResponse> localVarResponse = await GetMetadataGraphWithHttpInfoAsync(graphUri, format, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<RdfDefinitionDtoResponse> localVarResponse = await GetMetadataGraphWithHttpInfoAsync(graphUri, format, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Gets a metadata graph. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="graphUri"></param> /// <param name="format"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (RdfDefinitionDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<RdfDefinitionDtoResponse>> GetMetadataGraphWithHttpInfoAsync(string graphUri, RdfFormat? format = default(RdfFormat?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<RdfDefinitionDtoResponse>> GetMetadataGraphWithHttpInfoAsync(string graphUri, RdfFormat? format = default(RdfFormat?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'graphUri' is set if (graphUri == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'graphUri' when calling AdminApi->GetMetadataGraph"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'graphUri' when calling AdminApi->GetMetadataGraph"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1339,22 +1310,22 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "GraphUri", graphUri)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "GraphUri", graphUri)); if (format != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Format", format)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Format", format)); } localVarRequestOptions.Operation = "AdminApi.GetMetadataGraph"; @@ -1384,151 +1355,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a metadata graph. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> - /// <param name="metadataPatchAdminParameters">The parameters for updating a metadata graph. (optional)</param> - /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns></returns> - public void PatchMetadataGraph(MetadataPatchAdminParameters? metadataPatchAdminParameters = default(MetadataPatchAdminParameters?), int operationIndex = 0) - { - PatchMetadataGraphWithHttpInfo(metadataPatchAdminParameters); - } - - /// <summary> - /// Updates a metadata graph. - /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> - /// <param name="metadataPatchAdminParameters">The parameters for updating a metadata graph. (optional)</param> - /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> PatchMetadataGraphWithHttpInfo(MetadataPatchAdminParameters? metadataPatchAdminParameters = default(MetadataPatchAdminParameters?), int operationIndex = 0) - { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); - - string[] _contentTypes = new string[] { - "application/json", - "text/json", - "application/*+json" - }; - - // to determine the Accept header - string[] _accepts = new string[] { - }; - - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); - if (localVarContentType != null) - { - localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - } - - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); - if (localVarAccept != null) - { - localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - } - - localVarRequestOptions.Data = metadataPatchAdminParameters; - - localVarRequestOptions.Operation = "AdminApi.PatchMetadataGraph"; - localVarRequestOptions.OperationIndex = operationIndex; - - // authentication (Bearer) required - if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) - { - localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); - } - - // make the HTTP request - var localVarResponse = this.Client.Patch<Object>("/api/v2/admin/metadata", localVarRequestOptions, this.Configuration); - if (this.ExceptionFactory != null) - { - Exception _exception = this.ExceptionFactory("PatchMetadataGraph", localVarResponse); - if (_exception != null) - { - throw _exception; - } - } - - return localVarResponse; - } - - /// <summary> - /// Updates a metadata graph. - /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> - /// <param name="metadataPatchAdminParameters">The parameters for updating a metadata graph. (optional)</param> - /// <param name="operationIndex">Index associated with the operation.</param> - /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of void</returns> - public async System.Threading.Tasks.Task PatchMetadataGraphAsync(MetadataPatchAdminParameters? metadataPatchAdminParameters = default(MetadataPatchAdminParameters?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - await PatchMetadataGraphWithHttpInfoAsync(metadataPatchAdminParameters, operationIndex, cancellationToken).ConfigureAwait(false); - } - - /// <summary> - /// Updates a metadata graph. - /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> - /// <param name="metadataPatchAdminParameters">The parameters for updating a metadata graph. (optional)</param> - /// <param name="operationIndex">Index associated with the operation.</param> - /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> PatchMetadataGraphWithHttpInfoAsync(MetadataPatchAdminParameters? metadataPatchAdminParameters = default(MetadataPatchAdminParameters?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); - - string[] _contentTypes = new string[] { - "application/json", - "text/json", - "application/*+json" - }; - - // to determine the Accept header - string[] _accepts = new string[] { - }; - - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); - if (localVarContentType != null) - { - localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - } - - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); - if (localVarAccept != null) - { - localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - } - - localVarRequestOptions.Data = metadataPatchAdminParameters; - - localVarRequestOptions.Operation = "AdminApi.PatchMetadataGraph"; - localVarRequestOptions.OperationIndex = operationIndex; - - // authentication (Bearer) required - if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) - { - localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); - } - - // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PatchAsync<Object>("/api/v2/admin/metadata", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); - - if (this.ExceptionFactory != null) - { - Exception _exception = this.ExceptionFactory("PatchMetadataGraph", localVarResponse); - if (_exception != null) - { - throw _exception; - } - } - - return localVarResponse; - } - - /// <summary> - /// Creates a metadata graph. - /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="metadataUpdateAdminParameters">The metadata update admin parameters. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -1538,15 +1365,15 @@ namespace Org.OpenAPITools.Api } /// <summary> - /// Creates a metadata graph. + /// Updates a metadata graph. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="metadataUpdateAdminParameters">The metadata update admin parameters. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> UpdateMetadataGraphWithHttpInfo(MetadataUpdateAdminParameters? metadataUpdateAdminParameters = default(MetadataUpdateAdminParameters?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> UpdateMetadataGraphWithHttpInfo(MetadataUpdateAdminParameters? metadataUpdateAdminParameters = default(MetadataUpdateAdminParameters?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -1558,13 +1385,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1596,9 +1423,9 @@ namespace Org.OpenAPITools.Api } /// <summary> - /// Creates a metadata graph. + /// Updates a metadata graph. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="metadataUpdateAdminParameters">The metadata update admin parameters. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -1609,17 +1436,17 @@ namespace Org.OpenAPITools.Api } /// <summary> - /// Creates a metadata graph. + /// Updates a metadata graph. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="metadataUpdateAdminParameters">The metadata update admin parameters. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdateMetadataGraphWithHttpInfoAsync(MetadataUpdateAdminParameters? metadataUpdateAdminParameters = default(MetadataUpdateAdminParameters?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> UpdateMetadataGraphWithHttpInfoAsync(MetadataUpdateAdminParameters? metadataUpdateAdminParameters = default(MetadataUpdateAdminParameters?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -1631,13 +1458,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); diff --git a/src/Org.OpenAPITools/Api/ApplicationProfileApi.cs b/src/Coscine.ApiClient/Api/ApplicationProfileApi.cs similarity index 69% rename from src/Org.OpenAPITools/Api/ApplicationProfileApi.cs rename to src/Coscine.ApiClient/Api/ApplicationProfileApi.cs index 3b46d66..2435cd1 100644 --- a/src/Org.OpenAPITools/Api/ApplicationProfileApi.cs +++ b/src/Coscine.ApiClient/Api/ApplicationProfileApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2ApplicationProfilesOptions(int operationIndex = 0); @@ -41,14 +41,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2ApplicationProfilesOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Submits a request to create a new application profile. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="applicationProfileForCreationDto">The details required to create a new application profile. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApplicationProfileForCreationDtoResponse</returns> @@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="applicationProfileForCreationDto">The details required to create a new application profile. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ApplicationProfileForCreationDtoResponse</returns> @@ -68,7 +68,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves an application profile by its URI. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile to retrieve.</param> /// <param name="format">The desired data format for the returned application profile. (optional)</param> /// <param name="acceptLanguage">The preferred language for the application profile data. (optional)</param> @@ -82,7 +82,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile to retrieve.</param> /// <param name="format">The desired data format for the returned application profile. (optional)</param> /// <param name="acceptLanguage">The preferred language for the application profile data. (optional)</param> @@ -92,15 +92,15 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all application profiles. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApplicationProfileDtoIEnumerablePagedResponse</returns> - ApplicationProfileDtoIEnumerablePagedResponse GetApplicationProfiles(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApplicationProfileDtoPagedResponse</returns> + ApplicationProfileDtoPagedResponse GetApplicationProfiles(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all application profiles. @@ -108,19 +108,19 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ApplicationProfileDtoIEnumerablePagedResponse</returns> - ApiResponse<ApplicationProfileDtoIEnumerablePagedResponse> GetApplicationProfilesWithHttpInfo(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of ApplicationProfileDtoPagedResponse</returns> + ApiResponse<ApplicationProfileDtoPagedResponse> GetApplicationProfilesWithHttpInfo(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves the `raw` application profile definition by its URI. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>string</returns> @@ -132,7 +132,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of string</returns> @@ -152,7 +152,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -164,7 +164,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -175,7 +175,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="applicationProfileForCreationDto">The details required to create a new application profile. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -188,7 +188,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="applicationProfileForCreationDto">The details required to create a new application profile. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -200,7 +200,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile to retrieve.</param> /// <param name="format">The desired data format for the returned application profile. (optional)</param> /// <param name="acceptLanguage">The preferred language for the application profile data. (optional)</param> @@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile to retrieve.</param> /// <param name="format">The desired data format for the returned application profile. (optional)</param> /// <param name="acceptLanguage">The preferred language for the application profile data. (optional)</param> @@ -229,7 +229,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> @@ -237,8 +237,8 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApplicationProfileDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<ApplicationProfileDtoIEnumerablePagedResponse> GetApplicationProfilesAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApplicationProfileDtoPagedResponse</returns> + System.Threading.Tasks.Task<ApplicationProfileDtoPagedResponse> GetApplicationProfilesAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all application profiles. @@ -246,7 +246,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> @@ -254,15 +254,15 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ApplicationProfileDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<ApplicationProfileDtoIEnumerablePagedResponse>> GetApplicationProfilesWithHttpInfoAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (ApplicationProfileDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<ApplicationProfileDtoPagedResponse>> GetApplicationProfilesWithHttpInfoAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves the `raw` application profile definition by its URI. /// </summary> /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -275,7 +275,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -297,7 +297,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class ApplicationProfileApi : IApplicationProfileApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="ApplicationProfileApi"/> class. @@ -313,13 +313,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public ApplicationProfileApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -328,17 +328,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public ApplicationProfileApi(Org.OpenAPITools.Client.Configuration configuration) + public ApplicationProfileApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -348,7 +348,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public ApplicationProfileApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public ApplicationProfileApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -357,18 +357,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -383,12 +383,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -404,7 +404,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2ApplicationProfilesOptions(int operationIndex = 0) @@ -415,12 +415,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2ApplicationProfilesOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2ApplicationProfilesOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -429,13 +429,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -468,7 +468,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -480,14 +480,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2ApplicationProfilesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2ApplicationProfilesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -496,13 +496,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -536,26 +536,26 @@ namespace Org.OpenAPITools.Api /// <summary> /// Submits a request to create a new application profile. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="applicationProfileForCreationDto">The details required to create a new application profile. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApplicationProfileForCreationDtoResponse</returns> public ApplicationProfileForCreationDtoResponse CreateApplicationProfileRequest(ApplicationProfileForCreationDto? applicationProfileForCreationDto = default(ApplicationProfileForCreationDto?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ApplicationProfileForCreationDtoResponse> localVarResponse = CreateApplicationProfileRequestWithHttpInfo(applicationProfileForCreationDto); + Coscine.ApiClient.Client.ApiResponse<ApplicationProfileForCreationDtoResponse> localVarResponse = CreateApplicationProfileRequestWithHttpInfo(applicationProfileForCreationDto); return localVarResponse.Data; } /// <summary> /// Submits a request to create a new application profile. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="applicationProfileForCreationDto">The details required to create a new application profile. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ApplicationProfileForCreationDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ApplicationProfileForCreationDtoResponse> CreateApplicationProfileRequestWithHttpInfo(ApplicationProfileForCreationDto? applicationProfileForCreationDto = default(ApplicationProfileForCreationDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ApplicationProfileForCreationDtoResponse> CreateApplicationProfileRequestWithHttpInfo(ApplicationProfileForCreationDto? applicationProfileForCreationDto = default(ApplicationProfileForCreationDto?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -569,13 +569,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -609,29 +609,29 @@ namespace Org.OpenAPITools.Api /// <summary> /// Submits a request to create a new application profile. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="applicationProfileForCreationDto">The details required to create a new application profile. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApplicationProfileForCreationDtoResponse</returns> public async System.Threading.Tasks.Task<ApplicationProfileForCreationDtoResponse> CreateApplicationProfileRequestAsync(ApplicationProfileForCreationDto? applicationProfileForCreationDto = default(ApplicationProfileForCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ApplicationProfileForCreationDtoResponse> localVarResponse = await CreateApplicationProfileRequestWithHttpInfoAsync(applicationProfileForCreationDto, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ApplicationProfileForCreationDtoResponse> localVarResponse = await CreateApplicationProfileRequestWithHttpInfoAsync(applicationProfileForCreationDto, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Submits a request to create a new application profile. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="applicationProfileForCreationDto">The details required to create a new application profile. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ApplicationProfileForCreationDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ApplicationProfileForCreationDtoResponse>> CreateApplicationProfileRequestWithHttpInfoAsync(ApplicationProfileForCreationDto? applicationProfileForCreationDto = default(ApplicationProfileForCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ApplicationProfileForCreationDtoResponse>> CreateApplicationProfileRequestWithHttpInfoAsync(ApplicationProfileForCreationDto? applicationProfileForCreationDto = default(ApplicationProfileForCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -645,13 +645,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -686,7 +686,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves an application profile by its URI. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile to retrieve.</param> /// <param name="format">The desired data format for the returned application profile. (optional)</param> /// <param name="acceptLanguage">The preferred language for the application profile data. (optional)</param> @@ -694,28 +694,28 @@ namespace Org.OpenAPITools.Api /// <returns>ApplicationProfileDtoResponse</returns> public ApplicationProfileDtoResponse GetApplicationProfile(string profile, RdfFormat? format = default(RdfFormat?), AcceptedLanguage? acceptLanguage = default(AcceptedLanguage?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ApplicationProfileDtoResponse> localVarResponse = GetApplicationProfileWithHttpInfo(profile, format, acceptLanguage); + Coscine.ApiClient.Client.ApiResponse<ApplicationProfileDtoResponse> localVarResponse = GetApplicationProfileWithHttpInfo(profile, format, acceptLanguage); return localVarResponse.Data; } /// <summary> /// Retrieves an application profile by its URI. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile to retrieve.</param> /// <param name="format">The desired data format for the returned application profile. (optional)</param> /// <param name="acceptLanguage">The preferred language for the application profile data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ApplicationProfileDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ApplicationProfileDtoResponse> GetApplicationProfileWithHttpInfo(string profile, RdfFormat? format = default(RdfFormat?), AcceptedLanguage? acceptLanguage = default(AcceptedLanguage?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ApplicationProfileDtoResponse> GetApplicationProfileWithHttpInfo(string profile, RdfFormat? format = default(RdfFormat?), AcceptedLanguage? acceptLanguage = default(AcceptedLanguage?), int operationIndex = 0) { // verify the required parameter 'profile' is set if (profile == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'profile' when calling ApplicationProfileApi->GetApplicationProfile"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'profile' when calling ApplicationProfileApi->GetApplicationProfile"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -726,26 +726,26 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("profile", Org.OpenAPITools.Client.ClientUtils.ParameterToString(profile)); // path parameter + localVarRequestOptions.PathParameters.Add("profile", Coscine.ApiClient.Client.ClientUtils.ParameterToString(profile)); // path parameter if (format != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "format", format)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "format", format)); } if (acceptLanguage != null) { - localVarRequestOptions.HeaderParameters.Add("Accept-Language", Org.OpenAPITools.Client.ClientUtils.ParameterToString(acceptLanguage)); // header parameter + localVarRequestOptions.HeaderParameters.Add("Accept-Language", Coscine.ApiClient.Client.ClientUtils.ParameterToString(acceptLanguage)); // header parameter } localVarRequestOptions.Operation = "ApplicationProfileApi.GetApplicationProfile"; @@ -774,7 +774,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves an application profile by its URI. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile to retrieve.</param> /// <param name="format">The desired data format for the returned application profile. (optional)</param> /// <param name="acceptLanguage">The preferred language for the application profile data. (optional)</param> @@ -783,30 +783,30 @@ namespace Org.OpenAPITools.Api /// <returns>Task of ApplicationProfileDtoResponse</returns> public async System.Threading.Tasks.Task<ApplicationProfileDtoResponse> GetApplicationProfileAsync(string profile, RdfFormat? format = default(RdfFormat?), AcceptedLanguage? acceptLanguage = default(AcceptedLanguage?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ApplicationProfileDtoResponse> localVarResponse = await GetApplicationProfileWithHttpInfoAsync(profile, format, acceptLanguage, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ApplicationProfileDtoResponse> localVarResponse = await GetApplicationProfileWithHttpInfoAsync(profile, format, acceptLanguage, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves an application profile by its URI. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile to retrieve.</param> /// <param name="format">The desired data format for the returned application profile. (optional)</param> /// <param name="acceptLanguage">The preferred language for the application profile data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ApplicationProfileDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ApplicationProfileDtoResponse>> GetApplicationProfileWithHttpInfoAsync(string profile, RdfFormat? format = default(RdfFormat?), AcceptedLanguage? acceptLanguage = default(AcceptedLanguage?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ApplicationProfileDtoResponse>> GetApplicationProfileWithHttpInfoAsync(string profile, RdfFormat? format = default(RdfFormat?), AcceptedLanguage? acceptLanguage = default(AcceptedLanguage?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'profile' is set if (profile == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'profile' when calling ApplicationProfileApi->GetApplicationProfile"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'profile' when calling ApplicationProfileApi->GetApplicationProfile"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -817,26 +817,26 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("profile", Org.OpenAPITools.Client.ClientUtils.ParameterToString(profile)); // path parameter + localVarRequestOptions.PathParameters.Add("profile", Coscine.ApiClient.Client.ClientUtils.ParameterToString(profile)); // path parameter if (format != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "format", format)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "format", format)); } if (acceptLanguage != null) { - localVarRequestOptions.HeaderParameters.Add("Accept-Language", Org.OpenAPITools.Client.ClientUtils.ParameterToString(acceptLanguage)); // header parameter + localVarRequestOptions.HeaderParameters.Add("Accept-Language", Coscine.ApiClient.Client.ClientUtils.ParameterToString(acceptLanguage)); // header parameter } localVarRequestOptions.Operation = "ApplicationProfileApi.GetApplicationProfile"; @@ -866,34 +866,34 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all application profiles. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApplicationProfileDtoIEnumerablePagedResponse</returns> - public ApplicationProfileDtoIEnumerablePagedResponse GetApplicationProfiles(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApplicationProfileDtoPagedResponse</returns> + public ApplicationProfileDtoPagedResponse GetApplicationProfiles(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ApplicationProfileDtoIEnumerablePagedResponse> localVarResponse = GetApplicationProfilesWithHttpInfo(searchTerm, language, pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<ApplicationProfileDtoPagedResponse> localVarResponse = GetApplicationProfilesWithHttpInfo(searchTerm, language, pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all application profiles. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ApplicationProfileDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ApplicationProfileDtoIEnumerablePagedResponse> GetApplicationProfilesWithHttpInfo(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of ApplicationProfileDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<ApplicationProfileDtoPagedResponse> GetApplicationProfilesWithHttpInfo(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -904,13 +904,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -918,23 +918,23 @@ namespace Org.OpenAPITools.Api if (searchTerm != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); } if (language != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Language", language)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Language", language)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "ApplicationProfileApi.GetApplicationProfiles"; @@ -947,7 +947,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<ApplicationProfileDtoIEnumerablePagedResponse>("/api/v2/application-profiles/profiles", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<ApplicationProfileDtoPagedResponse>("/api/v2/application-profiles/profiles", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetApplicationProfiles", localVarResponse); @@ -963,7 +963,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all application profiles. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> @@ -971,17 +971,17 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApplicationProfileDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<ApplicationProfileDtoIEnumerablePagedResponse> GetApplicationProfilesAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApplicationProfileDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<ApplicationProfileDtoPagedResponse> GetApplicationProfilesAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ApplicationProfileDtoIEnumerablePagedResponse> localVarResponse = await GetApplicationProfilesWithHttpInfoAsync(searchTerm, language, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ApplicationProfileDtoPagedResponse> localVarResponse = await GetApplicationProfilesWithHttpInfoAsync(searchTerm, language, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all application profiles. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> @@ -989,11 +989,11 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ApplicationProfileDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ApplicationProfileDtoIEnumerablePagedResponse>> GetApplicationProfilesWithHttpInfoAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (ApplicationProfileDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ApplicationProfileDtoPagedResponse>> GetApplicationProfilesWithHttpInfoAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1004,13 +1004,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1018,23 +1018,23 @@ namespace Org.OpenAPITools.Api if (searchTerm != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); } if (language != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Language", language)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Language", language)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "ApplicationProfileApi.GetApplicationProfiles"; @@ -1047,7 +1047,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<ApplicationProfileDtoIEnumerablePagedResponse>("/api/v2/application-profiles/profiles", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<ApplicationProfileDtoPagedResponse>("/api/v2/application-profiles/profiles", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1064,32 +1064,32 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the `raw` application profile definition by its URI. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>string</returns> public string GetRawApplicationProfile(string profile, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = GetRawApplicationProfileWithHttpInfo(profile); + Coscine.ApiClient.Client.ApiResponse<string> localVarResponse = GetRawApplicationProfileWithHttpInfo(profile); return localVarResponse.Data; } /// <summary> /// Retrieves the `raw` application profile definition by its URI. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of string</returns> - public Org.OpenAPITools.Client.ApiResponse<string> GetRawApplicationProfileWithHttpInfo(string profile, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<string> GetRawApplicationProfileWithHttpInfo(string profile, int operationIndex = 0) { // verify the required parameter 'profile' is set if (profile == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'profile' when calling ApplicationProfileApi->GetRawApplicationProfile"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'profile' when calling ApplicationProfileApi->GetRawApplicationProfile"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1100,19 +1100,19 @@ namespace Org.OpenAPITools.Api "application/ld+json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("profile", Org.OpenAPITools.Client.ClientUtils.ParameterToString(profile)); // path parameter + localVarRequestOptions.PathParameters.Add("profile", Coscine.ApiClient.Client.ClientUtils.ParameterToString(profile)); // path parameter localVarRequestOptions.Operation = "ApplicationProfileApi.GetRawApplicationProfile"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1140,35 +1140,35 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the `raw` application profile definition by its URI. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of string</returns> public async System.Threading.Tasks.Task<string> GetRawApplicationProfileAsync(string profile, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = await GetRawApplicationProfileWithHttpInfoAsync(profile, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<string> localVarResponse = await GetRawApplicationProfileWithHttpInfoAsync(profile, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves the `raw` application profile definition by its URI. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="profile">The URI of the application profile.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (string)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<string>> GetRawApplicationProfileWithHttpInfoAsync(string profile, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<string>> GetRawApplicationProfileWithHttpInfoAsync(string profile, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'profile' is set if (profile == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'profile' when calling ApplicationProfileApi->GetRawApplicationProfile"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'profile' when calling ApplicationProfileApi->GetRawApplicationProfile"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1179,19 +1179,19 @@ namespace Org.OpenAPITools.Api "application/ld+json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("profile", Org.OpenAPITools.Client.ClientUtils.ParameterToString(profile)); // path parameter + localVarRequestOptions.PathParameters.Add("profile", Coscine.ApiClient.Client.ClientUtils.ParameterToString(profile)); // path parameter localVarRequestOptions.Operation = "ApplicationProfileApi.GetRawApplicationProfile"; localVarRequestOptions.OperationIndex = operationIndex; diff --git a/src/Org.OpenAPITools/Api/BlobApi.cs b/src/Coscine.ApiClient/Api/BlobApi.cs similarity index 73% rename from src/Org.OpenAPITools/Api/BlobApi.cs rename to src/Coscine.ApiClient/Api/BlobApi.cs index 93654c6..048174c 100644 --- a/src/Org.OpenAPITools/Api/BlobApi.cs +++ b/src/Coscine.ApiClient/Api/BlobApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,9 +15,9 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; +using Coscine.ApiClient.Client; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -42,7 +42,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -51,7 +51,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a new blob for a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key for the new blob.</param> @@ -66,7 +66,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key for the new blob.</param> @@ -77,7 +77,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a blob from a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to delete.</param> @@ -91,7 +91,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to delete.</param> @@ -101,7 +101,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Download a blob from a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob.</param> @@ -115,7 +115,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob.</param> @@ -125,7 +125,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates an existing blob of a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to update.</param> @@ -140,7 +140,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to update.</param> @@ -163,7 +163,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -177,7 +177,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -190,7 +190,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key for the new blob.</param> @@ -206,7 +206,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key for the new blob.</param> @@ -221,7 +221,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to delete.</param> @@ -236,7 +236,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to delete.</param> @@ -250,7 +250,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob.</param> @@ -265,7 +265,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob.</param> @@ -279,7 +279,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to update.</param> @@ -295,7 +295,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to update.</param> @@ -320,7 +320,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class BlobApi : IBlobApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="BlobApi"/> class. @@ -336,13 +336,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public BlobApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -351,17 +351,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public BlobApi(Org.OpenAPITools.Client.Configuration configuration) + public BlobApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -371,7 +371,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public BlobApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public BlobApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -380,18 +380,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -406,12 +406,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -427,7 +427,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -440,26 +440,26 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2ProjectsProjectIdResourcesResourceIdBlobsOptionsWithHttpInfo(string projectId, string resourceId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2ProjectsProjectIdResourcesResourceIdBlobsOptionsWithHttpInfo(string projectId, string resourceId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->ApiV2ProjectsProjectIdResourcesResourceIdBlobsOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->ApiV2ProjectsProjectIdResourcesResourceIdBlobsOptions"); } // verify the required parameter 'resourceId' is set if (resourceId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'resourceId' when calling BlobApi->ApiV2ProjectsProjectIdResourcesResourceIdBlobsOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'resourceId' when calling BlobApi->ApiV2ProjectsProjectIdResourcesResourceIdBlobsOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -468,20 +468,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Operation = "BlobApi.ApiV2ProjectsProjectIdResourcesResourceIdBlobsOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -509,7 +509,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -523,28 +523,28 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdResourcesResourceIdBlobsOptionsWithHttpInfoAsync(string projectId, string resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdResourcesResourceIdBlobsOptionsWithHttpInfoAsync(string projectId, string resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->ApiV2ProjectsProjectIdResourcesResourceIdBlobsOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->ApiV2ProjectsProjectIdResourcesResourceIdBlobsOptions"); } // verify the required parameter 'resourceId' is set if (resourceId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'resourceId' when calling BlobApi->ApiV2ProjectsProjectIdResourcesResourceIdBlobsOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'resourceId' when calling BlobApi->ApiV2ProjectsProjectIdResourcesResourceIdBlobsOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -553,20 +553,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Operation = "BlobApi.ApiV2ProjectsProjectIdResourcesResourceIdBlobsOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -595,7 +595,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a new blob for a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key for the new blob.</param> @@ -610,28 +610,28 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a new blob for a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key for the new blob.</param> /// <param name="file"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> CreateBlobWithHttpInfo(string projectId, Guid resourceId, string key, System.IO.Stream? file = default(System.IO.Stream?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> CreateBlobWithHttpInfo(string projectId, Guid resourceId, string key, System.IO.Stream? file = default(System.IO.Stream?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->CreateBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->CreateBlob"); } // verify the required parameter 'key' is set if (key == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->CreateBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->CreateBlob"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -641,21 +641,21 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter - localVarRequestOptions.PathParameters.Add("key", Org.OpenAPITools.Client.ClientUtils.ParameterToString(key)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("key", Coscine.ApiClient.Client.ClientUtils.ParameterToString(key)); // path parameter if (file != null) { localVarRequestOptions.FileParameters.Add("file", file); @@ -687,7 +687,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a new blob for a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key for the new blob.</param> @@ -703,7 +703,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a new blob for a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key for the new blob.</param> @@ -711,22 +711,22 @@ namespace Org.OpenAPITools.Api /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> CreateBlobWithHttpInfoAsync(string projectId, Guid resourceId, string key, System.IO.Stream? file = default(System.IO.Stream?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> CreateBlobWithHttpInfoAsync(string projectId, Guid resourceId, string key, System.IO.Stream? file = default(System.IO.Stream?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->CreateBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->CreateBlob"); } // verify the required parameter 'key' is set if (key == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->CreateBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->CreateBlob"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -736,21 +736,21 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter - localVarRequestOptions.PathParameters.Add("key", Org.OpenAPITools.Client.ClientUtils.ParameterToString(key)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("key", Coscine.ApiClient.Client.ClientUtils.ParameterToString(key)); // path parameter if (file != null) { localVarRequestOptions.FileParameters.Add("file", file); @@ -783,7 +783,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a blob from a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to delete.</param> @@ -797,27 +797,27 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a blob from a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> DeleteBlobWithHttpInfo(string projectId, Guid resourceId, string key, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> DeleteBlobWithHttpInfo(string projectId, Guid resourceId, string key, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->DeleteBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->DeleteBlob"); } // verify the required parameter 'key' is set if (key == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->DeleteBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->DeleteBlob"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -826,21 +826,21 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter - localVarRequestOptions.PathParameters.Add("key", Org.OpenAPITools.Client.ClientUtils.ParameterToString(key)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("key", Coscine.ApiClient.Client.ClientUtils.ParameterToString(key)); // path parameter localVarRequestOptions.Operation = "BlobApi.DeleteBlob"; localVarRequestOptions.OperationIndex = operationIndex; @@ -868,7 +868,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a blob from a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to delete.</param> @@ -883,29 +883,29 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a blob from a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeleteBlobWithHttpInfoAsync(string projectId, Guid resourceId, string key, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> DeleteBlobWithHttpInfoAsync(string projectId, Guid resourceId, string key, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->DeleteBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->DeleteBlob"); } // verify the required parameter 'key' is set if (key == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->DeleteBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->DeleteBlob"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -914,21 +914,21 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter - localVarRequestOptions.PathParameters.Add("key", Org.OpenAPITools.Client.ClientUtils.ParameterToString(key)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("key", Coscine.ApiClient.Client.ClientUtils.ParameterToString(key)); // path parameter localVarRequestOptions.Operation = "BlobApi.DeleteBlob"; localVarRequestOptions.OperationIndex = operationIndex; @@ -957,7 +957,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Download a blob from a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob.</param> @@ -965,34 +965,34 @@ namespace Org.OpenAPITools.Api /// <returns>System.IO.Stream</returns> public System.IO.Stream GetBlob(string projectId, Guid resourceId, string key, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<System.IO.Stream> localVarResponse = GetBlobWithHttpInfo(projectId, resourceId, key); + Coscine.ApiClient.Client.ApiResponse<System.IO.Stream> localVarResponse = GetBlobWithHttpInfo(projectId, resourceId, key); return localVarResponse.Data; } /// <summary> /// Download a blob from a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of System.IO.Stream</returns> - public Org.OpenAPITools.Client.ApiResponse<System.IO.Stream> GetBlobWithHttpInfo(string projectId, Guid resourceId, string key, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<System.IO.Stream> GetBlobWithHttpInfo(string projectId, Guid resourceId, string key, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->GetBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->GetBlob"); } // verify the required parameter 'key' is set if (key == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->GetBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->GetBlob"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1002,21 +1002,21 @@ namespace Org.OpenAPITools.Api "application/octet-stream" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter - localVarRequestOptions.PathParameters.Add("key", Org.OpenAPITools.Client.ClientUtils.ParameterToString(key)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("key", Coscine.ApiClient.Client.ClientUtils.ParameterToString(key)); // path parameter localVarRequestOptions.Operation = "BlobApi.GetBlob"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1044,7 +1044,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Download a blob from a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob.</param> @@ -1053,36 +1053,36 @@ namespace Org.OpenAPITools.Api /// <returns>Task of System.IO.Stream</returns> public async System.Threading.Tasks.Task<System.IO.Stream> GetBlobAsync(string projectId, Guid resourceId, string key, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<System.IO.Stream> localVarResponse = await GetBlobWithHttpInfoAsync(projectId, resourceId, key, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<System.IO.Stream> localVarResponse = await GetBlobWithHttpInfoAsync(projectId, resourceId, key, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Download a blob from a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (System.IO.Stream)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<System.IO.Stream>> GetBlobWithHttpInfoAsync(string projectId, Guid resourceId, string key, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<System.IO.Stream>> GetBlobWithHttpInfoAsync(string projectId, Guid resourceId, string key, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->GetBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->GetBlob"); } // verify the required parameter 'key' is set if (key == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->GetBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->GetBlob"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1092,21 +1092,21 @@ namespace Org.OpenAPITools.Api "application/octet-stream" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter - localVarRequestOptions.PathParameters.Add("key", Org.OpenAPITools.Client.ClientUtils.ParameterToString(key)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("key", Coscine.ApiClient.Client.ClientUtils.ParameterToString(key)); // path parameter localVarRequestOptions.Operation = "BlobApi.GetBlob"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1135,7 +1135,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates an existing blob of a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to update.</param> @@ -1150,28 +1150,28 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates an existing blob of a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to update.</param> /// <param name="file"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> UpdateBlobWithHttpInfo(string projectId, Guid resourceId, string key, System.IO.Stream? file = default(System.IO.Stream?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> UpdateBlobWithHttpInfo(string projectId, Guid resourceId, string key, System.IO.Stream? file = default(System.IO.Stream?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->UpdateBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->UpdateBlob"); } // verify the required parameter 'key' is set if (key == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->UpdateBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->UpdateBlob"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -1181,21 +1181,21 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter - localVarRequestOptions.PathParameters.Add("key", Org.OpenAPITools.Client.ClientUtils.ParameterToString(key)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("key", Coscine.ApiClient.Client.ClientUtils.ParameterToString(key)); // path parameter if (file != null) { localVarRequestOptions.FileParameters.Add("file", file); @@ -1227,7 +1227,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates an existing blob of a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to update.</param> @@ -1243,7 +1243,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates an existing blob of a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The identifier or slug of the project.</param> /// <param name="resourceId">The identifier of the resource.</param> /// <param name="key">The key associated with the blob to update.</param> @@ -1251,22 +1251,22 @@ namespace Org.OpenAPITools.Api /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdateBlobWithHttpInfoAsync(string projectId, Guid resourceId, string key, System.IO.Stream? file = default(System.IO.Stream?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> UpdateBlobWithHttpInfoAsync(string projectId, Guid resourceId, string key, System.IO.Stream? file = default(System.IO.Stream?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->UpdateBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling BlobApi->UpdateBlob"); } // verify the required parameter 'key' is set if (key == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->UpdateBlob"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'key' when calling BlobApi->UpdateBlob"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -1276,21 +1276,21 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter - localVarRequestOptions.PathParameters.Add("key", Org.OpenAPITools.Client.ClientUtils.ParameterToString(key)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("key", Coscine.ApiClient.Client.ClientUtils.ParameterToString(key)); // path parameter if (file != null) { localVarRequestOptions.FileParameters.Add("file", file); diff --git a/src/Org.OpenAPITools/Api/DisciplineApi.cs b/src/Coscine.ApiClient/Api/DisciplineApi.cs similarity index 67% rename from src/Org.OpenAPITools/Api/DisciplineApi.cs rename to src/Coscine.ApiClient/Api/DisciplineApi.cs index a39f7c9..6e72a50 100644 --- a/src/Org.OpenAPITools/Api/DisciplineApi.cs +++ b/src/Coscine.ApiClient/Api/DisciplineApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2DisciplinesOptions(int operationIndex = 0); @@ -41,14 +41,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2DisciplinesOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves a discipline with the specified ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="disciplineId">The ID of the discipline.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>DisciplineDtoResponse</returns> @@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="disciplineId">The ID of the discipline.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of DisciplineDtoResponse</returns> @@ -68,13 +68,13 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all disciplines. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>DisciplineDtoIEnumerablePagedResponse</returns> - DisciplineDtoIEnumerablePagedResponse GetDisciplines(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>DisciplineDtoPagedResponse</returns> + DisciplineDtoPagedResponse GetDisciplines(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all disciplines. @@ -82,13 +82,13 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of DisciplineDtoIEnumerablePagedResponse</returns> - ApiResponse<DisciplineDtoIEnumerablePagedResponse> GetDisciplinesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of DisciplineDtoPagedResponse</returns> + ApiResponse<DisciplineDtoPagedResponse> GetDisciplinesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); #endregion Synchronous Operations } @@ -104,7 +104,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -116,7 +116,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -127,7 +127,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="disciplineId">The ID of the discipline.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -140,7 +140,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="disciplineId">The ID of the discipline.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -152,14 +152,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of DisciplineDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<DisciplineDtoIEnumerablePagedResponse> GetDisciplinesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of DisciplineDtoPagedResponse</returns> + System.Threading.Tasks.Task<DisciplineDtoPagedResponse> GetDisciplinesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all disciplines. @@ -167,14 +167,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (DisciplineDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<DisciplineDtoIEnumerablePagedResponse>> GetDisciplinesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (DisciplineDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<DisciplineDtoPagedResponse>> GetDisciplinesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class DisciplineApi : IDisciplineApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="DisciplineApi"/> class. @@ -207,13 +207,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public DisciplineApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -222,17 +222,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public DisciplineApi(Org.OpenAPITools.Client.Configuration configuration) + public DisciplineApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -242,7 +242,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public DisciplineApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public DisciplineApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -251,18 +251,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -277,12 +277,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -298,7 +298,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2DisciplinesOptions(int operationIndex = 0) @@ -309,12 +309,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2DisciplinesOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2DisciplinesOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -323,13 +323,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -362,7 +362,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -374,14 +374,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2DisciplinesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2DisciplinesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -390,13 +390,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -430,26 +430,26 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a discipline with the specified ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="disciplineId">The ID of the discipline.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>DisciplineDtoResponse</returns> public DisciplineDtoResponse GetDiscipline(Guid disciplineId, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<DisciplineDtoResponse> localVarResponse = GetDisciplineWithHttpInfo(disciplineId); + Coscine.ApiClient.Client.ApiResponse<DisciplineDtoResponse> localVarResponse = GetDisciplineWithHttpInfo(disciplineId); return localVarResponse.Data; } /// <summary> /// Retrieves a discipline with the specified ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="disciplineId">The ID of the discipline.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of DisciplineDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<DisciplineDtoResponse> GetDisciplineWithHttpInfo(Guid disciplineId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<DisciplineDtoResponse> GetDisciplineWithHttpInfo(Guid disciplineId, int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -460,19 +460,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("disciplineId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(disciplineId)); // path parameter + localVarRequestOptions.PathParameters.Add("disciplineId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(disciplineId)); // path parameter localVarRequestOptions.Operation = "DisciplineApi.GetDiscipline"; localVarRequestOptions.OperationIndex = operationIndex; @@ -500,29 +500,29 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a discipline with the specified ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="disciplineId">The ID of the discipline.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of DisciplineDtoResponse</returns> public async System.Threading.Tasks.Task<DisciplineDtoResponse> GetDisciplineAsync(Guid disciplineId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<DisciplineDtoResponse> localVarResponse = await GetDisciplineWithHttpInfoAsync(disciplineId, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<DisciplineDtoResponse> localVarResponse = await GetDisciplineWithHttpInfoAsync(disciplineId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves a discipline with the specified ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="disciplineId">The ID of the discipline.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (DisciplineDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<DisciplineDtoResponse>> GetDisciplineWithHttpInfoAsync(Guid disciplineId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<DisciplineDtoResponse>> GetDisciplineWithHttpInfoAsync(Guid disciplineId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -533,19 +533,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("disciplineId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(disciplineId)); // path parameter + localVarRequestOptions.PathParameters.Add("disciplineId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(disciplineId)); // path parameter localVarRequestOptions.Operation = "DisciplineApi.GetDiscipline"; localVarRequestOptions.OperationIndex = operationIndex; @@ -574,30 +574,30 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all disciplines. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>DisciplineDtoIEnumerablePagedResponse</returns> - public DisciplineDtoIEnumerablePagedResponse GetDisciplines(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>DisciplineDtoPagedResponse</returns> + public DisciplineDtoPagedResponse GetDisciplines(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<DisciplineDtoIEnumerablePagedResponse> localVarResponse = GetDisciplinesWithHttpInfo(pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<DisciplineDtoPagedResponse> localVarResponse = GetDisciplinesWithHttpInfo(pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all disciplines. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of DisciplineDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<DisciplineDtoIEnumerablePagedResponse> GetDisciplinesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of DisciplineDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<DisciplineDtoPagedResponse> GetDisciplinesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -608,13 +608,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -622,15 +622,15 @@ namespace Org.OpenAPITools.Api if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "DisciplineApi.GetDisciplines"; @@ -643,7 +643,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<DisciplineDtoIEnumerablePagedResponse>("/api/v2/disciplines", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<DisciplineDtoPagedResponse>("/api/v2/disciplines", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetDisciplines", localVarResponse); @@ -659,33 +659,33 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all disciplines. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of DisciplineDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<DisciplineDtoIEnumerablePagedResponse> GetDisciplinesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of DisciplineDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<DisciplineDtoPagedResponse> GetDisciplinesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<DisciplineDtoIEnumerablePagedResponse> localVarResponse = await GetDisciplinesWithHttpInfoAsync(pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<DisciplineDtoPagedResponse> localVarResponse = await GetDisciplinesWithHttpInfoAsync(pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all disciplines. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (DisciplineDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<DisciplineDtoIEnumerablePagedResponse>> GetDisciplinesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (DisciplineDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<DisciplineDtoPagedResponse>> GetDisciplinesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -696,13 +696,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -710,15 +710,15 @@ namespace Org.OpenAPITools.Api if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "DisciplineApi.GetDisciplines"; @@ -731,7 +731,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<DisciplineDtoIEnumerablePagedResponse>("/api/v2/disciplines", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<DisciplineDtoPagedResponse>("/api/v2/disciplines", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Org.OpenAPITools/Api/LanguageApi.cs b/src/Coscine.ApiClient/Api/LanguageApi.cs similarity index 66% rename from src/Org.OpenAPITools/Api/LanguageApi.cs rename to src/Coscine.ApiClient/Api/LanguageApi.cs index 4f6bda6..2c2a3b4 100644 --- a/src/Org.OpenAPITools/Api/LanguageApi.cs +++ b/src/Coscine.ApiClient/Api/LanguageApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2LanguagesOptions(int operationIndex = 0); @@ -41,14 +41,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2LanguagesOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves a language by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="languageId">The ID of the language.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>LanguageDtoResponse</returns> @@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="languageId">The ID of the language.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of LanguageDtoResponse</returns> @@ -68,13 +68,13 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all languages. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>LanguageDtoIEnumerablePagedResponse</returns> - LanguageDtoIEnumerablePagedResponse GetLanguages(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>LanguageDtoPagedResponse</returns> + LanguageDtoPagedResponse GetLanguages(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all languages. @@ -82,13 +82,13 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of LanguageDtoIEnumerablePagedResponse</returns> - ApiResponse<LanguageDtoIEnumerablePagedResponse> GetLanguagesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of LanguageDtoPagedResponse</returns> + ApiResponse<LanguageDtoPagedResponse> GetLanguagesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); #endregion Synchronous Operations } @@ -104,7 +104,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -116,7 +116,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -127,7 +127,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="languageId">The ID of the language.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -140,7 +140,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="languageId">The ID of the language.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -152,14 +152,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of LanguageDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<LanguageDtoIEnumerablePagedResponse> GetLanguagesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of LanguageDtoPagedResponse</returns> + System.Threading.Tasks.Task<LanguageDtoPagedResponse> GetLanguagesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all languages. @@ -167,14 +167,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (LanguageDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<LanguageDtoIEnumerablePagedResponse>> GetLanguagesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (LanguageDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<LanguageDtoPagedResponse>> GetLanguagesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class LanguageApi : ILanguageApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="LanguageApi"/> class. @@ -207,13 +207,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public LanguageApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -222,17 +222,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public LanguageApi(Org.OpenAPITools.Client.Configuration configuration) + public LanguageApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -242,7 +242,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public LanguageApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public LanguageApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -251,18 +251,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -277,12 +277,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -298,7 +298,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2LanguagesOptions(int operationIndex = 0) @@ -309,12 +309,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2LanguagesOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2LanguagesOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -323,13 +323,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -362,7 +362,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -374,14 +374,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2LanguagesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2LanguagesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -390,13 +390,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -430,26 +430,26 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a language by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="languageId">The ID of the language.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>LanguageDtoResponse</returns> public LanguageDtoResponse GetLanguage(Guid languageId, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<LanguageDtoResponse> localVarResponse = GetLanguageWithHttpInfo(languageId); + Coscine.ApiClient.Client.ApiResponse<LanguageDtoResponse> localVarResponse = GetLanguageWithHttpInfo(languageId); return localVarResponse.Data; } /// <summary> /// Retrieves a language by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="languageId">The ID of the language.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of LanguageDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<LanguageDtoResponse> GetLanguageWithHttpInfo(Guid languageId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<LanguageDtoResponse> GetLanguageWithHttpInfo(Guid languageId, int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -460,19 +460,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("languageId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(languageId)); // path parameter + localVarRequestOptions.PathParameters.Add("languageId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(languageId)); // path parameter localVarRequestOptions.Operation = "LanguageApi.GetLanguage"; localVarRequestOptions.OperationIndex = operationIndex; @@ -500,29 +500,29 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a language by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="languageId">The ID of the language.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of LanguageDtoResponse</returns> public async System.Threading.Tasks.Task<LanguageDtoResponse> GetLanguageAsync(Guid languageId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<LanguageDtoResponse> localVarResponse = await GetLanguageWithHttpInfoAsync(languageId, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<LanguageDtoResponse> localVarResponse = await GetLanguageWithHttpInfoAsync(languageId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves a language by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="languageId">The ID of the language.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (LanguageDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<LanguageDtoResponse>> GetLanguageWithHttpInfoAsync(Guid languageId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<LanguageDtoResponse>> GetLanguageWithHttpInfoAsync(Guid languageId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -533,19 +533,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("languageId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(languageId)); // path parameter + localVarRequestOptions.PathParameters.Add("languageId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(languageId)); // path parameter localVarRequestOptions.Operation = "LanguageApi.GetLanguage"; localVarRequestOptions.OperationIndex = operationIndex; @@ -574,30 +574,30 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all languages. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>LanguageDtoIEnumerablePagedResponse</returns> - public LanguageDtoIEnumerablePagedResponse GetLanguages(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>LanguageDtoPagedResponse</returns> + public LanguageDtoPagedResponse GetLanguages(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<LanguageDtoIEnumerablePagedResponse> localVarResponse = GetLanguagesWithHttpInfo(pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<LanguageDtoPagedResponse> localVarResponse = GetLanguagesWithHttpInfo(pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all languages. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of LanguageDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<LanguageDtoIEnumerablePagedResponse> GetLanguagesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of LanguageDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<LanguageDtoPagedResponse> GetLanguagesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -608,13 +608,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -622,15 +622,15 @@ namespace Org.OpenAPITools.Api if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "LanguageApi.GetLanguages"; @@ -643,7 +643,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<LanguageDtoIEnumerablePagedResponse>("/api/v2/languages", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<LanguageDtoPagedResponse>("/api/v2/languages", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetLanguages", localVarResponse); @@ -659,33 +659,33 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all languages. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of LanguageDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<LanguageDtoIEnumerablePagedResponse> GetLanguagesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of LanguageDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<LanguageDtoPagedResponse> GetLanguagesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<LanguageDtoIEnumerablePagedResponse> localVarResponse = await GetLanguagesWithHttpInfoAsync(pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<LanguageDtoPagedResponse> localVarResponse = await GetLanguagesWithHttpInfoAsync(pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all languages. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (LanguageDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<LanguageDtoIEnumerablePagedResponse>> GetLanguagesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (LanguageDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<LanguageDtoPagedResponse>> GetLanguagesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -696,13 +696,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -710,15 +710,15 @@ namespace Org.OpenAPITools.Api if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "LanguageApi.GetLanguages"; @@ -731,7 +731,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<LanguageDtoIEnumerablePagedResponse>("/api/v2/languages", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<LanguageDtoPagedResponse>("/api/v2/languages", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Org.OpenAPITools/Api/LicenseApi.cs b/src/Coscine.ApiClient/Api/LicenseApi.cs similarity index 67% rename from src/Org.OpenAPITools/Api/LicenseApi.cs rename to src/Coscine.ApiClient/Api/LicenseApi.cs index 743b998..7ec06a2 100644 --- a/src/Org.OpenAPITools/Api/LicenseApi.cs +++ b/src/Coscine.ApiClient/Api/LicenseApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2LicensesOptions(int operationIndex = 0); @@ -41,14 +41,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2LicensesOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves a license with the specified ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="licenseId">The ID of the license.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>LicenseDtoResponse</returns> @@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="licenseId">The ID of the license.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of LicenseDtoResponse</returns> @@ -68,13 +68,13 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all licenses. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>LicenseDtoIEnumerablePagedResponse</returns> - LicenseDtoIEnumerablePagedResponse GetLicenses(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>LicenseDtoPagedResponse</returns> + LicenseDtoPagedResponse GetLicenses(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all licenses. @@ -82,13 +82,13 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of LicenseDtoIEnumerablePagedResponse</returns> - ApiResponse<LicenseDtoIEnumerablePagedResponse> GetLicensesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of LicenseDtoPagedResponse</returns> + ApiResponse<LicenseDtoPagedResponse> GetLicensesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); #endregion Synchronous Operations } @@ -104,7 +104,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -116,7 +116,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -127,7 +127,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="licenseId">The ID of the license.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -140,7 +140,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="licenseId">The ID of the license.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -152,14 +152,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of LicenseDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<LicenseDtoIEnumerablePagedResponse> GetLicensesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of LicenseDtoPagedResponse</returns> + System.Threading.Tasks.Task<LicenseDtoPagedResponse> GetLicensesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all licenses. @@ -167,14 +167,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (LicenseDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<LicenseDtoIEnumerablePagedResponse>> GetLicensesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (LicenseDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<LicenseDtoPagedResponse>> GetLicensesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class LicenseApi : ILicenseApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="LicenseApi"/> class. @@ -207,13 +207,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public LicenseApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -222,17 +222,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public LicenseApi(Org.OpenAPITools.Client.Configuration configuration) + public LicenseApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -242,7 +242,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public LicenseApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public LicenseApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -251,18 +251,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -277,12 +277,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -298,7 +298,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2LicensesOptions(int operationIndex = 0) @@ -309,12 +309,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2LicensesOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2LicensesOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -323,13 +323,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -362,7 +362,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -374,14 +374,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2LicensesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2LicensesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -390,13 +390,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -430,26 +430,26 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a license with the specified ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="licenseId">The ID of the license.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>LicenseDtoResponse</returns> public LicenseDtoResponse GetLicense(Guid licenseId, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<LicenseDtoResponse> localVarResponse = GetLicenseWithHttpInfo(licenseId); + Coscine.ApiClient.Client.ApiResponse<LicenseDtoResponse> localVarResponse = GetLicenseWithHttpInfo(licenseId); return localVarResponse.Data; } /// <summary> /// Retrieves a license with the specified ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="licenseId">The ID of the license.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of LicenseDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<LicenseDtoResponse> GetLicenseWithHttpInfo(Guid licenseId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<LicenseDtoResponse> GetLicenseWithHttpInfo(Guid licenseId, int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -460,19 +460,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("licenseId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(licenseId)); // path parameter + localVarRequestOptions.PathParameters.Add("licenseId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(licenseId)); // path parameter localVarRequestOptions.Operation = "LicenseApi.GetLicense"; localVarRequestOptions.OperationIndex = operationIndex; @@ -500,29 +500,29 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a license with the specified ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="licenseId">The ID of the license.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of LicenseDtoResponse</returns> public async System.Threading.Tasks.Task<LicenseDtoResponse> GetLicenseAsync(Guid licenseId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<LicenseDtoResponse> localVarResponse = await GetLicenseWithHttpInfoAsync(licenseId, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<LicenseDtoResponse> localVarResponse = await GetLicenseWithHttpInfoAsync(licenseId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves a license with the specified ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="licenseId">The ID of the license.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (LicenseDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<LicenseDtoResponse>> GetLicenseWithHttpInfoAsync(Guid licenseId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<LicenseDtoResponse>> GetLicenseWithHttpInfoAsync(Guid licenseId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -533,19 +533,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("licenseId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(licenseId)); // path parameter + localVarRequestOptions.PathParameters.Add("licenseId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(licenseId)); // path parameter localVarRequestOptions.Operation = "LicenseApi.GetLicense"; localVarRequestOptions.OperationIndex = operationIndex; @@ -574,30 +574,30 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all licenses. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>LicenseDtoIEnumerablePagedResponse</returns> - public LicenseDtoIEnumerablePagedResponse GetLicenses(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>LicenseDtoPagedResponse</returns> + public LicenseDtoPagedResponse GetLicenses(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<LicenseDtoIEnumerablePagedResponse> localVarResponse = GetLicensesWithHttpInfo(pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<LicenseDtoPagedResponse> localVarResponse = GetLicensesWithHttpInfo(pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all licenses. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of LicenseDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<LicenseDtoIEnumerablePagedResponse> GetLicensesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of LicenseDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<LicenseDtoPagedResponse> GetLicensesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -608,13 +608,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -622,15 +622,15 @@ namespace Org.OpenAPITools.Api if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "LicenseApi.GetLicenses"; @@ -643,7 +643,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<LicenseDtoIEnumerablePagedResponse>("/api/v2/licenses", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<LicenseDtoPagedResponse>("/api/v2/licenses", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetLicenses", localVarResponse); @@ -659,33 +659,33 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all licenses. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of LicenseDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<LicenseDtoIEnumerablePagedResponse> GetLicensesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of LicenseDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<LicenseDtoPagedResponse> GetLicensesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<LicenseDtoIEnumerablePagedResponse> localVarResponse = await GetLicensesWithHttpInfoAsync(pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<LicenseDtoPagedResponse> localVarResponse = await GetLicensesWithHttpInfoAsync(pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all licenses. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (LicenseDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<LicenseDtoIEnumerablePagedResponse>> GetLicensesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (LicenseDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<LicenseDtoPagedResponse>> GetLicensesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -696,13 +696,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -710,15 +710,15 @@ namespace Org.OpenAPITools.Api if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "LicenseApi.GetLicenses"; @@ -731,7 +731,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<LicenseDtoIEnumerablePagedResponse>("/api/v2/licenses", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<LicenseDtoPagedResponse>("/api/v2/licenses", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Org.OpenAPITools/Api/MaintenanceApi.cs b/src/Coscine.ApiClient/Api/MaintenanceApi.cs similarity index 66% rename from src/Org.OpenAPITools/Api/MaintenanceApi.cs rename to src/Coscine.ApiClient/Api/MaintenanceApi.cs index 38dc078..10caf6d 100644 --- a/src/Org.OpenAPITools/Api/MaintenanceApi.cs +++ b/src/Coscine.ApiClient/Api/MaintenanceApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2MaintenancesOptions(int operationIndex = 0); @@ -41,17 +41,17 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2MaintenancesOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves the current maintenance messages. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>MaintenanceDtoIEnumerablePagedResponse</returns> - MaintenanceDtoIEnumerablePagedResponse GetCurrentMaintenances(int operationIndex = 0); + /// <returns>MaintenanceDtoPagedResponse</returns> + MaintenanceDtoPagedResponse GetCurrentMaintenances(int operationIndex = 0); /// <summary> /// Retrieves the current maintenance messages. @@ -59,10 +59,10 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of MaintenanceDtoIEnumerablePagedResponse</returns> - ApiResponse<MaintenanceDtoIEnumerablePagedResponse> GetCurrentMaintenancesWithHttpInfo(int operationIndex = 0); + /// <returns>ApiResponse of MaintenanceDtoPagedResponse</returns> + ApiResponse<MaintenanceDtoPagedResponse> GetCurrentMaintenancesWithHttpInfo(int operationIndex = 0); #endregion Synchronous Operations } @@ -78,7 +78,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -90,7 +90,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -101,11 +101,11 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of MaintenanceDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<MaintenanceDtoIEnumerablePagedResponse> GetCurrentMaintenancesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of MaintenanceDtoPagedResponse</returns> + System.Threading.Tasks.Task<MaintenanceDtoPagedResponse> GetCurrentMaintenancesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves the current maintenance messages. @@ -113,11 +113,11 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (MaintenanceDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<MaintenanceDtoIEnumerablePagedResponse>> GetCurrentMaintenancesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (MaintenanceDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<MaintenanceDtoPagedResponse>> GetCurrentMaintenancesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -134,7 +134,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class MaintenanceApi : IMaintenanceApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="MaintenanceApi"/> class. @@ -150,13 +150,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public MaintenanceApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -165,17 +165,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public MaintenanceApi(Org.OpenAPITools.Client.Configuration configuration) + public MaintenanceApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -185,7 +185,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public MaintenanceApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public MaintenanceApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -194,18 +194,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -220,12 +220,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -241,7 +241,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2MaintenancesOptions(int operationIndex = 0) @@ -252,12 +252,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2MaintenancesOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2MaintenancesOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -266,13 +266,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -305,7 +305,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -317,14 +317,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2MaintenancesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2MaintenancesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -333,13 +333,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -373,24 +373,24 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the current maintenance messages. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>MaintenanceDtoIEnumerablePagedResponse</returns> - public MaintenanceDtoIEnumerablePagedResponse GetCurrentMaintenances(int operationIndex = 0) + /// <returns>MaintenanceDtoPagedResponse</returns> + public MaintenanceDtoPagedResponse GetCurrentMaintenances(int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<MaintenanceDtoIEnumerablePagedResponse> localVarResponse = GetCurrentMaintenancesWithHttpInfo(); + Coscine.ApiClient.Client.ApiResponse<MaintenanceDtoPagedResponse> localVarResponse = GetCurrentMaintenancesWithHttpInfo(); return localVarResponse.Data; } /// <summary> /// Retrieves the current maintenance messages. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of MaintenanceDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<MaintenanceDtoIEnumerablePagedResponse> GetCurrentMaintenancesWithHttpInfo(int operationIndex = 0) + /// <returns>ApiResponse of MaintenanceDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<MaintenanceDtoPagedResponse> GetCurrentMaintenancesWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -401,13 +401,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -424,7 +424,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<MaintenanceDtoIEnumerablePagedResponse>("/api/v2/maintenances", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<MaintenanceDtoPagedResponse>("/api/v2/maintenances", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetCurrentMaintenances", localVarResponse); @@ -440,27 +440,27 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the current maintenance messages. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of MaintenanceDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<MaintenanceDtoIEnumerablePagedResponse> GetCurrentMaintenancesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of MaintenanceDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<MaintenanceDtoPagedResponse> GetCurrentMaintenancesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<MaintenanceDtoIEnumerablePagedResponse> localVarResponse = await GetCurrentMaintenancesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<MaintenanceDtoPagedResponse> localVarResponse = await GetCurrentMaintenancesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves the current maintenance messages. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (MaintenanceDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<MaintenanceDtoIEnumerablePagedResponse>> GetCurrentMaintenancesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (MaintenanceDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<MaintenanceDtoPagedResponse>> GetCurrentMaintenancesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -471,13 +471,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -494,7 +494,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<MaintenanceDtoIEnumerablePagedResponse>("/api/v2/maintenances", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<MaintenanceDtoPagedResponse>("/api/v2/maintenances", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Org.OpenAPITools/Api/OrganizationApi.cs b/src/Coscine.ApiClient/Api/OrganizationApi.cs similarity index 66% rename from src/Org.OpenAPITools/Api/OrganizationApi.cs rename to src/Coscine.ApiClient/Api/OrganizationApi.cs index 2cf6b61..9125418 100644 --- a/src/Org.OpenAPITools/Api/OrganizationApi.cs +++ b/src/Coscine.ApiClient/Api/OrganizationApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2OrganizationsOptions(int operationIndex = 0); @@ -41,14 +41,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2OrganizationsOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves an organization. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="organizationRorUri">The parameters for organization filtering and pagination.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>OrganizationDtoResponse</returns> @@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="organizationRorUri">The parameters for organization filtering and pagination.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of OrganizationDtoResponse</returns> @@ -68,14 +68,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all organizations. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>OrganizationDtoIEnumerablePagedResponse</returns> - OrganizationDtoIEnumerablePagedResponse GetOrganizations(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>OrganizationDtoPagedResponse</returns> + OrganizationDtoPagedResponse GetOrganizations(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all organizations. @@ -83,14 +83,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of OrganizationDtoIEnumerablePagedResponse</returns> - ApiResponse<OrganizationDtoIEnumerablePagedResponse> GetOrganizationsWithHttpInfo(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of OrganizationDtoPagedResponse</returns> + ApiResponse<OrganizationDtoPagedResponse> GetOrganizationsWithHttpInfo(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); #endregion Synchronous Operations } @@ -106,7 +106,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -118,7 +118,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -129,7 +129,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="organizationRorUri">The parameters for organization filtering and pagination.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -142,7 +142,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="organizationRorUri">The parameters for organization filtering and pagination.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -154,15 +154,15 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of OrganizationDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<OrganizationDtoIEnumerablePagedResponse> GetOrganizationsAsync(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of OrganizationDtoPagedResponse</returns> + System.Threading.Tasks.Task<OrganizationDtoPagedResponse> GetOrganizationsAsync(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all organizations. @@ -170,15 +170,15 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (OrganizationDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<OrganizationDtoIEnumerablePagedResponse>> GetOrganizationsWithHttpInfoAsync(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (OrganizationDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<OrganizationDtoPagedResponse>> GetOrganizationsWithHttpInfoAsync(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -195,7 +195,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class OrganizationApi : IOrganizationApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="OrganizationApi"/> class. @@ -211,13 +211,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public OrganizationApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -226,17 +226,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public OrganizationApi(Org.OpenAPITools.Client.Configuration configuration) + public OrganizationApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -246,7 +246,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public OrganizationApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public OrganizationApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -255,18 +255,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -281,12 +281,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -302,7 +302,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2OrganizationsOptions(int operationIndex = 0) @@ -313,12 +313,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2OrganizationsOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2OrganizationsOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -327,13 +327,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -366,7 +366,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -378,14 +378,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2OrganizationsOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2OrganizationsOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -394,13 +394,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -434,32 +434,32 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves an organization. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="organizationRorUri">The parameters for organization filtering and pagination.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>OrganizationDtoResponse</returns> public OrganizationDtoResponse GetOrganization(string organizationRorUri, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<OrganizationDtoResponse> localVarResponse = GetOrganizationWithHttpInfo(organizationRorUri); + Coscine.ApiClient.Client.ApiResponse<OrganizationDtoResponse> localVarResponse = GetOrganizationWithHttpInfo(organizationRorUri); return localVarResponse.Data; } /// <summary> /// Retrieves an organization. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="organizationRorUri">The parameters for organization filtering and pagination.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of OrganizationDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<OrganizationDtoResponse> GetOrganizationWithHttpInfo(string organizationRorUri, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<OrganizationDtoResponse> GetOrganizationWithHttpInfo(string organizationRorUri, int operationIndex = 0) { // verify the required parameter 'organizationRorUri' is set if (organizationRorUri == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'organizationRorUri' when calling OrganizationApi->GetOrganization"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'organizationRorUri' when calling OrganizationApi->GetOrganization"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -470,19 +470,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("organizationRorUri", Org.OpenAPITools.Client.ClientUtils.ParameterToString(organizationRorUri)); // path parameter + localVarRequestOptions.PathParameters.Add("organizationRorUri", Coscine.ApiClient.Client.ClientUtils.ParameterToString(organizationRorUri)); // path parameter localVarRequestOptions.Operation = "OrganizationApi.GetOrganization"; localVarRequestOptions.OperationIndex = operationIndex; @@ -510,35 +510,35 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves an organization. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="organizationRorUri">The parameters for organization filtering and pagination.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of OrganizationDtoResponse</returns> public async System.Threading.Tasks.Task<OrganizationDtoResponse> GetOrganizationAsync(string organizationRorUri, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<OrganizationDtoResponse> localVarResponse = await GetOrganizationWithHttpInfoAsync(organizationRorUri, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<OrganizationDtoResponse> localVarResponse = await GetOrganizationWithHttpInfoAsync(organizationRorUri, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves an organization. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="organizationRorUri">The parameters for organization filtering and pagination.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (OrganizationDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<OrganizationDtoResponse>> GetOrganizationWithHttpInfoAsync(string organizationRorUri, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<OrganizationDtoResponse>> GetOrganizationWithHttpInfoAsync(string organizationRorUri, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'organizationRorUri' is set if (organizationRorUri == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'organizationRorUri' when calling OrganizationApi->GetOrganization"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'organizationRorUri' when calling OrganizationApi->GetOrganization"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -549,19 +549,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("organizationRorUri", Org.OpenAPITools.Client.ClientUtils.ParameterToString(organizationRorUri)); // path parameter + localVarRequestOptions.PathParameters.Add("organizationRorUri", Coscine.ApiClient.Client.ClientUtils.ParameterToString(organizationRorUri)); // path parameter localVarRequestOptions.Operation = "OrganizationApi.GetOrganization"; localVarRequestOptions.OperationIndex = operationIndex; @@ -590,32 +590,32 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all organizations. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>OrganizationDtoIEnumerablePagedResponse</returns> - public OrganizationDtoIEnumerablePagedResponse GetOrganizations(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>OrganizationDtoPagedResponse</returns> + public OrganizationDtoPagedResponse GetOrganizations(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<OrganizationDtoIEnumerablePagedResponse> localVarResponse = GetOrganizationsWithHttpInfo(searchTerm, pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<OrganizationDtoPagedResponse> localVarResponse = GetOrganizationsWithHttpInfo(searchTerm, pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all organizations. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of OrganizationDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<OrganizationDtoIEnumerablePagedResponse> GetOrganizationsWithHttpInfo(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of OrganizationDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<OrganizationDtoPagedResponse> GetOrganizationsWithHttpInfo(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -626,13 +626,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -640,19 +640,19 @@ namespace Org.OpenAPITools.Api if (searchTerm != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "OrganizationApi.GetOrganizations"; @@ -665,7 +665,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<OrganizationDtoIEnumerablePagedResponse>("/api/v2/organizations", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<OrganizationDtoPagedResponse>("/api/v2/organizations", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetOrganizations", localVarResponse); @@ -681,35 +681,35 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all organizations. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of OrganizationDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<OrganizationDtoIEnumerablePagedResponse> GetOrganizationsAsync(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of OrganizationDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<OrganizationDtoPagedResponse> GetOrganizationsAsync(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<OrganizationDtoIEnumerablePagedResponse> localVarResponse = await GetOrganizationsWithHttpInfoAsync(searchTerm, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<OrganizationDtoPagedResponse> localVarResponse = await GetOrganizationsWithHttpInfoAsync(searchTerm, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all organizations. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (OrganizationDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<OrganizationDtoIEnumerablePagedResponse>> GetOrganizationsWithHttpInfoAsync(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (OrganizationDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<OrganizationDtoPagedResponse>> GetOrganizationsWithHttpInfoAsync(string? searchTerm = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -720,13 +720,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -734,19 +734,19 @@ namespace Org.OpenAPITools.Api if (searchTerm != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "OrganizationApi.GetOrganizations"; @@ -759,7 +759,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<OrganizationDtoIEnumerablePagedResponse>("/api/v2/organizations", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<OrganizationDtoPagedResponse>("/api/v2/organizations", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Org.OpenAPITools/Api/PidApi.cs b/src/Coscine.ApiClient/Api/PidApi.cs similarity index 74% rename from src/Org.OpenAPITools/Api/PidApi.cs rename to src/Coscine.ApiClient/Api/PidApi.cs index 0dc00df..89d3af0 100644 --- a/src/Org.OpenAPITools/Api/PidApi.cs +++ b/src/Coscine.ApiClient/Api/PidApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2PidsOptions(int operationIndex = 0); @@ -41,14 +41,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2PidsOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Sends an inquiry to the owner of the given PID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="pidRequestDto">The data transfer object containing the inquiry details. (optional)</param> @@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="pidRequestDto">The data transfer object containing the inquiry details. (optional)</param> @@ -72,7 +72,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Validates the given PID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -85,7 +85,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -106,7 +106,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -118,7 +118,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -129,7 +129,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="pidRequestDto">The data transfer object containing the inquiry details. (optional)</param> @@ -144,7 +144,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="pidRequestDto">The data transfer object containing the inquiry details. (optional)</param> @@ -158,7 +158,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -172,7 +172,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -195,7 +195,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class PidApi : IPidApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="PidApi"/> class. @@ -211,13 +211,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public PidApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -226,17 +226,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public PidApi(Org.OpenAPITools.Client.Configuration configuration) + public PidApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -246,7 +246,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public PidApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public PidApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -255,18 +255,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -281,12 +281,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -302,7 +302,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2PidsOptions(int operationIndex = 0) @@ -313,12 +313,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2PidsOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2PidsOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -327,13 +327,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -366,7 +366,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -378,14 +378,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2PidsOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2PidsOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -394,13 +394,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -434,7 +434,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Sends an inquiry to the owner of the given PID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="pidRequestDto">The data transfer object containing the inquiry details. (optional)</param> @@ -448,21 +448,21 @@ namespace Org.OpenAPITools.Api /// <summary> /// Sends an inquiry to the owner of the given PID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="pidRequestDto">The data transfer object containing the inquiry details. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> SendRequestToOwnerWithHttpInfo(string prefix, Guid id, PidRequestDto? pidRequestDto = default(PidRequestDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> SendRequestToOwnerWithHttpInfo(string prefix, Guid id, PidRequestDto? pidRequestDto = default(PidRequestDto?), int operationIndex = 0) { // verify the required parameter 'prefix' is set if (prefix == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'prefix' when calling PidApi->SendRequestToOwner"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'prefix' when calling PidApi->SendRequestToOwner"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -474,20 +474,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("prefix", Org.OpenAPITools.Client.ClientUtils.ParameterToString(prefix)); // path parameter - localVarRequestOptions.PathParameters.Add("id", Org.OpenAPITools.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("prefix", Coscine.ApiClient.Client.ClientUtils.ParameterToString(prefix)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Coscine.ApiClient.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = pidRequestDto; localVarRequestOptions.Operation = "PidApi.SendRequestToOwner"; @@ -516,7 +516,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Sends an inquiry to the owner of the given PID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="pidRequestDto">The data transfer object containing the inquiry details. (optional)</param> @@ -531,23 +531,23 @@ namespace Org.OpenAPITools.Api /// <summary> /// Sends an inquiry to the owner of the given PID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="pidRequestDto">The data transfer object containing the inquiry details. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> SendRequestToOwnerWithHttpInfoAsync(string prefix, Guid id, PidRequestDto? pidRequestDto = default(PidRequestDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> SendRequestToOwnerWithHttpInfoAsync(string prefix, Guid id, PidRequestDto? pidRequestDto = default(PidRequestDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'prefix' is set if (prefix == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'prefix' when calling PidApi->SendRequestToOwner"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'prefix' when calling PidApi->SendRequestToOwner"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -559,20 +559,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("prefix", Org.OpenAPITools.Client.ClientUtils.ParameterToString(prefix)); // path parameter - localVarRequestOptions.PathParameters.Add("id", Org.OpenAPITools.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("prefix", Coscine.ApiClient.Client.ClientUtils.ParameterToString(prefix)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Coscine.ApiClient.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = pidRequestDto; localVarRequestOptions.Operation = "PidApi.SendRequestToOwner"; @@ -602,34 +602,34 @@ namespace Org.OpenAPITools.Api /// <summary> /// Validates the given PID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>PidValidationDtoResponse</returns> public PidValidationDtoResponse ValidatePid(string prefix, Guid id, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<PidValidationDtoResponse> localVarResponse = ValidatePidWithHttpInfo(prefix, id); + Coscine.ApiClient.Client.ApiResponse<PidValidationDtoResponse> localVarResponse = ValidatePidWithHttpInfo(prefix, id); return localVarResponse.Data; } /// <summary> /// Validates the given PID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of PidValidationDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<PidValidationDtoResponse> ValidatePidWithHttpInfo(string prefix, Guid id, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<PidValidationDtoResponse> ValidatePidWithHttpInfo(string prefix, Guid id, int operationIndex = 0) { // verify the required parameter 'prefix' is set if (prefix == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'prefix' when calling PidApi->ValidatePid"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'prefix' when calling PidApi->ValidatePid"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -640,20 +640,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("prefix", Org.OpenAPITools.Client.ClientUtils.ParameterToString(prefix)); // path parameter - localVarRequestOptions.PathParameters.Add("id", Org.OpenAPITools.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("prefix", Coscine.ApiClient.Client.ClientUtils.ParameterToString(prefix)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Coscine.ApiClient.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "PidApi.ValidatePid"; localVarRequestOptions.OperationIndex = operationIndex; @@ -681,7 +681,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Validates the given PID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -689,29 +689,29 @@ namespace Org.OpenAPITools.Api /// <returns>Task of PidValidationDtoResponse</returns> public async System.Threading.Tasks.Task<PidValidationDtoResponse> ValidatePidAsync(string prefix, Guid id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<PidValidationDtoResponse> localVarResponse = await ValidatePidWithHttpInfoAsync(prefix, id, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<PidValidationDtoResponse> localVarResponse = await ValidatePidWithHttpInfoAsync(prefix, id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Validates the given PID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="prefix">The PID prefix of a project or a resource to validate</param> /// <param name="id">The PID body of a project or a resource to validate</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (PidValidationDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<PidValidationDtoResponse>> ValidatePidWithHttpInfoAsync(string prefix, Guid id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<PidValidationDtoResponse>> ValidatePidWithHttpInfoAsync(string prefix, Guid id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'prefix' is set if (prefix == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'prefix' when calling PidApi->ValidatePid"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'prefix' when calling PidApi->ValidatePid"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -722,20 +722,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("prefix", Org.OpenAPITools.Client.ClientUtils.ParameterToString(prefix)); // path parameter - localVarRequestOptions.PathParameters.Add("id", Org.OpenAPITools.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("prefix", Coscine.ApiClient.Client.ClientUtils.ParameterToString(prefix)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Coscine.ApiClient.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Operation = "PidApi.ValidatePid"; localVarRequestOptions.OperationIndex = operationIndex; diff --git a/src/Org.OpenAPITools/Api/ProjectApi.cs b/src/Coscine.ApiClient/Api/ProjectApi.cs similarity index 70% rename from src/Org.OpenAPITools/Api/ProjectApi.cs rename to src/Coscine.ApiClient/Api/ProjectApi.cs index 330eaea..e8a33ff 100644 --- a/src/Org.OpenAPITools/Api/ProjectApi.cs +++ b/src/Coscine.ApiClient/Api/ProjectApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2ProjectsOptions(int operationIndex = 0); @@ -41,14 +41,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2ProjectsOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Creates a new project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectForCreationDto">The project data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ProjectDtoResponse</returns> @@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectForCreationDto">The project data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ProjectDtoResponse</returns> @@ -68,7 +68,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -80,7 +80,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> @@ -88,7 +88,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="includeSubProjects"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -101,7 +101,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="includeSubProjects"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -110,14 +110,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all projects. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ProjectDtoIEnumerablePagedResponse</returns> - ProjectDtoIEnumerablePagedResponse GetProjects(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ProjectDtoPagedResponse</returns> + ProjectDtoPagedResponse GetProjects(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all projects. @@ -125,18 +125,18 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ProjectDtoIEnumerablePagedResponse</returns> - ApiResponse<ProjectDtoIEnumerablePagedResponse> GetProjectsWithHttpInfo(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of ProjectDtoPagedResponse</returns> + ApiResponse<ProjectDtoPagedResponse> GetProjectsWithHttpInfo(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Updates a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="projectForUpdateDto">The updated project data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -149,7 +149,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="projectForUpdateDto">The updated project data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -170,7 +170,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -182,7 +182,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -193,7 +193,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectForCreationDto">The project data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -206,7 +206,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectForCreationDto">The project data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -218,7 +218,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -231,7 +231,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -243,7 +243,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="includeSubProjects"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -257,7 +257,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="includeSubProjects"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -270,15 +270,15 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ProjectDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<ProjectDtoIEnumerablePagedResponse> GetProjectsAsync(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ProjectDtoPagedResponse</returns> + System.Threading.Tasks.Task<ProjectDtoPagedResponse> GetProjectsAsync(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all projects. @@ -286,22 +286,22 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ProjectDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<ProjectDtoIEnumerablePagedResponse>> GetProjectsWithHttpInfoAsync(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (ProjectDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<ProjectDtoPagedResponse>> GetProjectsWithHttpInfoAsync(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Updates a project. /// </summary> /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="projectForUpdateDto">The updated project data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -315,7 +315,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="projectForUpdateDto">The updated project data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -338,7 +338,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class ProjectApi : IProjectApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="ProjectApi"/> class. @@ -354,13 +354,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public ProjectApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -369,17 +369,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public ProjectApi(Org.OpenAPITools.Client.Configuration configuration) + public ProjectApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -389,7 +389,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public ProjectApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public ProjectApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -398,18 +398,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -424,12 +424,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -445,7 +445,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2ProjectsOptions(int operationIndex = 0) @@ -456,12 +456,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2ProjectsOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2ProjectsOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -470,13 +470,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -509,7 +509,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -521,14 +521,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2ProjectsOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2ProjectsOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -537,13 +537,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -577,26 +577,26 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a new project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectForCreationDto">The project data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ProjectDtoResponse</returns> public ProjectDtoResponse CreateProject(ProjectForCreationDto? projectForCreationDto = default(ProjectForCreationDto?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ProjectDtoResponse> localVarResponse = CreateProjectWithHttpInfo(projectForCreationDto); + Coscine.ApiClient.Client.ApiResponse<ProjectDtoResponse> localVarResponse = CreateProjectWithHttpInfo(projectForCreationDto); return localVarResponse.Data; } /// <summary> /// Creates a new project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectForCreationDto">The project data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ProjectDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ProjectDtoResponse> CreateProjectWithHttpInfo(ProjectForCreationDto? projectForCreationDto = default(ProjectForCreationDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ProjectDtoResponse> CreateProjectWithHttpInfo(ProjectForCreationDto? projectForCreationDto = default(ProjectForCreationDto?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -610,13 +610,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -650,29 +650,29 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a new project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectForCreationDto">The project data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ProjectDtoResponse</returns> public async System.Threading.Tasks.Task<ProjectDtoResponse> CreateProjectAsync(ProjectForCreationDto? projectForCreationDto = default(ProjectForCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ProjectDtoResponse> localVarResponse = await CreateProjectWithHttpInfoAsync(projectForCreationDto, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ProjectDtoResponse> localVarResponse = await CreateProjectWithHttpInfoAsync(projectForCreationDto, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Creates a new project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectForCreationDto">The project data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ProjectDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ProjectDtoResponse>> CreateProjectWithHttpInfoAsync(ProjectForCreationDto? projectForCreationDto = default(ProjectForCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ProjectDtoResponse>> CreateProjectWithHttpInfoAsync(ProjectForCreationDto? projectForCreationDto = default(ProjectForCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -686,13 +686,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -727,7 +727,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -739,19 +739,19 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> DeleteProjectWithHttpInfo(string projectId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> DeleteProjectWithHttpInfo(string projectId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectApi->DeleteProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectApi->DeleteProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -760,19 +760,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Operation = "ProjectApi.DeleteProject"; localVarRequestOptions.OperationIndex = operationIndex; @@ -800,7 +800,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -813,21 +813,21 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeleteProjectWithHttpInfoAsync(string projectId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> DeleteProjectWithHttpInfoAsync(string projectId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectApi->DeleteProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectApi->DeleteProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -836,19 +836,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Operation = "ProjectApi.DeleteProject"; localVarRequestOptions.OperationIndex = operationIndex; @@ -877,34 +877,34 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="includeSubProjects"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ProjectDtoResponse</returns> public ProjectDtoResponse GetProject(string projectId, bool? includeSubProjects = default(bool?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ProjectDtoResponse> localVarResponse = GetProjectWithHttpInfo(projectId, includeSubProjects); + Coscine.ApiClient.Client.ApiResponse<ProjectDtoResponse> localVarResponse = GetProjectWithHttpInfo(projectId, includeSubProjects); return localVarResponse.Data; } /// <summary> /// Retrieves a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="includeSubProjects"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ProjectDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ProjectDtoResponse> GetProjectWithHttpInfo(string projectId, bool? includeSubProjects = default(bool?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ProjectDtoResponse> GetProjectWithHttpInfo(string projectId, bool? includeSubProjects = default(bool?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectApi->GetProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectApi->GetProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -915,22 +915,22 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter if (includeSubProjects != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "IncludeSubProjects", includeSubProjects)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "IncludeSubProjects", includeSubProjects)); } localVarRequestOptions.Operation = "ProjectApi.GetProject"; @@ -959,7 +959,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="includeSubProjects"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -967,29 +967,29 @@ namespace Org.OpenAPITools.Api /// <returns>Task of ProjectDtoResponse</returns> public async System.Threading.Tasks.Task<ProjectDtoResponse> GetProjectAsync(string projectId, bool? includeSubProjects = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ProjectDtoResponse> localVarResponse = await GetProjectWithHttpInfoAsync(projectId, includeSubProjects, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ProjectDtoResponse> localVarResponse = await GetProjectWithHttpInfoAsync(projectId, includeSubProjects, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="includeSubProjects"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ProjectDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ProjectDtoResponse>> GetProjectWithHttpInfoAsync(string projectId, bool? includeSubProjects = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ProjectDtoResponse>> GetProjectWithHttpInfoAsync(string projectId, bool? includeSubProjects = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectApi->GetProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectApi->GetProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1000,22 +1000,22 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter if (includeSubProjects != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "IncludeSubProjects", includeSubProjects)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "IncludeSubProjects", includeSubProjects)); } localVarRequestOptions.Operation = "ProjectApi.GetProject"; @@ -1045,32 +1045,32 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all projects. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ProjectDtoIEnumerablePagedResponse</returns> - public ProjectDtoIEnumerablePagedResponse GetProjects(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ProjectDtoPagedResponse</returns> + public ProjectDtoPagedResponse GetProjects(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ProjectDtoIEnumerablePagedResponse> localVarResponse = GetProjectsWithHttpInfo(topLevel, pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<ProjectDtoPagedResponse> localVarResponse = GetProjectsWithHttpInfo(topLevel, pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all projects. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ProjectDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ProjectDtoIEnumerablePagedResponse> GetProjectsWithHttpInfo(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of ProjectDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<ProjectDtoPagedResponse> GetProjectsWithHttpInfo(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1081,13 +1081,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1095,19 +1095,19 @@ namespace Org.OpenAPITools.Api if (topLevel != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "TopLevel", topLevel)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "TopLevel", topLevel)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "ProjectApi.GetProjects"; @@ -1120,7 +1120,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<ProjectDtoIEnumerablePagedResponse>("/api/v2/projects", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<ProjectDtoPagedResponse>("/api/v2/projects", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetProjects", localVarResponse); @@ -1136,35 +1136,35 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all projects. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ProjectDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<ProjectDtoIEnumerablePagedResponse> GetProjectsAsync(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ProjectDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<ProjectDtoPagedResponse> GetProjectsAsync(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ProjectDtoIEnumerablePagedResponse> localVarResponse = await GetProjectsWithHttpInfoAsync(topLevel, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ProjectDtoPagedResponse> localVarResponse = await GetProjectsWithHttpInfoAsync(topLevel, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all projects. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="topLevel"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ProjectDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ProjectDtoIEnumerablePagedResponse>> GetProjectsWithHttpInfoAsync(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (ProjectDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ProjectDtoPagedResponse>> GetProjectsWithHttpInfoAsync(bool? topLevel = default(bool?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1175,13 +1175,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1189,19 +1189,19 @@ namespace Org.OpenAPITools.Api if (topLevel != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "TopLevel", topLevel)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "TopLevel", topLevel)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "ProjectApi.GetProjects"; @@ -1214,7 +1214,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<ProjectDtoIEnumerablePagedResponse>("/api/v2/projects", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<ProjectDtoPagedResponse>("/api/v2/projects", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1231,7 +1231,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="projectForUpdateDto">The updated project data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -1244,20 +1244,20 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="projectForUpdateDto">The updated project data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> UpdateProjectWithHttpInfo(string projectId, ProjectForUpdateDto? projectForUpdateDto = default(ProjectForUpdateDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> UpdateProjectWithHttpInfo(string projectId, ProjectForUpdateDto? projectForUpdateDto = default(ProjectForUpdateDto?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectApi->UpdateProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectApi->UpdateProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -1269,19 +1269,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Data = projectForUpdateDto; localVarRequestOptions.Operation = "ProjectApi.UpdateProject"; @@ -1310,7 +1310,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="projectForUpdateDto">The updated project data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -1324,22 +1324,22 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The ID of the project.</param> /// <param name="projectForUpdateDto">The updated project data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdateProjectWithHttpInfoAsync(string projectId, ProjectForUpdateDto? projectForUpdateDto = default(ProjectForUpdateDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> UpdateProjectWithHttpInfoAsync(string projectId, ProjectForUpdateDto? projectForUpdateDto = default(ProjectForUpdateDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectApi->UpdateProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectApi->UpdateProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -1351,19 +1351,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Data = projectForUpdateDto; localVarRequestOptions.Operation = "ProjectApi.UpdateProject"; diff --git a/src/Org.OpenAPITools/Api/ProjectInvitationApi.cs b/src/Coscine.ApiClient/Api/ProjectInvitationApi.cs similarity index 70% rename from src/Org.OpenAPITools/Api/ProjectInvitationApi.cs rename to src/Coscine.ApiClient/Api/ProjectInvitationApi.cs index c3d0037..08d96b9 100644 --- a/src/Org.OpenAPITools/Api/ProjectInvitationApi.cs +++ b/src/Coscine.ApiClient/Api/ProjectInvitationApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -42,7 +42,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> @@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a project invitation for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationForProjectManipulationDto">The project invitation data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -63,7 +63,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationForProjectManipulationDto">The project invitation data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -72,7 +72,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a project invitation for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -85,7 +85,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -94,7 +94,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a project invitation for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -107,7 +107,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -116,14 +116,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all project invitations for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ProjectInvitationDtoIEnumerablePagedResponse</returns> - ProjectInvitationDtoIEnumerablePagedResponse GetProjectInvitations(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ProjectInvitationDtoPagedResponse</returns> + ProjectInvitationDtoPagedResponse GetProjectInvitations(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all project invitations for a specified project. @@ -131,14 +131,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ProjectInvitationDtoIEnumerablePagedResponse</returns> - ApiResponse<ProjectInvitationDtoIEnumerablePagedResponse> GetProjectInvitationsWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of ProjectInvitationDtoPagedResponse</returns> + ApiResponse<ProjectInvitationDtoPagedResponse> GetProjectInvitationsWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); #endregion Synchronous Operations } @@ -154,7 +154,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -167,7 +167,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -179,7 +179,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationForProjectManipulationDto">The project invitation data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -193,7 +193,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationForProjectManipulationDto">The project invitation data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -206,7 +206,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -220,7 +220,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -233,7 +233,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -247,7 +247,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -260,15 +260,15 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ProjectInvitationDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<ProjectInvitationDtoIEnumerablePagedResponse> GetProjectInvitationsAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ProjectInvitationDtoPagedResponse</returns> + System.Threading.Tasks.Task<ProjectInvitationDtoPagedResponse> GetProjectInvitationsAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all project invitations for a specified project. @@ -276,15 +276,15 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ProjectInvitationDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<ProjectInvitationDtoIEnumerablePagedResponse>> GetProjectInvitationsWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (ProjectInvitationDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<ProjectInvitationDtoPagedResponse>> GetProjectInvitationsWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -301,7 +301,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class ProjectInvitationApi : IProjectInvitationApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="ProjectInvitationApi"/> class. @@ -317,13 +317,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public ProjectInvitationApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -332,17 +332,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public ProjectInvitationApi(Org.OpenAPITools.Client.Configuration configuration) + public ProjectInvitationApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -352,7 +352,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public ProjectInvitationApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public ProjectInvitationApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -361,18 +361,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -387,12 +387,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -408,7 +408,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -420,19 +420,19 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2ProjectsProjectIdInvitationsOptionsWithHttpInfo(string projectId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2ProjectsProjectIdInvitationsOptionsWithHttpInfo(string projectId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->ApiV2ProjectsProjectIdInvitationsOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->ApiV2ProjectsProjectIdInvitationsOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -441,19 +441,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Operation = "ProjectInvitationApi.ApiV2ProjectsProjectIdInvitationsOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -481,7 +481,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -494,21 +494,21 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdInvitationsOptionsWithHttpInfoAsync(string projectId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdInvitationsOptionsWithHttpInfoAsync(string projectId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->ApiV2ProjectsProjectIdInvitationsOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->ApiV2ProjectsProjectIdInvitationsOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -517,19 +517,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Operation = "ProjectInvitationApi.ApiV2ProjectsProjectIdInvitationsOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -558,34 +558,34 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a project invitation for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationForProjectManipulationDto">The project invitation data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ProjectInvitationDtoResponse</returns> public ProjectInvitationDtoResponse CreateProjectInvitation(string projectId, ProjectInvitationForProjectManipulationDto? projectInvitationForProjectManipulationDto = default(ProjectInvitationForProjectManipulationDto?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ProjectInvitationDtoResponse> localVarResponse = CreateProjectInvitationWithHttpInfo(projectId, projectInvitationForProjectManipulationDto); + Coscine.ApiClient.Client.ApiResponse<ProjectInvitationDtoResponse> localVarResponse = CreateProjectInvitationWithHttpInfo(projectId, projectInvitationForProjectManipulationDto); return localVarResponse.Data; } /// <summary> /// Creates a project invitation for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationForProjectManipulationDto">The project invitation data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ProjectInvitationDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ProjectInvitationDtoResponse> CreateProjectInvitationWithHttpInfo(string projectId, ProjectInvitationForProjectManipulationDto? projectInvitationForProjectManipulationDto = default(ProjectInvitationForProjectManipulationDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ProjectInvitationDtoResponse> CreateProjectInvitationWithHttpInfo(string projectId, ProjectInvitationForProjectManipulationDto? projectInvitationForProjectManipulationDto = default(ProjectInvitationForProjectManipulationDto?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->CreateProjectInvitation"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->CreateProjectInvitation"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -599,19 +599,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Data = projectInvitationForProjectManipulationDto; localVarRequestOptions.Operation = "ProjectInvitationApi.CreateProjectInvitation"; @@ -640,7 +640,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a project invitation for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationForProjectManipulationDto">The project invitation data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -648,29 +648,29 @@ namespace Org.OpenAPITools.Api /// <returns>Task of ProjectInvitationDtoResponse</returns> public async System.Threading.Tasks.Task<ProjectInvitationDtoResponse> CreateProjectInvitationAsync(string projectId, ProjectInvitationForProjectManipulationDto? projectInvitationForProjectManipulationDto = default(ProjectInvitationForProjectManipulationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ProjectInvitationDtoResponse> localVarResponse = await CreateProjectInvitationWithHttpInfoAsync(projectId, projectInvitationForProjectManipulationDto, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ProjectInvitationDtoResponse> localVarResponse = await CreateProjectInvitationWithHttpInfoAsync(projectId, projectInvitationForProjectManipulationDto, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Creates a project invitation for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationForProjectManipulationDto">The project invitation data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ProjectInvitationDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ProjectInvitationDtoResponse>> CreateProjectInvitationWithHttpInfoAsync(string projectId, ProjectInvitationForProjectManipulationDto? projectInvitationForProjectManipulationDto = default(ProjectInvitationForProjectManipulationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ProjectInvitationDtoResponse>> CreateProjectInvitationWithHttpInfoAsync(string projectId, ProjectInvitationForProjectManipulationDto? projectInvitationForProjectManipulationDto = default(ProjectInvitationForProjectManipulationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->CreateProjectInvitation"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->CreateProjectInvitation"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -684,19 +684,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Data = projectInvitationForProjectManipulationDto; localVarRequestOptions.Operation = "ProjectInvitationApi.CreateProjectInvitation"; @@ -726,7 +726,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a project invitation for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -739,20 +739,20 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a project invitation for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> DeleteProjectInvitationWithHttpInfo(string projectId, Guid projectInvitationId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> DeleteProjectInvitationWithHttpInfo(string projectId, Guid projectInvitationId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->DeleteProjectInvitation"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->DeleteProjectInvitation"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -761,20 +761,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("projectInvitationId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectInvitationId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectInvitationId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectInvitationId)); // path parameter localVarRequestOptions.Operation = "ProjectInvitationApi.DeleteProjectInvitation"; localVarRequestOptions.OperationIndex = operationIndex; @@ -802,7 +802,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a project invitation for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -816,22 +816,22 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a project invitation for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeleteProjectInvitationWithHttpInfoAsync(string projectId, Guid projectInvitationId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> DeleteProjectInvitationWithHttpInfoAsync(string projectId, Guid projectInvitationId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->DeleteProjectInvitation"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->DeleteProjectInvitation"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -840,20 +840,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("projectInvitationId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectInvitationId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectInvitationId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectInvitationId)); // path parameter localVarRequestOptions.Operation = "ProjectInvitationApi.DeleteProjectInvitation"; localVarRequestOptions.OperationIndex = operationIndex; @@ -882,34 +882,34 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a project invitation for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ProjectInvitationDtoResponse</returns> public ProjectInvitationDtoResponse GetProjectInvitation(string projectId, Guid projectInvitationId, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ProjectInvitationDtoResponse> localVarResponse = GetProjectInvitationWithHttpInfo(projectId, projectInvitationId); + Coscine.ApiClient.Client.ApiResponse<ProjectInvitationDtoResponse> localVarResponse = GetProjectInvitationWithHttpInfo(projectId, projectInvitationId); return localVarResponse.Data; } /// <summary> /// Retrieves a project invitation for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ProjectInvitationDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ProjectInvitationDtoResponse> GetProjectInvitationWithHttpInfo(string projectId, Guid projectInvitationId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ProjectInvitationDtoResponse> GetProjectInvitationWithHttpInfo(string projectId, Guid projectInvitationId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->GetProjectInvitation"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->GetProjectInvitation"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -920,20 +920,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("projectInvitationId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectInvitationId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectInvitationId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectInvitationId)); // path parameter localVarRequestOptions.Operation = "ProjectInvitationApi.GetProjectInvitation"; localVarRequestOptions.OperationIndex = operationIndex; @@ -961,7 +961,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a project invitation for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -969,29 +969,29 @@ namespace Org.OpenAPITools.Api /// <returns>Task of ProjectInvitationDtoResponse</returns> public async System.Threading.Tasks.Task<ProjectInvitationDtoResponse> GetProjectInvitationAsync(string projectId, Guid projectInvitationId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ProjectInvitationDtoResponse> localVarResponse = await GetProjectInvitationWithHttpInfoAsync(projectId, projectInvitationId, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ProjectInvitationDtoResponse> localVarResponse = await GetProjectInvitationWithHttpInfoAsync(projectId, projectInvitationId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves a project invitation for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectInvitationId">The ID of the project invitation to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ProjectInvitationDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ProjectInvitationDtoResponse>> GetProjectInvitationWithHttpInfoAsync(string projectId, Guid projectInvitationId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ProjectInvitationDtoResponse>> GetProjectInvitationWithHttpInfoAsync(string projectId, Guid projectInvitationId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->GetProjectInvitation"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->GetProjectInvitation"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1002,20 +1002,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("projectInvitationId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectInvitationId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectInvitationId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectInvitationId)); // path parameter localVarRequestOptions.Operation = "ProjectInvitationApi.GetProjectInvitation"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1044,38 +1044,38 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all project invitations for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ProjectInvitationDtoIEnumerablePagedResponse</returns> - public ProjectInvitationDtoIEnumerablePagedResponse GetProjectInvitations(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ProjectInvitationDtoPagedResponse</returns> + public ProjectInvitationDtoPagedResponse GetProjectInvitations(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ProjectInvitationDtoIEnumerablePagedResponse> localVarResponse = GetProjectInvitationsWithHttpInfo(projectId, pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<ProjectInvitationDtoPagedResponse> localVarResponse = GetProjectInvitationsWithHttpInfo(projectId, pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all project invitations for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ProjectInvitationDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ProjectInvitationDtoIEnumerablePagedResponse> GetProjectInvitationsWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of ProjectInvitationDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<ProjectInvitationDtoPagedResponse> GetProjectInvitationsWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->GetProjectInvitations"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->GetProjectInvitations"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1086,30 +1086,30 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "ProjectInvitationApi.GetProjectInvitations"; @@ -1122,7 +1122,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<ProjectInvitationDtoIEnumerablePagedResponse>("/api/v2/projects/{projectId}/invitations", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<ProjectInvitationDtoPagedResponse>("/api/v2/projects/{projectId}/invitations", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetProjectInvitations", localVarResponse); @@ -1138,41 +1138,41 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all project invitations for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ProjectInvitationDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<ProjectInvitationDtoIEnumerablePagedResponse> GetProjectInvitationsAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ProjectInvitationDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<ProjectInvitationDtoPagedResponse> GetProjectInvitationsAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ProjectInvitationDtoIEnumerablePagedResponse> localVarResponse = await GetProjectInvitationsWithHttpInfoAsync(projectId, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ProjectInvitationDtoPagedResponse> localVarResponse = await GetProjectInvitationsWithHttpInfoAsync(projectId, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all project invitations for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ProjectInvitationDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ProjectInvitationDtoIEnumerablePagedResponse>> GetProjectInvitationsWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (ProjectInvitationDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ProjectInvitationDtoPagedResponse>> GetProjectInvitationsWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->GetProjectInvitations"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectInvitationApi->GetProjectInvitations"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1183,30 +1183,30 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "ProjectInvitationApi.GetProjectInvitations"; @@ -1219,7 +1219,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<ProjectInvitationDtoIEnumerablePagedResponse>("/api/v2/projects/{projectId}/invitations", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<ProjectInvitationDtoPagedResponse>("/api/v2/projects/{projectId}/invitations", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Org.OpenAPITools/Api/ProjectMemberApi.cs b/src/Coscine.ApiClient/Api/ProjectMemberApi.cs similarity index 72% rename from src/Org.OpenAPITools/Api/ProjectMemberApi.cs rename to src/Coscine.ApiClient/Api/ProjectMemberApi.cs index b0afea2..4b33915 100644 --- a/src/Org.OpenAPITools/Api/ProjectMemberApi.cs +++ b/src/Coscine.ApiClient/Api/ProjectMemberApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectRoleForProjectCreationDto">The project membership data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectRoleForProjectCreationDto">The project membership data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -52,7 +52,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -64,7 +64,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> @@ -72,7 +72,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -85,7 +85,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -94,7 +94,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -107,7 +107,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -116,14 +116,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all project memberships for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ProjectRoleDtoIEnumerablePagedResponse</returns> - ProjectRoleDtoIEnumerablePagedResponse GetMemberships(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ProjectRoleDtoPagedResponse</returns> + ProjectRoleDtoPagedResponse GetMemberships(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all project memberships for a specified project. @@ -131,18 +131,18 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ProjectRoleDtoIEnumerablePagedResponse</returns> - ApiResponse<ProjectRoleDtoIEnumerablePagedResponse> GetMembershipsWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of ProjectRoleDtoPagedResponse</returns> + ApiResponse<ProjectRoleDtoPagedResponse> GetMembershipsWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Updates a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to update.</param> /// <param name="projectRoleForProjectManipulationDto">The updated project membership data. (optional)</param> @@ -156,7 +156,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to update.</param> /// <param name="projectRoleForProjectManipulationDto">The updated project membership data. (optional)</param> @@ -178,7 +178,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectRoleForProjectCreationDto">The project membership data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -192,7 +192,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectRoleForProjectCreationDto">The project membership data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -205,7 +205,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -218,7 +218,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -230,7 +230,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -244,7 +244,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -257,7 +257,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -271,7 +271,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -284,15 +284,15 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ProjectRoleDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<ProjectRoleDtoIEnumerablePagedResponse> GetMembershipsAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ProjectRoleDtoPagedResponse</returns> + System.Threading.Tasks.Task<ProjectRoleDtoPagedResponse> GetMembershipsAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all project memberships for a specified project. @@ -300,22 +300,22 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ProjectRoleDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<ProjectRoleDtoIEnumerablePagedResponse>> GetMembershipsWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (ProjectRoleDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<ProjectRoleDtoPagedResponse>> GetMembershipsWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Updates a project membership for a specified project. /// </summary> /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to update.</param> /// <param name="projectRoleForProjectManipulationDto">The updated project membership data. (optional)</param> @@ -330,7 +330,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to update.</param> /// <param name="projectRoleForProjectManipulationDto">The updated project membership data. (optional)</param> @@ -354,7 +354,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class ProjectMemberApi : IProjectMemberApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="ProjectMemberApi"/> class. @@ -370,13 +370,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public ProjectMemberApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -385,17 +385,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public ProjectMemberApi(Org.OpenAPITools.Client.Configuration configuration) + public ProjectMemberApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -405,7 +405,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public ProjectMemberApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public ProjectMemberApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -414,18 +414,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -440,12 +440,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -461,34 +461,34 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectRoleForProjectCreationDto">The project membership data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ProjectRoleDtoResponse</returns> public ProjectRoleDtoResponse AddMembership(string projectId, ProjectRoleForProjectCreationDto? projectRoleForProjectCreationDto = default(ProjectRoleForProjectCreationDto?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ProjectRoleDtoResponse> localVarResponse = AddMembershipWithHttpInfo(projectId, projectRoleForProjectCreationDto); + Coscine.ApiClient.Client.ApiResponse<ProjectRoleDtoResponse> localVarResponse = AddMembershipWithHttpInfo(projectId, projectRoleForProjectCreationDto); return localVarResponse.Data; } /// <summary> /// Creates a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectRoleForProjectCreationDto">The project membership data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ProjectRoleDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ProjectRoleDtoResponse> AddMembershipWithHttpInfo(string projectId, ProjectRoleForProjectCreationDto? projectRoleForProjectCreationDto = default(ProjectRoleForProjectCreationDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ProjectRoleDtoResponse> AddMembershipWithHttpInfo(string projectId, ProjectRoleForProjectCreationDto? projectRoleForProjectCreationDto = default(ProjectRoleForProjectCreationDto?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->AddMembership"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->AddMembership"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -502,19 +502,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Data = projectRoleForProjectCreationDto; localVarRequestOptions.Operation = "ProjectMemberApi.AddMembership"; @@ -543,7 +543,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectRoleForProjectCreationDto">The project membership data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -551,29 +551,29 @@ namespace Org.OpenAPITools.Api /// <returns>Task of ProjectRoleDtoResponse</returns> public async System.Threading.Tasks.Task<ProjectRoleDtoResponse> AddMembershipAsync(string projectId, ProjectRoleForProjectCreationDto? projectRoleForProjectCreationDto = default(ProjectRoleForProjectCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ProjectRoleDtoResponse> localVarResponse = await AddMembershipWithHttpInfoAsync(projectId, projectRoleForProjectCreationDto, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ProjectRoleDtoResponse> localVarResponse = await AddMembershipWithHttpInfoAsync(projectId, projectRoleForProjectCreationDto, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Creates a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="projectRoleForProjectCreationDto">The project membership data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ProjectRoleDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ProjectRoleDtoResponse>> AddMembershipWithHttpInfoAsync(string projectId, ProjectRoleForProjectCreationDto? projectRoleForProjectCreationDto = default(ProjectRoleForProjectCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ProjectRoleDtoResponse>> AddMembershipWithHttpInfoAsync(string projectId, ProjectRoleForProjectCreationDto? projectRoleForProjectCreationDto = default(ProjectRoleForProjectCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->AddMembership"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->AddMembership"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -587,19 +587,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Data = projectRoleForProjectCreationDto; localVarRequestOptions.Operation = "ProjectMemberApi.AddMembership"; @@ -629,7 +629,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -641,19 +641,19 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2ProjectsProjectIdMembersOptionsWithHttpInfo(string projectId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2ProjectsProjectIdMembersOptionsWithHttpInfo(string projectId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->ApiV2ProjectsProjectIdMembersOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->ApiV2ProjectsProjectIdMembersOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -662,19 +662,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Operation = "ProjectMemberApi.ApiV2ProjectsProjectIdMembersOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -702,7 +702,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -715,21 +715,21 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdMembersOptionsWithHttpInfoAsync(string projectId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdMembersOptionsWithHttpInfoAsync(string projectId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->ApiV2ProjectsProjectIdMembersOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->ApiV2ProjectsProjectIdMembersOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -738,19 +738,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Operation = "ProjectMemberApi.ApiV2ProjectsProjectIdMembersOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -779,7 +779,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -792,20 +792,20 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> DeleteMembershipWithHttpInfo(string projectId, Guid membershipId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> DeleteMembershipWithHttpInfo(string projectId, Guid membershipId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->DeleteMembership"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->DeleteMembership"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -814,20 +814,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("membershipId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(membershipId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("membershipId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(membershipId)); // path parameter localVarRequestOptions.Operation = "ProjectMemberApi.DeleteMembership"; localVarRequestOptions.OperationIndex = operationIndex; @@ -855,7 +855,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -869,22 +869,22 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeleteMembershipWithHttpInfoAsync(string projectId, Guid membershipId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> DeleteMembershipWithHttpInfoAsync(string projectId, Guid membershipId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->DeleteMembership"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->DeleteMembership"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -893,20 +893,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("membershipId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(membershipId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("membershipId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(membershipId)); // path parameter localVarRequestOptions.Operation = "ProjectMemberApi.DeleteMembership"; localVarRequestOptions.OperationIndex = operationIndex; @@ -935,34 +935,34 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ProjectRoleDtoResponse</returns> public ProjectRoleDtoResponse GetMembership(string projectId, Guid membershipId, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ProjectRoleDtoResponse> localVarResponse = GetMembershipWithHttpInfo(projectId, membershipId); + Coscine.ApiClient.Client.ApiResponse<ProjectRoleDtoResponse> localVarResponse = GetMembershipWithHttpInfo(projectId, membershipId); return localVarResponse.Data; } /// <summary> /// Retrieves a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ProjectRoleDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ProjectRoleDtoResponse> GetMembershipWithHttpInfo(string projectId, Guid membershipId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ProjectRoleDtoResponse> GetMembershipWithHttpInfo(string projectId, Guid membershipId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->GetMembership"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->GetMembership"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -973,20 +973,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("membershipId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(membershipId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("membershipId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(membershipId)); // path parameter localVarRequestOptions.Operation = "ProjectMemberApi.GetMembership"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1014,7 +1014,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -1022,29 +1022,29 @@ namespace Org.OpenAPITools.Api /// <returns>Task of ProjectRoleDtoResponse</returns> public async System.Threading.Tasks.Task<ProjectRoleDtoResponse> GetMembershipAsync(string projectId, Guid membershipId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ProjectRoleDtoResponse> localVarResponse = await GetMembershipWithHttpInfoAsync(projectId, membershipId, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ProjectRoleDtoResponse> localVarResponse = await GetMembershipWithHttpInfoAsync(projectId, membershipId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ProjectRoleDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ProjectRoleDtoResponse>> GetMembershipWithHttpInfoAsync(string projectId, Guid membershipId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ProjectRoleDtoResponse>> GetMembershipWithHttpInfoAsync(string projectId, Guid membershipId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->GetMembership"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->GetMembership"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1055,20 +1055,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("membershipId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(membershipId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("membershipId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(membershipId)); // path parameter localVarRequestOptions.Operation = "ProjectMemberApi.GetMembership"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1097,38 +1097,38 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all project memberships for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ProjectRoleDtoIEnumerablePagedResponse</returns> - public ProjectRoleDtoIEnumerablePagedResponse GetMemberships(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ProjectRoleDtoPagedResponse</returns> + public ProjectRoleDtoPagedResponse GetMemberships(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ProjectRoleDtoIEnumerablePagedResponse> localVarResponse = GetMembershipsWithHttpInfo(projectId, pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<ProjectRoleDtoPagedResponse> localVarResponse = GetMembershipsWithHttpInfo(projectId, pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all project memberships for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ProjectRoleDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ProjectRoleDtoIEnumerablePagedResponse> GetMembershipsWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of ProjectRoleDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<ProjectRoleDtoPagedResponse> GetMembershipsWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->GetMemberships"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->GetMemberships"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1139,30 +1139,30 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "ProjectMemberApi.GetMemberships"; @@ -1175,7 +1175,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<ProjectRoleDtoIEnumerablePagedResponse>("/api/v2/projects/{projectId}/members", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<ProjectRoleDtoPagedResponse>("/api/v2/projects/{projectId}/members", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetMemberships", localVarResponse); @@ -1191,41 +1191,41 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all project memberships for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ProjectRoleDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<ProjectRoleDtoIEnumerablePagedResponse> GetMembershipsAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ProjectRoleDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<ProjectRoleDtoPagedResponse> GetMembershipsAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ProjectRoleDtoIEnumerablePagedResponse> localVarResponse = await GetMembershipsWithHttpInfoAsync(projectId, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ProjectRoleDtoPagedResponse> localVarResponse = await GetMembershipsWithHttpInfoAsync(projectId, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all project memberships for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ProjectRoleDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ProjectRoleDtoIEnumerablePagedResponse>> GetMembershipsWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (ProjectRoleDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ProjectRoleDtoPagedResponse>> GetMembershipsWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->GetMemberships"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->GetMemberships"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1236,30 +1236,30 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "ProjectMemberApi.GetMemberships"; @@ -1272,7 +1272,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<ProjectRoleDtoIEnumerablePagedResponse>("/api/v2/projects/{projectId}/members", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<ProjectRoleDtoPagedResponse>("/api/v2/projects/{projectId}/members", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1289,7 +1289,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to update.</param> /// <param name="projectRoleForProjectManipulationDto">The updated project membership data. (optional)</param> @@ -1303,21 +1303,21 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to update.</param> /// <param name="projectRoleForProjectManipulationDto">The updated project membership data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> UpdateMembershipWithHttpInfo(string projectId, Guid membershipId, ProjectRoleForProjectManipulationDto? projectRoleForProjectManipulationDto = default(ProjectRoleForProjectManipulationDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> UpdateMembershipWithHttpInfo(string projectId, Guid membershipId, ProjectRoleForProjectManipulationDto? projectRoleForProjectManipulationDto = default(ProjectRoleForProjectManipulationDto?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->UpdateMembership"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->UpdateMembership"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -1329,20 +1329,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("membershipId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(membershipId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("membershipId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(membershipId)); // path parameter localVarRequestOptions.Data = projectRoleForProjectManipulationDto; localVarRequestOptions.Operation = "ProjectMemberApi.UpdateMembership"; @@ -1371,7 +1371,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to update.</param> /// <param name="projectRoleForProjectManipulationDto">The updated project membership data. (optional)</param> @@ -1386,23 +1386,23 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a project membership for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="membershipId">The ID of the project membership to update.</param> /// <param name="projectRoleForProjectManipulationDto">The updated project membership data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdateMembershipWithHttpInfoAsync(string projectId, Guid membershipId, ProjectRoleForProjectManipulationDto? projectRoleForProjectManipulationDto = default(ProjectRoleForProjectManipulationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> UpdateMembershipWithHttpInfoAsync(string projectId, Guid membershipId, ProjectRoleForProjectManipulationDto? projectRoleForProjectManipulationDto = default(ProjectRoleForProjectManipulationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->UpdateMembership"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectMemberApi->UpdateMembership"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -1414,20 +1414,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("membershipId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(membershipId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("membershipId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(membershipId)); // path parameter localVarRequestOptions.Data = projectRoleForProjectManipulationDto; localVarRequestOptions.Operation = "ProjectMemberApi.UpdateMembership"; diff --git a/src/Org.OpenAPITools/Api/ProjectQuotaApi.cs b/src/Coscine.ApiClient/Api/ProjectQuotaApi.cs similarity index 70% rename from src/Org.OpenAPITools/Api/ProjectQuotaApi.cs rename to src/Coscine.ApiClient/Api/ProjectQuotaApi.cs index a56e0ca..ed05ea0 100644 --- a/src/Org.OpenAPITools/Api/ProjectQuotaApi.cs +++ b/src/Coscine.ApiClient/Api/ProjectQuotaApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -42,7 +42,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> @@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a project quota for a specified project and resource type. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -63,7 +63,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -72,14 +72,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all project quotas for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ProjectQuotaDtoIEnumerablePagedResponse</returns> - ProjectQuotaDtoIEnumerablePagedResponse GetProjectQuotas(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ProjectQuotaDtoPagedResponse</returns> + ProjectQuotaDtoPagedResponse GetProjectQuotas(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all project quotas for a specified project. @@ -87,18 +87,18 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ProjectQuotaDtoIEnumerablePagedResponse</returns> - ApiResponse<ProjectQuotaDtoIEnumerablePagedResponse> GetProjectQuotasWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of ProjectQuotaDtoPagedResponse</returns> + ApiResponse<ProjectQuotaDtoPagedResponse> GetProjectQuotasWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Updates a project quota for a specified project and resource type. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="projectQuotaForUpdateDto">The updated project quota data. (optional)</param> @@ -112,7 +112,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="projectQuotaForUpdateDto">The updated project quota data. (optional)</param> @@ -134,7 +134,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -147,7 +147,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -159,7 +159,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -173,7 +173,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -186,15 +186,15 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ProjectQuotaDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<ProjectQuotaDtoIEnumerablePagedResponse> GetProjectQuotasAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ProjectQuotaDtoPagedResponse</returns> + System.Threading.Tasks.Task<ProjectQuotaDtoPagedResponse> GetProjectQuotasAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all project quotas for a specified project. @@ -202,22 +202,22 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ProjectQuotaDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<ProjectQuotaDtoIEnumerablePagedResponse>> GetProjectQuotasWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (ProjectQuotaDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<ProjectQuotaDtoPagedResponse>> GetProjectQuotasWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Updates a project quota for a specified project and resource type. /// </summary> /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="projectQuotaForUpdateDto">The updated project quota data. (optional)</param> @@ -232,7 +232,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="projectQuotaForUpdateDto">The updated project quota data. (optional)</param> @@ -256,7 +256,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class ProjectQuotaApi : IProjectQuotaApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="ProjectQuotaApi"/> class. @@ -272,13 +272,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public ProjectQuotaApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -287,17 +287,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public ProjectQuotaApi(Org.OpenAPITools.Client.Configuration configuration) + public ProjectQuotaApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -307,7 +307,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public ProjectQuotaApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public ProjectQuotaApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -316,18 +316,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -342,12 +342,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -363,7 +363,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -375,19 +375,19 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2ProjectsProjectIdQuotasOptionsWithHttpInfo(string projectId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2ProjectsProjectIdQuotasOptionsWithHttpInfo(string projectId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->ApiV2ProjectsProjectIdQuotasOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->ApiV2ProjectsProjectIdQuotasOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -396,19 +396,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Operation = "ProjectQuotaApi.ApiV2ProjectsProjectIdQuotasOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -436,7 +436,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -449,21 +449,21 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdQuotasOptionsWithHttpInfoAsync(string projectId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdQuotasOptionsWithHttpInfoAsync(string projectId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->ApiV2ProjectsProjectIdQuotasOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->ApiV2ProjectsProjectIdQuotasOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -472,19 +472,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Operation = "ProjectQuotaApi.ApiV2ProjectsProjectIdQuotasOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -513,34 +513,34 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a project quota for a specified project and resource type. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ProjectQuotaDtoResponse</returns> public ProjectQuotaDtoResponse GetProjectQuota(string projectId, Guid resourceTypeId, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ProjectQuotaDtoResponse> localVarResponse = GetProjectQuotaWithHttpInfo(projectId, resourceTypeId); + Coscine.ApiClient.Client.ApiResponse<ProjectQuotaDtoResponse> localVarResponse = GetProjectQuotaWithHttpInfo(projectId, resourceTypeId); return localVarResponse.Data; } /// <summary> /// Retrieves a project quota for a specified project and resource type. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ProjectQuotaDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ProjectQuotaDtoResponse> GetProjectQuotaWithHttpInfo(string projectId, Guid resourceTypeId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ProjectQuotaDtoResponse> GetProjectQuotaWithHttpInfo(string projectId, Guid resourceTypeId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->GetProjectQuota"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->GetProjectQuota"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -551,20 +551,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceTypeId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceTypeId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceTypeId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceTypeId)); // path parameter localVarRequestOptions.Operation = "ProjectQuotaApi.GetProjectQuota"; localVarRequestOptions.OperationIndex = operationIndex; @@ -592,7 +592,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a project quota for a specified project and resource type. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -600,29 +600,29 @@ namespace Org.OpenAPITools.Api /// <returns>Task of ProjectQuotaDtoResponse</returns> public async System.Threading.Tasks.Task<ProjectQuotaDtoResponse> GetProjectQuotaAsync(string projectId, Guid resourceTypeId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ProjectQuotaDtoResponse> localVarResponse = await GetProjectQuotaWithHttpInfoAsync(projectId, resourceTypeId, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ProjectQuotaDtoResponse> localVarResponse = await GetProjectQuotaWithHttpInfoAsync(projectId, resourceTypeId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves a project quota for a specified project and resource type. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ProjectQuotaDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ProjectQuotaDtoResponse>> GetProjectQuotaWithHttpInfoAsync(string projectId, Guid resourceTypeId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ProjectQuotaDtoResponse>> GetProjectQuotaWithHttpInfoAsync(string projectId, Guid resourceTypeId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->GetProjectQuota"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->GetProjectQuota"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -633,20 +633,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceTypeId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceTypeId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceTypeId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceTypeId)); // path parameter localVarRequestOptions.Operation = "ProjectQuotaApi.GetProjectQuota"; localVarRequestOptions.OperationIndex = operationIndex; @@ -675,38 +675,38 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all project quotas for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ProjectQuotaDtoIEnumerablePagedResponse</returns> - public ProjectQuotaDtoIEnumerablePagedResponse GetProjectQuotas(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ProjectQuotaDtoPagedResponse</returns> + public ProjectQuotaDtoPagedResponse GetProjectQuotas(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ProjectQuotaDtoIEnumerablePagedResponse> localVarResponse = GetProjectQuotasWithHttpInfo(projectId, pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<ProjectQuotaDtoPagedResponse> localVarResponse = GetProjectQuotasWithHttpInfo(projectId, pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all project quotas for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ProjectQuotaDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ProjectQuotaDtoIEnumerablePagedResponse> GetProjectQuotasWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of ProjectQuotaDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<ProjectQuotaDtoPagedResponse> GetProjectQuotasWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->GetProjectQuotas"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->GetProjectQuotas"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -717,30 +717,30 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "ProjectQuotaApi.GetProjectQuotas"; @@ -753,7 +753,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<ProjectQuotaDtoIEnumerablePagedResponse>("/api/v2/projects/{projectId}/quotas", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<ProjectQuotaDtoPagedResponse>("/api/v2/projects/{projectId}/quotas", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetProjectQuotas", localVarResponse); @@ -769,41 +769,41 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all project quotas for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ProjectQuotaDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<ProjectQuotaDtoIEnumerablePagedResponse> GetProjectQuotasAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ProjectQuotaDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<ProjectQuotaDtoPagedResponse> GetProjectQuotasAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ProjectQuotaDtoIEnumerablePagedResponse> localVarResponse = await GetProjectQuotasWithHttpInfoAsync(projectId, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ProjectQuotaDtoPagedResponse> localVarResponse = await GetProjectQuotasWithHttpInfoAsync(projectId, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all project quotas for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ProjectQuotaDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ProjectQuotaDtoIEnumerablePagedResponse>> GetProjectQuotasWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (ProjectQuotaDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ProjectQuotaDtoPagedResponse>> GetProjectQuotasWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->GetProjectQuotas"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->GetProjectQuotas"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -814,30 +814,30 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "ProjectQuotaApi.GetProjectQuotas"; @@ -850,7 +850,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<ProjectQuotaDtoIEnumerablePagedResponse>("/api/v2/projects/{projectId}/quotas", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<ProjectQuotaDtoPagedResponse>("/api/v2/projects/{projectId}/quotas", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -867,7 +867,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a project quota for a specified project and resource type. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="projectQuotaForUpdateDto">The updated project quota data. (optional)</param> @@ -881,21 +881,21 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a project quota for a specified project and resource type. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="projectQuotaForUpdateDto">The updated project quota data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> UpdateProjectQuotaWithHttpInfo(string projectId, Guid resourceTypeId, ProjectQuotaForUpdateDto? projectQuotaForUpdateDto = default(ProjectQuotaForUpdateDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> UpdateProjectQuotaWithHttpInfo(string projectId, Guid resourceTypeId, ProjectQuotaForUpdateDto? projectQuotaForUpdateDto = default(ProjectQuotaForUpdateDto?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->UpdateProjectQuota"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->UpdateProjectQuota"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -907,20 +907,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceTypeId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceTypeId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceTypeId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceTypeId)); // path parameter localVarRequestOptions.Data = projectQuotaForUpdateDto; localVarRequestOptions.Operation = "ProjectQuotaApi.UpdateProjectQuota"; @@ -949,7 +949,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a project quota for a specified project and resource type. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="projectQuotaForUpdateDto">The updated project quota data. (optional)</param> @@ -964,23 +964,23 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a project quota for a specified project and resource type. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceTypeId">The ID of the resource type.</param> /// <param name="projectQuotaForUpdateDto">The updated project quota data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdateProjectQuotaWithHttpInfoAsync(string projectId, Guid resourceTypeId, ProjectQuotaForUpdateDto? projectQuotaForUpdateDto = default(ProjectQuotaForUpdateDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> UpdateProjectQuotaWithHttpInfoAsync(string projectId, Guid resourceTypeId, ProjectQuotaForUpdateDto? projectQuotaForUpdateDto = default(ProjectQuotaForUpdateDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->UpdateProjectQuota"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectQuotaApi->UpdateProjectQuota"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -992,20 +992,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceTypeId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceTypeId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceTypeId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceTypeId)); // path parameter localVarRequestOptions.Data = projectQuotaForUpdateDto; localVarRequestOptions.Operation = "ProjectQuotaApi.UpdateProjectQuota"; diff --git a/src/Org.OpenAPITools/Api/ProjectResourceApi.cs b/src/Coscine.ApiClient/Api/ProjectResourceApi.cs similarity index 71% rename from src/Org.OpenAPITools/Api/ProjectResourceApi.cs rename to src/Coscine.ApiClient/Api/ProjectResourceApi.cs index 50e8a8a..905c04f 100644 --- a/src/Org.OpenAPITools/Api/ProjectResourceApi.cs +++ b/src/Coscine.ApiClient/Api/ProjectResourceApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -42,7 +42,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> @@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a new resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceForCreationDto">The resource data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -63,7 +63,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceForCreationDto">The resource data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -72,7 +72,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -85,7 +85,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -94,7 +94,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -107,7 +107,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -116,14 +116,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all resources for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ResourceDtoIEnumerablePagedResponse</returns> - ResourceDtoIEnumerablePagedResponse GetResourcesForProject(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ResourceDtoPagedResponse</returns> + ResourceDtoPagedResponse GetResourcesForProject(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all resources for a specified project. @@ -131,18 +131,18 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ResourceDtoIEnumerablePagedResponse</returns> - ApiResponse<ResourceDtoIEnumerablePagedResponse> GetResourcesForProjectWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of ResourceDtoPagedResponse</returns> + ApiResponse<ResourceDtoPagedResponse> GetResourcesForProjectWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Updates a resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to update.</param> /// <param name="resourceForUpdateDto">The updated resource data. (optional)</param> @@ -156,7 +156,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to update.</param> /// <param name="resourceForUpdateDto">The updated resource data. (optional)</param> @@ -178,7 +178,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -203,7 +203,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceForCreationDto">The resource data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -217,7 +217,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceForCreationDto">The resource data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -230,7 +230,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -244,7 +244,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -257,7 +257,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -271,7 +271,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -284,15 +284,15 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ResourceDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<ResourceDtoIEnumerablePagedResponse> GetResourcesForProjectAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ResourceDtoPagedResponse</returns> + System.Threading.Tasks.Task<ResourceDtoPagedResponse> GetResourcesForProjectAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all resources for a specified project. @@ -300,22 +300,22 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ResourceDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<ResourceDtoIEnumerablePagedResponse>> GetResourcesForProjectWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (ResourceDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<ResourceDtoPagedResponse>> GetResourcesForProjectWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Updates a resource for a specified project. /// </summary> /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to update.</param> /// <param name="resourceForUpdateDto">The updated resource data. (optional)</param> @@ -330,7 +330,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to update.</param> /// <param name="resourceForUpdateDto">The updated resource data. (optional)</param> @@ -354,7 +354,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class ProjectResourceApi : IProjectResourceApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="ProjectResourceApi"/> class. @@ -370,13 +370,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public ProjectResourceApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -385,17 +385,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public ProjectResourceApi(Org.OpenAPITools.Client.Configuration configuration) + public ProjectResourceApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -405,7 +405,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public ProjectResourceApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public ProjectResourceApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -414,18 +414,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -440,12 +440,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -461,7 +461,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -473,19 +473,19 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2ProjectsProjectIdResourcesOptionsWithHttpInfo(string projectId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2ProjectsProjectIdResourcesOptionsWithHttpInfo(string projectId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->ApiV2ProjectsProjectIdResourcesOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->ApiV2ProjectsProjectIdResourcesOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -494,19 +494,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Operation = "ProjectResourceApi.ApiV2ProjectsProjectIdResourcesOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -534,7 +534,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -547,21 +547,21 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdResourcesOptionsWithHttpInfoAsync(string projectId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdResourcesOptionsWithHttpInfoAsync(string projectId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->ApiV2ProjectsProjectIdResourcesOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->ApiV2ProjectsProjectIdResourcesOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -570,19 +570,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Operation = "ProjectResourceApi.ApiV2ProjectsProjectIdResourcesOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -611,34 +611,34 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a new resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceForCreationDto">The resource data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ResourceDtoResponse</returns> public ResourceDtoResponse CreateResourceForProject(string projectId, ResourceForCreationDto? resourceForCreationDto = default(ResourceForCreationDto?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ResourceDtoResponse> localVarResponse = CreateResourceForProjectWithHttpInfo(projectId, resourceForCreationDto); + Coscine.ApiClient.Client.ApiResponse<ResourceDtoResponse> localVarResponse = CreateResourceForProjectWithHttpInfo(projectId, resourceForCreationDto); return localVarResponse.Data; } /// <summary> /// Creates a new resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceForCreationDto">The resource data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ResourceDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ResourceDtoResponse> CreateResourceForProjectWithHttpInfo(string projectId, ResourceForCreationDto? resourceForCreationDto = default(ResourceForCreationDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ResourceDtoResponse> CreateResourceForProjectWithHttpInfo(string projectId, ResourceForCreationDto? resourceForCreationDto = default(ResourceForCreationDto?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->CreateResourceForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->CreateResourceForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -652,19 +652,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Data = resourceForCreationDto; localVarRequestOptions.Operation = "ProjectResourceApi.CreateResourceForProject"; @@ -693,7 +693,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a new resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceForCreationDto">The resource data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -701,29 +701,29 @@ namespace Org.OpenAPITools.Api /// <returns>Task of ResourceDtoResponse</returns> public async System.Threading.Tasks.Task<ResourceDtoResponse> CreateResourceForProjectAsync(string projectId, ResourceForCreationDto? resourceForCreationDto = default(ResourceForCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ResourceDtoResponse> localVarResponse = await CreateResourceForProjectWithHttpInfoAsync(projectId, resourceForCreationDto, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ResourceDtoResponse> localVarResponse = await CreateResourceForProjectWithHttpInfoAsync(projectId, resourceForCreationDto, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Creates a new resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceForCreationDto">The resource data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ResourceDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ResourceDtoResponse>> CreateResourceForProjectWithHttpInfoAsync(string projectId, ResourceForCreationDto? resourceForCreationDto = default(ResourceForCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ResourceDtoResponse>> CreateResourceForProjectWithHttpInfoAsync(string projectId, ResourceForCreationDto? resourceForCreationDto = default(ResourceForCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->CreateResourceForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->CreateResourceForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -737,19 +737,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Data = resourceForCreationDto; localVarRequestOptions.Operation = "ProjectResourceApi.CreateResourceForProject"; @@ -779,7 +779,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -792,20 +792,20 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> DeleteResourceForProjectWithHttpInfo(string projectId, Guid resourceId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> DeleteResourceForProjectWithHttpInfo(string projectId, Guid resourceId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->DeleteResourceForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->DeleteResourceForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -814,20 +814,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Operation = "ProjectResourceApi.DeleteResourceForProject"; localVarRequestOptions.OperationIndex = operationIndex; @@ -855,7 +855,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -869,22 +869,22 @@ namespace Org.OpenAPITools.Api /// <summary> /// Deletes a resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to delete.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> DeleteResourceForProjectWithHttpInfoAsync(string projectId, Guid resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> DeleteResourceForProjectWithHttpInfoAsync(string projectId, Guid resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->DeleteResourceForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->DeleteResourceForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -893,20 +893,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Operation = "ProjectResourceApi.DeleteResourceForProject"; localVarRequestOptions.OperationIndex = operationIndex; @@ -935,34 +935,34 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ResourceDtoResponse</returns> public ResourceDtoResponse GetResourceForProject(string projectId, Guid resourceId, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ResourceDtoResponse> localVarResponse = GetResourceForProjectWithHttpInfo(projectId, resourceId); + Coscine.ApiClient.Client.ApiResponse<ResourceDtoResponse> localVarResponse = GetResourceForProjectWithHttpInfo(projectId, resourceId); return localVarResponse.Data; } /// <summary> /// Retrieves a resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ResourceDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ResourceDtoResponse> GetResourceForProjectWithHttpInfo(string projectId, Guid resourceId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ResourceDtoResponse> GetResourceForProjectWithHttpInfo(string projectId, Guid resourceId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->GetResourceForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->GetResourceForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -973,20 +973,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Operation = "ProjectResourceApi.GetResourceForProject"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1014,7 +1014,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -1022,29 +1022,29 @@ namespace Org.OpenAPITools.Api /// <returns>Task of ResourceDtoResponse</returns> public async System.Threading.Tasks.Task<ResourceDtoResponse> GetResourceForProjectAsync(string projectId, Guid resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ResourceDtoResponse> localVarResponse = await GetResourceForProjectWithHttpInfoAsync(projectId, resourceId, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ResourceDtoResponse> localVarResponse = await GetResourceForProjectWithHttpInfoAsync(projectId, resourceId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves a resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ResourceDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ResourceDtoResponse>> GetResourceForProjectWithHttpInfoAsync(string projectId, Guid resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ResourceDtoResponse>> GetResourceForProjectWithHttpInfoAsync(string projectId, Guid resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->GetResourceForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->GetResourceForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1055,20 +1055,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Operation = "ProjectResourceApi.GetResourceForProject"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1097,38 +1097,38 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all resources for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ResourceDtoIEnumerablePagedResponse</returns> - public ResourceDtoIEnumerablePagedResponse GetResourcesForProject(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ResourceDtoPagedResponse</returns> + public ResourceDtoPagedResponse GetResourcesForProject(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ResourceDtoIEnumerablePagedResponse> localVarResponse = GetResourcesForProjectWithHttpInfo(projectId, pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<ResourceDtoPagedResponse> localVarResponse = GetResourcesForProjectWithHttpInfo(projectId, pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all resources for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ResourceDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ResourceDtoIEnumerablePagedResponse> GetResourcesForProjectWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of ResourceDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<ResourceDtoPagedResponse> GetResourcesForProjectWithHttpInfo(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->GetResourcesForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->GetResourcesForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1139,30 +1139,30 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "ProjectResourceApi.GetResourcesForProject"; @@ -1175,7 +1175,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<ResourceDtoIEnumerablePagedResponse>("/api/v2/projects/{projectId}/resources", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<ResourceDtoPagedResponse>("/api/v2/projects/{projectId}/resources", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetResourcesForProject", localVarResponse); @@ -1191,41 +1191,41 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all resources for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ResourceDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<ResourceDtoIEnumerablePagedResponse> GetResourcesForProjectAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ResourceDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<ResourceDtoPagedResponse> GetResourcesForProjectAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ResourceDtoIEnumerablePagedResponse> localVarResponse = await GetResourcesForProjectWithHttpInfoAsync(projectId, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ResourceDtoPagedResponse> localVarResponse = await GetResourcesForProjectWithHttpInfoAsync(projectId, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all resources for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ResourceDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ResourceDtoIEnumerablePagedResponse>> GetResourcesForProjectWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (ResourceDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ResourceDtoPagedResponse>> GetResourcesForProjectWithHttpInfoAsync(string projectId, int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->GetResourcesForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->GetResourcesForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1236,30 +1236,30 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "ProjectResourceApi.GetResourcesForProject"; @@ -1272,7 +1272,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<ResourceDtoIEnumerablePagedResponse>("/api/v2/projects/{projectId}/resources", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<ResourceDtoPagedResponse>("/api/v2/projects/{projectId}/resources", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1289,7 +1289,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to update.</param> /// <param name="resourceForUpdateDto">The updated resource data. (optional)</param> @@ -1303,21 +1303,21 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to update.</param> /// <param name="resourceForUpdateDto">The updated resource data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> UpdateResourceForProjectWithHttpInfo(string projectId, Guid resourceId, ResourceForUpdateDto? resourceForUpdateDto = default(ResourceForUpdateDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> UpdateResourceForProjectWithHttpInfo(string projectId, Guid resourceId, ResourceForUpdateDto? resourceForUpdateDto = default(ResourceForUpdateDto?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->UpdateResourceForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->UpdateResourceForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -1329,20 +1329,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Data = resourceForUpdateDto; localVarRequestOptions.Operation = "ProjectResourceApi.UpdateResourceForProject"; @@ -1371,7 +1371,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to update.</param> /// <param name="resourceForUpdateDto">The updated resource data. (optional)</param> @@ -1386,23 +1386,23 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates a resource for a specified project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource to update.</param> /// <param name="resourceForUpdateDto">The updated resource data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdateResourceForProjectWithHttpInfoAsync(string projectId, Guid resourceId, ResourceForUpdateDto? resourceForUpdateDto = default(ResourceForUpdateDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> UpdateResourceForProjectWithHttpInfoAsync(string projectId, Guid resourceId, ResourceForUpdateDto? resourceForUpdateDto = default(ResourceForUpdateDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->UpdateResourceForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceApi->UpdateResourceForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -1414,20 +1414,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Data = resourceForUpdateDto; localVarRequestOptions.Operation = "ProjectResourceApi.UpdateResourceForProject"; diff --git a/src/Org.OpenAPITools/Api/ProjectResourceQuotaApi.cs b/src/Coscine.ApiClient/Api/ProjectResourceQuotaApi.cs similarity index 73% rename from src/Org.OpenAPITools/Api/ProjectResourceQuotaApi.cs rename to src/Coscine.ApiClient/Api/ProjectResourceQuotaApi.cs index abe354b..c579aea 100644 --- a/src/Org.OpenAPITools/Api/ProjectResourceQuotaApi.cs +++ b/src/Coscine.ApiClient/Api/ProjectResourceQuotaApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -52,7 +52,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the resource quota for a specific resource in a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -65,7 +65,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -86,7 +86,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -100,7 +100,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -113,7 +113,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -127,7 +127,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -150,7 +150,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class ProjectResourceQuotaApi : IProjectResourceQuotaApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="ProjectResourceQuotaApi"/> class. @@ -166,13 +166,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public ProjectResourceQuotaApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -181,17 +181,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public ProjectResourceQuotaApi(Org.OpenAPITools.Client.Configuration configuration) + public ProjectResourceQuotaApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -201,7 +201,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public ProjectResourceQuotaApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public ProjectResourceQuotaApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -210,18 +210,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -236,12 +236,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -257,7 +257,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -270,26 +270,26 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2ProjectsProjectIdResourcesResourceIdQuotaOptionsWithHttpInfo(string projectId, string resourceId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2ProjectsProjectIdResourcesResourceIdQuotaOptionsWithHttpInfo(string projectId, string resourceId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceQuotaApi->ApiV2ProjectsProjectIdResourcesResourceIdQuotaOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceQuotaApi->ApiV2ProjectsProjectIdResourcesResourceIdQuotaOptions"); } // verify the required parameter 'resourceId' is set if (resourceId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'resourceId' when calling ProjectResourceQuotaApi->ApiV2ProjectsProjectIdResourcesResourceIdQuotaOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'resourceId' when calling ProjectResourceQuotaApi->ApiV2ProjectsProjectIdResourcesResourceIdQuotaOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -298,20 +298,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Operation = "ProjectResourceQuotaApi.ApiV2ProjectsProjectIdResourcesResourceIdQuotaOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -339,7 +339,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -353,28 +353,28 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdResourcesResourceIdQuotaOptionsWithHttpInfoAsync(string projectId, string resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdResourcesResourceIdQuotaOptionsWithHttpInfoAsync(string projectId, string resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceQuotaApi->ApiV2ProjectsProjectIdResourcesResourceIdQuotaOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceQuotaApi->ApiV2ProjectsProjectIdResourcesResourceIdQuotaOptions"); } // verify the required parameter 'resourceId' is set if (resourceId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'resourceId' when calling ProjectResourceQuotaApi->ApiV2ProjectsProjectIdResourcesResourceIdQuotaOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'resourceId' when calling ProjectResourceQuotaApi->ApiV2ProjectsProjectIdResourcesResourceIdQuotaOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -383,20 +383,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Operation = "ProjectResourceQuotaApi.ApiV2ProjectsProjectIdResourcesResourceIdQuotaOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -425,34 +425,34 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the resource quota for a specific resource in a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ResourceQuotaDtoResponse</returns> public ResourceQuotaDtoResponse GetQuotaForResourceForProject(string projectId, Guid resourceId, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ResourceQuotaDtoResponse> localVarResponse = GetQuotaForResourceForProjectWithHttpInfo(projectId, resourceId); + Coscine.ApiClient.Client.ApiResponse<ResourceQuotaDtoResponse> localVarResponse = GetQuotaForResourceForProjectWithHttpInfo(projectId, resourceId); return localVarResponse.Data; } /// <summary> /// Retrieves the resource quota for a specific resource in a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ResourceQuotaDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ResourceQuotaDtoResponse> GetQuotaForResourceForProjectWithHttpInfo(string projectId, Guid resourceId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ResourceQuotaDtoResponse> GetQuotaForResourceForProjectWithHttpInfo(string projectId, Guid resourceId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceQuotaApi->GetQuotaForResourceForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceQuotaApi->GetQuotaForResourceForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -463,20 +463,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Operation = "ProjectResourceQuotaApi.GetQuotaForResourceForProject"; localVarRequestOptions.OperationIndex = operationIndex; @@ -504,7 +504,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the resource quota for a specific resource in a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource.</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -512,29 +512,29 @@ namespace Org.OpenAPITools.Api /// <returns>Task of ResourceQuotaDtoResponse</returns> public async System.Threading.Tasks.Task<ResourceQuotaDtoResponse> GetQuotaForResourceForProjectAsync(string projectId, Guid resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ResourceQuotaDtoResponse> localVarResponse = await GetQuotaForResourceForProjectWithHttpInfoAsync(projectId, resourceId, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ResourceQuotaDtoResponse> localVarResponse = await GetQuotaForResourceForProjectWithHttpInfoAsync(projectId, resourceId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves the resource quota for a specific resource in a project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="resourceId">The ID of the resource.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ResourceQuotaDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ResourceQuotaDtoResponse>> GetQuotaForResourceForProjectWithHttpInfoAsync(string projectId, Guid resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ResourceQuotaDtoResponse>> GetQuotaForResourceForProjectWithHttpInfoAsync(string projectId, Guid resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceQuotaApi->GetQuotaForResourceForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceQuotaApi->GetQuotaForResourceForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -545,20 +545,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Operation = "ProjectResourceQuotaApi.GetQuotaForResourceForProject"; localVarRequestOptions.OperationIndex = operationIndex; diff --git a/src/Org.OpenAPITools/Api/ProjectResourceTypeApi.cs b/src/Coscine.ApiClient/Api/ProjectResourceTypeApi.cs similarity index 73% rename from src/Org.OpenAPITools/Api/ProjectResourceTypeApi.cs rename to src/Coscine.ApiClient/Api/ProjectResourceTypeApi.cs index 10a46d0..5c48a19 100644 --- a/src/Org.OpenAPITools/Api/ProjectResourceTypeApi.cs +++ b/src/Coscine.ApiClient/Api/ProjectResourceTypeApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -42,7 +42,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> @@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the available resource types information for a specific project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ResourceTypeInformationDtoIEnumerableResponse</returns> @@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ResourceTypeInformationDtoIEnumerableResponse</returns> @@ -82,7 +82,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -95,7 +95,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -107,7 +107,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -120,7 +120,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -142,7 +142,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class ProjectResourceTypeApi : IProjectResourceTypeApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="ProjectResourceTypeApi"/> class. @@ -158,13 +158,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public ProjectResourceTypeApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -173,17 +173,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public ProjectResourceTypeApi(Org.OpenAPITools.Client.Configuration configuration) + public ProjectResourceTypeApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -193,7 +193,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public ProjectResourceTypeApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public ProjectResourceTypeApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -202,18 +202,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -228,12 +228,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -249,7 +249,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -261,19 +261,19 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2ProjectsProjectIdResourceTypesOptionsWithHttpInfo(string projectId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2ProjectsProjectIdResourceTypesOptionsWithHttpInfo(string projectId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceTypeApi->ApiV2ProjectsProjectIdResourceTypesOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceTypeApi->ApiV2ProjectsProjectIdResourceTypesOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -282,19 +282,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Operation = "ProjectResourceTypeApi.ApiV2ProjectsProjectIdResourceTypesOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -322,7 +322,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -335,21 +335,21 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdResourceTypesOptionsWithHttpInfoAsync(string projectId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdResourceTypesOptionsWithHttpInfoAsync(string projectId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceTypeApi->ApiV2ProjectsProjectIdResourceTypesOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceTypeApi->ApiV2ProjectsProjectIdResourceTypesOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -358,19 +358,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Operation = "ProjectResourceTypeApi.ApiV2ProjectsProjectIdResourceTypesOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -399,32 +399,32 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the available resource types information for a specific project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ResourceTypeInformationDtoIEnumerableResponse</returns> public ResourceTypeInformationDtoIEnumerableResponse GetAvailableResourceTypesInformationForProject(string projectId, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse> localVarResponse = GetAvailableResourceTypesInformationForProjectWithHttpInfo(projectId); + Coscine.ApiClient.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse> localVarResponse = GetAvailableResourceTypesInformationForProjectWithHttpInfo(projectId); return localVarResponse.Data; } /// <summary> /// Retrieves the available resource types information for a specific project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ResourceTypeInformationDtoIEnumerableResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse> GetAvailableResourceTypesInformationForProjectWithHttpInfo(string projectId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse> GetAvailableResourceTypesInformationForProjectWithHttpInfo(string projectId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceTypeApi->GetAvailableResourceTypesInformationForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceTypeApi->GetAvailableResourceTypesInformationForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -435,19 +435,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Operation = "ProjectResourceTypeApi.GetAvailableResourceTypesInformationForProject"; localVarRequestOptions.OperationIndex = operationIndex; @@ -475,35 +475,35 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the available resource types information for a specific project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ResourceTypeInformationDtoIEnumerableResponse</returns> public async System.Threading.Tasks.Task<ResourceTypeInformationDtoIEnumerableResponse> GetAvailableResourceTypesInformationForProjectAsync(string projectId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse> localVarResponse = await GetAvailableResourceTypesInformationForProjectWithHttpInfoAsync(projectId, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse> localVarResponse = await GetAvailableResourceTypesInformationForProjectWithHttpInfoAsync(projectId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves the available resource types information for a specific project. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The Id or slug of the project.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ResourceTypeInformationDtoIEnumerableResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse>> GetAvailableResourceTypesInformationForProjectWithHttpInfoAsync(string projectId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse>> GetAvailableResourceTypesInformationForProjectWithHttpInfoAsync(string projectId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceTypeApi->GetAvailableResourceTypesInformationForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling ProjectResourceTypeApi->GetAvailableResourceTypesInformationForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -514,19 +514,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter localVarRequestOptions.Operation = "ProjectResourceTypeApi.GetAvailableResourceTypesInformationForProject"; localVarRequestOptions.OperationIndex = operationIndex; diff --git a/src/Org.OpenAPITools/Api/ResourceApi.cs b/src/Coscine.ApiClient/Api/ResourceApi.cs similarity index 74% rename from src/Org.OpenAPITools/Api/ResourceApi.cs rename to src/Coscine.ApiClient/Api/ResourceApi.cs index 93abd0a..c0efb93 100644 --- a/src/Org.OpenAPITools/Api/ResourceApi.cs +++ b/src/Coscine.ApiClient/Api/ResourceApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2ResourcesOptions(int operationIndex = 0); @@ -41,14 +41,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2ResourcesOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves a resource by its ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ResourceDtoResponse</returns> @@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ResourceDtoResponse</returns> @@ -80,7 +80,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -92,7 +92,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -103,7 +103,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -116,7 +116,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -138,7 +138,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class ResourceApi : IResourceApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="ResourceApi"/> class. @@ -154,13 +154,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public ResourceApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -169,17 +169,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public ResourceApi(Org.OpenAPITools.Client.Configuration configuration) + public ResourceApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -189,7 +189,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public ResourceApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public ResourceApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -198,18 +198,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -224,12 +224,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -245,7 +245,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2ResourcesOptions(int operationIndex = 0) @@ -256,12 +256,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2ResourcesOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2ResourcesOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -270,13 +270,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -309,7 +309,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -321,14 +321,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2ResourcesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2ResourcesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -337,13 +337,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -377,26 +377,26 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a resource by its ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ResourceDtoResponse</returns> public ResourceDtoResponse GetResource(Guid resourceId, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ResourceDtoResponse> localVarResponse = GetResourceWithHttpInfo(resourceId); + Coscine.ApiClient.Client.ApiResponse<ResourceDtoResponse> localVarResponse = GetResourceWithHttpInfo(resourceId); return localVarResponse.Data; } /// <summary> /// Retrieves a resource by its ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ResourceDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ResourceDtoResponse> GetResourceWithHttpInfo(Guid resourceId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ResourceDtoResponse> GetResourceWithHttpInfo(Guid resourceId, int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -407,19 +407,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Operation = "ResourceApi.GetResource"; localVarRequestOptions.OperationIndex = operationIndex; @@ -447,29 +447,29 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a resource by its ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ResourceDtoResponse</returns> public async System.Threading.Tasks.Task<ResourceDtoResponse> GetResourceAsync(Guid resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ResourceDtoResponse> localVarResponse = await GetResourceWithHttpInfoAsync(resourceId, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ResourceDtoResponse> localVarResponse = await GetResourceWithHttpInfoAsync(resourceId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves a resource by its ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceId">The ID of the resource to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ResourceDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ResourceDtoResponse>> GetResourceWithHttpInfoAsync(Guid resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ResourceDtoResponse>> GetResourceWithHttpInfoAsync(Guid resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -480,19 +480,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Operation = "ResourceApi.GetResource"; localVarRequestOptions.OperationIndex = operationIndex; diff --git a/src/Org.OpenAPITools/Api/ResourceTypeApi.cs b/src/Coscine.ApiClient/Api/ResourceTypeApi.cs similarity index 72% rename from src/Org.OpenAPITools/Api/ResourceTypeApi.cs rename to src/Coscine.ApiClient/Api/ResourceTypeApi.cs index dcd8075..fa7c1de 100644 --- a/src/Org.OpenAPITools/Api/ResourceTypeApi.cs +++ b/src/Coscine.ApiClient/Api/ResourceTypeApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2ResourceTypesOptions(int operationIndex = 0); @@ -41,14 +41,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2ResourceTypesOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves all branches of a GitLab project, that the user is a member of, based on the provided credentials. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> @@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> @@ -72,7 +72,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all GitLab projects, that the user is a member of, based on the provided credentials. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="domain"></param> /// <param name="accessToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -85,7 +85,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="domain"></param> /// <param name="accessToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -94,7 +94,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the entire global resource types information. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ResourceTypeInformationDtoIEnumerableResponse</returns> ResourceTypeInformationDtoIEnumerableResponse GetAllResourceTypesInformation(int operationIndex = 0); @@ -105,14 +105,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ResourceTypeInformationDtoIEnumerableResponse</returns> ApiResponse<ResourceTypeInformationDtoIEnumerableResponse> GetAllResourceTypesInformationWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves a single GitLab project, that the user is a member of, based on the provided credentials. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> @@ -126,7 +126,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> @@ -136,7 +136,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the resource type information for a specific resource type. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceTypeId">The ID of the resource type to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ResourceTypeInformationDtoResponse</returns> @@ -148,7 +148,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceTypeId">The ID of the resource type to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ResourceTypeInformationDtoResponse</returns> @@ -168,7 +168,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -180,7 +180,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> @@ -206,7 +206,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> @@ -220,7 +220,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="domain"></param> /// <param name="accessToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -234,7 +234,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="domain"></param> /// <param name="accessToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -247,7 +247,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ResourceTypeInformationDtoIEnumerableResponse</returns> @@ -259,7 +259,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ResourceTypeInformationDtoIEnumerableResponse)</returns> @@ -270,7 +270,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> @@ -285,7 +285,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> @@ -299,7 +299,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceTypeId">The ID of the resource type to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -312,7 +312,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceTypeId">The ID of the resource type to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -334,7 +334,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class ResourceTypeApi : IResourceTypeApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="ResourceTypeApi"/> class. @@ -350,13 +350,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public ResourceTypeApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -365,17 +365,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public ResourceTypeApi(Org.OpenAPITools.Client.Configuration configuration) + public ResourceTypeApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -385,7 +385,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public ResourceTypeApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public ResourceTypeApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -394,18 +394,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -420,12 +420,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -441,7 +441,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2ResourceTypesOptions(int operationIndex = 0) @@ -452,12 +452,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2ResourceTypesOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2ResourceTypesOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -466,13 +466,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -505,7 +505,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -517,14 +517,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2ResourceTypesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2ResourceTypesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -533,13 +533,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -573,7 +573,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all branches of a GitLab project, that the user is a member of, based on the provided credentials. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> @@ -581,34 +581,34 @@ namespace Org.OpenAPITools.Api /// <returns>GitlabBranchDtoIEnumerableResponse</returns> public GitlabBranchDtoIEnumerableResponse GetAllGitlabBranchesForProject(int gitlabProjectId, string domain, string accessToken, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<GitlabBranchDtoIEnumerableResponse> localVarResponse = GetAllGitlabBranchesForProjectWithHttpInfo(gitlabProjectId, domain, accessToken); + Coscine.ApiClient.Client.ApiResponse<GitlabBranchDtoIEnumerableResponse> localVarResponse = GetAllGitlabBranchesForProjectWithHttpInfo(gitlabProjectId, domain, accessToken); return localVarResponse.Data; } /// <summary> /// Retrieves all branches of a GitLab project, that the user is a member of, based on the provided credentials. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of GitlabBranchDtoIEnumerableResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<GitlabBranchDtoIEnumerableResponse> GetAllGitlabBranchesForProjectWithHttpInfo(int gitlabProjectId, string domain, string accessToken, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<GitlabBranchDtoIEnumerableResponse> GetAllGitlabBranchesForProjectWithHttpInfo(int gitlabProjectId, string domain, string accessToken, int operationIndex = 0) { // verify the required parameter 'domain' is set if (domain == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'domain' when calling ResourceTypeApi->GetAllGitlabBranchesForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'domain' when calling ResourceTypeApi->GetAllGitlabBranchesForProject"); } // verify the required parameter 'accessToken' is set if (accessToken == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'accessToken' when calling ResourceTypeApi->GetAllGitlabBranchesForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'accessToken' when calling ResourceTypeApi->GetAllGitlabBranchesForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -619,21 +619,21 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("gitlabProjectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(gitlabProjectId)); // path parameter - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Domain", domain)); - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "AccessToken", accessToken)); + localVarRequestOptions.PathParameters.Add("gitlabProjectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(gitlabProjectId)); // path parameter + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Domain", domain)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "AccessToken", accessToken)); localVarRequestOptions.Operation = "ResourceTypeApi.GetAllGitlabBranchesForProject"; localVarRequestOptions.OperationIndex = operationIndex; @@ -661,7 +661,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all branches of a GitLab project, that the user is a member of, based on the provided credentials. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> @@ -670,36 +670,36 @@ namespace Org.OpenAPITools.Api /// <returns>Task of GitlabBranchDtoIEnumerableResponse</returns> public async System.Threading.Tasks.Task<GitlabBranchDtoIEnumerableResponse> GetAllGitlabBranchesForProjectAsync(int gitlabProjectId, string domain, string accessToken, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<GitlabBranchDtoIEnumerableResponse> localVarResponse = await GetAllGitlabBranchesForProjectWithHttpInfoAsync(gitlabProjectId, domain, accessToken, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<GitlabBranchDtoIEnumerableResponse> localVarResponse = await GetAllGitlabBranchesForProjectWithHttpInfoAsync(gitlabProjectId, domain, accessToken, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all branches of a GitLab project, that the user is a member of, based on the provided credentials. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (GitlabBranchDtoIEnumerableResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<GitlabBranchDtoIEnumerableResponse>> GetAllGitlabBranchesForProjectWithHttpInfoAsync(int gitlabProjectId, string domain, string accessToken, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<GitlabBranchDtoIEnumerableResponse>> GetAllGitlabBranchesForProjectWithHttpInfoAsync(int gitlabProjectId, string domain, string accessToken, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'domain' is set if (domain == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'domain' when calling ResourceTypeApi->GetAllGitlabBranchesForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'domain' when calling ResourceTypeApi->GetAllGitlabBranchesForProject"); } // verify the required parameter 'accessToken' is set if (accessToken == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'accessToken' when calling ResourceTypeApi->GetAllGitlabBranchesForProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'accessToken' when calling ResourceTypeApi->GetAllGitlabBranchesForProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -710,21 +710,21 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("gitlabProjectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(gitlabProjectId)); // path parameter - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Domain", domain)); - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "AccessToken", accessToken)); + localVarRequestOptions.PathParameters.Add("gitlabProjectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(gitlabProjectId)); // path parameter + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Domain", domain)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "AccessToken", accessToken)); localVarRequestOptions.Operation = "ResourceTypeApi.GetAllGitlabBranchesForProject"; localVarRequestOptions.OperationIndex = operationIndex; @@ -753,40 +753,40 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all GitLab projects, that the user is a member of, based on the provided credentials. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="domain"></param> /// <param name="accessToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>GitlabProjectDtoIEnumerableResponse</returns> public GitlabProjectDtoIEnumerableResponse GetAllGitlabProjects(string domain, string accessToken, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<GitlabProjectDtoIEnumerableResponse> localVarResponse = GetAllGitlabProjectsWithHttpInfo(domain, accessToken); + Coscine.ApiClient.Client.ApiResponse<GitlabProjectDtoIEnumerableResponse> localVarResponse = GetAllGitlabProjectsWithHttpInfo(domain, accessToken); return localVarResponse.Data; } /// <summary> /// Retrieves all GitLab projects, that the user is a member of, based on the provided credentials. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="domain"></param> /// <param name="accessToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of GitlabProjectDtoIEnumerableResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<GitlabProjectDtoIEnumerableResponse> GetAllGitlabProjectsWithHttpInfo(string domain, string accessToken, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<GitlabProjectDtoIEnumerableResponse> GetAllGitlabProjectsWithHttpInfo(string domain, string accessToken, int operationIndex = 0) { // verify the required parameter 'domain' is set if (domain == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'domain' when calling ResourceTypeApi->GetAllGitlabProjects"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'domain' when calling ResourceTypeApi->GetAllGitlabProjects"); } // verify the required parameter 'accessToken' is set if (accessToken == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'accessToken' when calling ResourceTypeApi->GetAllGitlabProjects"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'accessToken' when calling ResourceTypeApi->GetAllGitlabProjects"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -797,20 +797,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Domain", domain)); - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "AccessToken", accessToken)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Domain", domain)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "AccessToken", accessToken)); localVarRequestOptions.Operation = "ResourceTypeApi.GetAllGitlabProjects"; localVarRequestOptions.OperationIndex = operationIndex; @@ -838,7 +838,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all GitLab projects, that the user is a member of, based on the provided credentials. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="domain"></param> /// <param name="accessToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -846,35 +846,35 @@ namespace Org.OpenAPITools.Api /// <returns>Task of GitlabProjectDtoIEnumerableResponse</returns> public async System.Threading.Tasks.Task<GitlabProjectDtoIEnumerableResponse> GetAllGitlabProjectsAsync(string domain, string accessToken, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<GitlabProjectDtoIEnumerableResponse> localVarResponse = await GetAllGitlabProjectsWithHttpInfoAsync(domain, accessToken, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<GitlabProjectDtoIEnumerableResponse> localVarResponse = await GetAllGitlabProjectsWithHttpInfoAsync(domain, accessToken, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all GitLab projects, that the user is a member of, based on the provided credentials. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="domain"></param> /// <param name="accessToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (GitlabProjectDtoIEnumerableResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<GitlabProjectDtoIEnumerableResponse>> GetAllGitlabProjectsWithHttpInfoAsync(string domain, string accessToken, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<GitlabProjectDtoIEnumerableResponse>> GetAllGitlabProjectsWithHttpInfoAsync(string domain, string accessToken, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'domain' is set if (domain == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'domain' when calling ResourceTypeApi->GetAllGitlabProjects"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'domain' when calling ResourceTypeApi->GetAllGitlabProjects"); } // verify the required parameter 'accessToken' is set if (accessToken == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'accessToken' when calling ResourceTypeApi->GetAllGitlabProjects"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'accessToken' when calling ResourceTypeApi->GetAllGitlabProjects"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -885,20 +885,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Domain", domain)); - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "AccessToken", accessToken)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Domain", domain)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "AccessToken", accessToken)); localVarRequestOptions.Operation = "ResourceTypeApi.GetAllGitlabProjects"; localVarRequestOptions.OperationIndex = operationIndex; @@ -927,24 +927,24 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the entire global resource types information. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ResourceTypeInformationDtoIEnumerableResponse</returns> public ResourceTypeInformationDtoIEnumerableResponse GetAllResourceTypesInformation(int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse> localVarResponse = GetAllResourceTypesInformationWithHttpInfo(); + Coscine.ApiClient.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse> localVarResponse = GetAllResourceTypesInformationWithHttpInfo(); return localVarResponse.Data; } /// <summary> /// Retrieves the entire global resource types information. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ResourceTypeInformationDtoIEnumerableResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse> GetAllResourceTypesInformationWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse> GetAllResourceTypesInformationWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -955,13 +955,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -994,27 +994,27 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the entire global resource types information. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ResourceTypeInformationDtoIEnumerableResponse</returns> public async System.Threading.Tasks.Task<ResourceTypeInformationDtoIEnumerableResponse> GetAllResourceTypesInformationAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse> localVarResponse = await GetAllResourceTypesInformationWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse> localVarResponse = await GetAllResourceTypesInformationWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves the entire global resource types information. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ResourceTypeInformationDtoIEnumerableResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse>> GetAllResourceTypesInformationWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ResourceTypeInformationDtoIEnumerableResponse>> GetAllResourceTypesInformationWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1025,13 +1025,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1065,7 +1065,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a single GitLab project, that the user is a member of, based on the provided credentials. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> @@ -1073,34 +1073,34 @@ namespace Org.OpenAPITools.Api /// <returns>GitlabProjectDtoResponse</returns> public GitlabProjectDtoResponse GetGitlabProject(int gitlabProjectId, string domain, string accessToken, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<GitlabProjectDtoResponse> localVarResponse = GetGitlabProjectWithHttpInfo(gitlabProjectId, domain, accessToken); + Coscine.ApiClient.Client.ApiResponse<GitlabProjectDtoResponse> localVarResponse = GetGitlabProjectWithHttpInfo(gitlabProjectId, domain, accessToken); return localVarResponse.Data; } /// <summary> /// Retrieves a single GitLab project, that the user is a member of, based on the provided credentials. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of GitlabProjectDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<GitlabProjectDtoResponse> GetGitlabProjectWithHttpInfo(int gitlabProjectId, string domain, string accessToken, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<GitlabProjectDtoResponse> GetGitlabProjectWithHttpInfo(int gitlabProjectId, string domain, string accessToken, int operationIndex = 0) { // verify the required parameter 'domain' is set if (domain == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'domain' when calling ResourceTypeApi->GetGitlabProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'domain' when calling ResourceTypeApi->GetGitlabProject"); } // verify the required parameter 'accessToken' is set if (accessToken == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'accessToken' when calling ResourceTypeApi->GetGitlabProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'accessToken' when calling ResourceTypeApi->GetGitlabProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1111,21 +1111,21 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("gitlabProjectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(gitlabProjectId)); // path parameter - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Domain", domain)); - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "AccessToken", accessToken)); + localVarRequestOptions.PathParameters.Add("gitlabProjectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(gitlabProjectId)); // path parameter + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Domain", domain)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "AccessToken", accessToken)); localVarRequestOptions.Operation = "ResourceTypeApi.GetGitlabProject"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1153,7 +1153,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a single GitLab project, that the user is a member of, based on the provided credentials. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> @@ -1162,36 +1162,36 @@ namespace Org.OpenAPITools.Api /// <returns>Task of GitlabProjectDtoResponse</returns> public async System.Threading.Tasks.Task<GitlabProjectDtoResponse> GetGitlabProjectAsync(int gitlabProjectId, string domain, string accessToken, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<GitlabProjectDtoResponse> localVarResponse = await GetGitlabProjectWithHttpInfoAsync(gitlabProjectId, domain, accessToken, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<GitlabProjectDtoResponse> localVarResponse = await GetGitlabProjectWithHttpInfoAsync(gitlabProjectId, domain, accessToken, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves a single GitLab project, that the user is a member of, based on the provided credentials. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="gitlabProjectId">The ID of the GitLab project.</param> /// <param name="domain"></param> /// <param name="accessToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (GitlabProjectDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<GitlabProjectDtoResponse>> GetGitlabProjectWithHttpInfoAsync(int gitlabProjectId, string domain, string accessToken, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<GitlabProjectDtoResponse>> GetGitlabProjectWithHttpInfoAsync(int gitlabProjectId, string domain, string accessToken, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'domain' is set if (domain == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'domain' when calling ResourceTypeApi->GetGitlabProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'domain' when calling ResourceTypeApi->GetGitlabProject"); } // verify the required parameter 'accessToken' is set if (accessToken == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'accessToken' when calling ResourceTypeApi->GetGitlabProject"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'accessToken' when calling ResourceTypeApi->GetGitlabProject"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1202,21 +1202,21 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("gitlabProjectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(gitlabProjectId)); // path parameter - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Domain", domain)); - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "AccessToken", accessToken)); + localVarRequestOptions.PathParameters.Add("gitlabProjectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(gitlabProjectId)); // path parameter + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Domain", domain)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "AccessToken", accessToken)); localVarRequestOptions.Operation = "ResourceTypeApi.GetGitlabProject"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1245,26 +1245,26 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the resource type information for a specific resource type. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceTypeId">The ID of the resource type to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ResourceTypeInformationDtoResponse</returns> public ResourceTypeInformationDtoResponse GetResourceTypeInformation(Guid resourceTypeId, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ResourceTypeInformationDtoResponse> localVarResponse = GetResourceTypeInformationWithHttpInfo(resourceTypeId); + Coscine.ApiClient.Client.ApiResponse<ResourceTypeInformationDtoResponse> localVarResponse = GetResourceTypeInformationWithHttpInfo(resourceTypeId); return localVarResponse.Data; } /// <summary> /// Retrieves the resource type information for a specific resource type. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceTypeId">The ID of the resource type to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ResourceTypeInformationDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ResourceTypeInformationDtoResponse> GetResourceTypeInformationWithHttpInfo(Guid resourceTypeId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ResourceTypeInformationDtoResponse> GetResourceTypeInformationWithHttpInfo(Guid resourceTypeId, int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1275,19 +1275,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("resourceTypeId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceTypeId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceTypeId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceTypeId)); // path parameter localVarRequestOptions.Operation = "ResourceTypeApi.GetResourceTypeInformation"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1315,29 +1315,29 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the resource type information for a specific resource type. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceTypeId">The ID of the resource type to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ResourceTypeInformationDtoResponse</returns> public async System.Threading.Tasks.Task<ResourceTypeInformationDtoResponse> GetResourceTypeInformationAsync(Guid resourceTypeId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ResourceTypeInformationDtoResponse> localVarResponse = await GetResourceTypeInformationWithHttpInfoAsync(resourceTypeId, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ResourceTypeInformationDtoResponse> localVarResponse = await GetResourceTypeInformationWithHttpInfoAsync(resourceTypeId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves the resource type information for a specific resource type. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="resourceTypeId">The ID of the resource type to retrieve.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ResourceTypeInformationDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ResourceTypeInformationDtoResponse>> GetResourceTypeInformationWithHttpInfoAsync(Guid resourceTypeId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ResourceTypeInformationDtoResponse>> GetResourceTypeInformationWithHttpInfoAsync(Guid resourceTypeId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1348,19 +1348,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("resourceTypeId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceTypeId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceTypeId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceTypeId)); // path parameter localVarRequestOptions.Operation = "ResourceTypeApi.GetResourceTypeInformation"; localVarRequestOptions.OperationIndex = operationIndex; diff --git a/src/Org.OpenAPITools/Api/RoleApi.cs b/src/Coscine.ApiClient/Api/RoleApi.cs similarity index 66% rename from src/Org.OpenAPITools/Api/RoleApi.cs rename to src/Coscine.ApiClient/Api/RoleApi.cs index bea8c77..96c5d84 100644 --- a/src/Org.OpenAPITools/Api/RoleApi.cs +++ b/src/Coscine.ApiClient/Api/RoleApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2RolesOptions(int operationIndex = 0); @@ -41,14 +41,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2RolesOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves a role by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="roleId">The ID of the role.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>RoleDtoResponse</returns> @@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="roleId">The ID of the role.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of RoleDtoResponse</returns> @@ -68,13 +68,13 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all roles. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>RoleDtoIEnumerablePagedResponse</returns> - RoleDtoIEnumerablePagedResponse GetRoles(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>RoleDtoPagedResponse</returns> + RoleDtoPagedResponse GetRoles(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all roles. @@ -82,13 +82,13 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of RoleDtoIEnumerablePagedResponse</returns> - ApiResponse<RoleDtoIEnumerablePagedResponse> GetRolesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of RoleDtoPagedResponse</returns> + ApiResponse<RoleDtoPagedResponse> GetRolesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); #endregion Synchronous Operations } @@ -104,7 +104,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -116,7 +116,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -127,7 +127,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="roleId">The ID of the role.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -140,7 +140,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="roleId">The ID of the role.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -152,14 +152,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of RoleDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<RoleDtoIEnumerablePagedResponse> GetRolesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of RoleDtoPagedResponse</returns> + System.Threading.Tasks.Task<RoleDtoPagedResponse> GetRolesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all roles. @@ -167,14 +167,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (RoleDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<RoleDtoIEnumerablePagedResponse>> GetRolesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (RoleDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<RoleDtoPagedResponse>> GetRolesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class RoleApi : IRoleApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="RoleApi"/> class. @@ -207,13 +207,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public RoleApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -222,17 +222,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public RoleApi(Org.OpenAPITools.Client.Configuration configuration) + public RoleApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -242,7 +242,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public RoleApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public RoleApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -251,18 +251,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -277,12 +277,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -298,7 +298,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2RolesOptions(int operationIndex = 0) @@ -309,12 +309,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2RolesOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2RolesOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -323,13 +323,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -362,7 +362,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -374,14 +374,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2RolesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2RolesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -390,13 +390,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -430,26 +430,26 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a role by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="roleId">The ID of the role.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>RoleDtoResponse</returns> public RoleDtoResponse GetRole(Guid roleId, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<RoleDtoResponse> localVarResponse = GetRoleWithHttpInfo(roleId); + Coscine.ApiClient.Client.ApiResponse<RoleDtoResponse> localVarResponse = GetRoleWithHttpInfo(roleId); return localVarResponse.Data; } /// <summary> /// Retrieves a role by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="roleId">The ID of the role.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of RoleDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<RoleDtoResponse> GetRoleWithHttpInfo(Guid roleId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<RoleDtoResponse> GetRoleWithHttpInfo(Guid roleId, int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -460,19 +460,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("roleId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(roleId)); // path parameter + localVarRequestOptions.PathParameters.Add("roleId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(roleId)); // path parameter localVarRequestOptions.Operation = "RoleApi.GetRole"; localVarRequestOptions.OperationIndex = operationIndex; @@ -500,29 +500,29 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a role by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="roleId">The ID of the role.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of RoleDtoResponse</returns> public async System.Threading.Tasks.Task<RoleDtoResponse> GetRoleAsync(Guid roleId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<RoleDtoResponse> localVarResponse = await GetRoleWithHttpInfoAsync(roleId, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<RoleDtoResponse> localVarResponse = await GetRoleWithHttpInfoAsync(roleId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves a role by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="roleId">The ID of the role.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (RoleDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<RoleDtoResponse>> GetRoleWithHttpInfoAsync(Guid roleId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<RoleDtoResponse>> GetRoleWithHttpInfoAsync(Guid roleId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -533,19 +533,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("roleId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(roleId)); // path parameter + localVarRequestOptions.PathParameters.Add("roleId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(roleId)); // path parameter localVarRequestOptions.Operation = "RoleApi.GetRole"; localVarRequestOptions.OperationIndex = operationIndex; @@ -574,30 +574,30 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all roles. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>RoleDtoIEnumerablePagedResponse</returns> - public RoleDtoIEnumerablePagedResponse GetRoles(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>RoleDtoPagedResponse</returns> + public RoleDtoPagedResponse GetRoles(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<RoleDtoIEnumerablePagedResponse> localVarResponse = GetRolesWithHttpInfo(pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<RoleDtoPagedResponse> localVarResponse = GetRolesWithHttpInfo(pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all roles. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of RoleDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<RoleDtoIEnumerablePagedResponse> GetRolesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of RoleDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<RoleDtoPagedResponse> GetRolesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -608,13 +608,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -622,15 +622,15 @@ namespace Org.OpenAPITools.Api if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "RoleApi.GetRoles"; @@ -643,7 +643,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<RoleDtoIEnumerablePagedResponse>("/api/v2/roles", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<RoleDtoPagedResponse>("/api/v2/roles", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetRoles", localVarResponse); @@ -659,33 +659,33 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all roles. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of RoleDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<RoleDtoIEnumerablePagedResponse> GetRolesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of RoleDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<RoleDtoPagedResponse> GetRolesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<RoleDtoIEnumerablePagedResponse> localVarResponse = await GetRolesWithHttpInfoAsync(pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<RoleDtoPagedResponse> localVarResponse = await GetRolesWithHttpInfoAsync(pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all roles. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (RoleDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<RoleDtoIEnumerablePagedResponse>> GetRolesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (RoleDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<RoleDtoPagedResponse>> GetRolesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -696,13 +696,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -710,15 +710,15 @@ namespace Org.OpenAPITools.Api if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "RoleApi.GetRoles"; @@ -731,7 +731,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<RoleDtoIEnumerablePagedResponse>("/api/v2/roles", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<RoleDtoPagedResponse>("/api/v2/roles", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Org.OpenAPITools/Api/SearchApi.cs b/src/Coscine.ApiClient/Api/SearchApi.cs similarity index 62% rename from src/Org.OpenAPITools/Api/SearchApi.cs rename to src/Coscine.ApiClient/Api/SearchApi.cs index 578e9e0..95b8b52 100644 --- a/src/Org.OpenAPITools/Api/SearchApi.cs +++ b/src/Coscine.ApiClient/Api/SearchApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2SearchOptions(int operationIndex = 0); @@ -41,14 +41,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2SearchOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves a search result by given search parameters. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="query"> (optional)</param> /// <param name="useAdvancedSyntax"> (optional)</param> /// <param name="languages"> (optional)</param> @@ -57,8 +57,8 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>SearchResultDtoIEnumerablePagedResponse</returns> - SearchResultDtoIEnumerablePagedResponse GetSearchResults(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>SearchResultDtoPagedSearchResponse</returns> + SearchResultDtoPagedSearchResponse GetSearchResults(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves a search result by given search parameters. @@ -66,7 +66,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="query"> (optional)</param> /// <param name="useAdvancedSyntax"> (optional)</param> /// <param name="languages"> (optional)</param> @@ -75,8 +75,8 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of SearchResultDtoIEnumerablePagedResponse</returns> - ApiResponse<SearchResultDtoIEnumerablePagedResponse> GetSearchResultsWithHttpInfo(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of SearchResultDtoPagedSearchResponse</returns> + ApiResponse<SearchResultDtoPagedSearchResponse> GetSearchResultsWithHttpInfo(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); #endregion Synchronous Operations } @@ -92,7 +92,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -104,7 +104,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -115,7 +115,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="query"> (optional)</param> /// <param name="useAdvancedSyntax"> (optional)</param> /// <param name="languages"> (optional)</param> @@ -125,8 +125,8 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of SearchResultDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<SearchResultDtoIEnumerablePagedResponse> GetSearchResultsAsync(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of SearchResultDtoPagedSearchResponse</returns> + System.Threading.Tasks.Task<SearchResultDtoPagedSearchResponse> GetSearchResultsAsync(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves a search result by given search parameters. @@ -134,7 +134,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="query"> (optional)</param> /// <param name="useAdvancedSyntax"> (optional)</param> /// <param name="languages"> (optional)</param> @@ -144,8 +144,8 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (SearchResultDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<SearchResultDtoIEnumerablePagedResponse>> GetSearchResultsWithHttpInfoAsync(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (SearchResultDtoPagedSearchResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<SearchResultDtoPagedSearchResponse>> GetSearchResultsWithHttpInfoAsync(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -162,7 +162,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class SearchApi : ISearchApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="SearchApi"/> class. @@ -178,13 +178,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public SearchApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -193,17 +193,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public SearchApi(Org.OpenAPITools.Client.Configuration configuration) + public SearchApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -213,7 +213,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public SearchApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public SearchApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -222,18 +222,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -248,12 +248,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -269,7 +269,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2SearchOptions(int operationIndex = 0) @@ -280,12 +280,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2SearchOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2SearchOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -294,13 +294,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -333,7 +333,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -345,14 +345,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2SearchOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2SearchOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -361,13 +361,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -401,7 +401,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a search result by given search parameters. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="query"> (optional)</param> /// <param name="useAdvancedSyntax"> (optional)</param> /// <param name="languages"> (optional)</param> @@ -410,17 +410,17 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>SearchResultDtoIEnumerablePagedResponse</returns> - public SearchResultDtoIEnumerablePagedResponse GetSearchResults(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>SearchResultDtoPagedSearchResponse</returns> + public SearchResultDtoPagedSearchResponse GetSearchResults(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<SearchResultDtoIEnumerablePagedResponse> localVarResponse = GetSearchResultsWithHttpInfo(query, useAdvancedSyntax, languages, category, pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<SearchResultDtoPagedSearchResponse> localVarResponse = GetSearchResultsWithHttpInfo(query, useAdvancedSyntax, languages, category, pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves a search result by given search parameters. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="query"> (optional)</param> /// <param name="useAdvancedSyntax"> (optional)</param> /// <param name="languages"> (optional)</param> @@ -429,10 +429,10 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of SearchResultDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<SearchResultDtoIEnumerablePagedResponse> GetSearchResultsWithHttpInfo(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of SearchResultDtoPagedSearchResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<SearchResultDtoPagedSearchResponse> GetSearchResultsWithHttpInfo(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -443,13 +443,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -457,31 +457,31 @@ namespace Org.OpenAPITools.Api if (query != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Query", query)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Query", query)); } if (useAdvancedSyntax != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "UseAdvancedSyntax", useAdvancedSyntax)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "UseAdvancedSyntax", useAdvancedSyntax)); } if (languages != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("multi", "Languages", languages)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("multi", "Languages", languages)); } if (category != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Category", category)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Category", category)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "SearchApi.GetSearchResults"; @@ -494,7 +494,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<SearchResultDtoIEnumerablePagedResponse>("/api/v2/search", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<SearchResultDtoPagedSearchResponse>("/api/v2/search", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetSearchResults", localVarResponse); @@ -510,7 +510,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a search result by given search parameters. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="query"> (optional)</param> /// <param name="useAdvancedSyntax"> (optional)</param> /// <param name="languages"> (optional)</param> @@ -520,17 +520,17 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of SearchResultDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<SearchResultDtoIEnumerablePagedResponse> GetSearchResultsAsync(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of SearchResultDtoPagedSearchResponse</returns> + public async System.Threading.Tasks.Task<SearchResultDtoPagedSearchResponse> GetSearchResultsAsync(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<SearchResultDtoIEnumerablePagedResponse> localVarResponse = await GetSearchResultsWithHttpInfoAsync(query, useAdvancedSyntax, languages, category, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<SearchResultDtoPagedSearchResponse> localVarResponse = await GetSearchResultsWithHttpInfoAsync(query, useAdvancedSyntax, languages, category, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves a search result by given search parameters. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="query"> (optional)</param> /// <param name="useAdvancedSyntax"> (optional)</param> /// <param name="languages"> (optional)</param> @@ -540,11 +540,11 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (SearchResultDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<SearchResultDtoIEnumerablePagedResponse>> GetSearchResultsWithHttpInfoAsync(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (SearchResultDtoPagedSearchResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<SearchResultDtoPagedSearchResponse>> GetSearchResultsWithHttpInfoAsync(string? query = default(string?), bool? useAdvancedSyntax = default(bool?), List<string>? languages = default(List<string>?), SearchCategoryType? category = default(SearchCategoryType?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -555,13 +555,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -569,31 +569,31 @@ namespace Org.OpenAPITools.Api if (query != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Query", query)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Query", query)); } if (useAdvancedSyntax != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "UseAdvancedSyntax", useAdvancedSyntax)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "UseAdvancedSyntax", useAdvancedSyntax)); } if (languages != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("multi", "Languages", languages)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("multi", "Languages", languages)); } if (category != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Category", category)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Category", category)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "SearchApi.GetSearchResults"; @@ -606,7 +606,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<SearchResultDtoIEnumerablePagedResponse>("/api/v2/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<SearchResultDtoPagedSearchResponse>("/api/v2/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Org.OpenAPITools/Api/SelfApi.cs b/src/Coscine.ApiClient/Api/SelfApi.cs similarity index 75% rename from src/Org.OpenAPITools/Api/SelfApi.cs rename to src/Coscine.ApiClient/Api/SelfApi.cs index a76a0ed..9831eb6 100644 --- a/src/Org.OpenAPITools/Api/SelfApi.cs +++ b/src/Coscine.ApiClient/Api/SelfApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Accepts the current Terms Of Service for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userTermsOfServiceAcceptDto"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -42,7 +42,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userTermsOfServiceAcceptDto"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> @@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2SelfOptions(int operationIndex = 0); @@ -61,14 +61,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2SelfOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Confirms the email of a user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="confirmationToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -80,7 +80,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="confirmationToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> @@ -88,7 +88,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>UserDtoResponse</returns> UserDtoResponse GetCurrentUser(int operationIndex = 0); @@ -99,14 +99,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of UserDtoResponse</returns> ApiResponse<UserDtoResponse> GetCurrentUserWithHttpInfo(int operationIndex = 0); /// <summary> /// Initiates user merging for the current user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="identityProvider"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>UserMergeDtoResponse</returns> @@ -118,7 +118,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="identityProvider"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of UserMergeDtoResponse</returns> @@ -126,7 +126,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Resolves a project invitation for the authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectInvitationResolveDto">The project invitation resolve data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -138,7 +138,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectInvitationResolveDto">The project invitation resolve data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> @@ -146,7 +146,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userForUpdateDto">The updated user data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -158,7 +158,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userForUpdateDto">The updated user data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> @@ -178,7 +178,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userTermsOfServiceAcceptDto"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userTermsOfServiceAcceptDto"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -203,7 +203,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -226,7 +226,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="confirmationToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -239,7 +239,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="confirmationToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -251,7 +251,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of UserDtoResponse</returns> @@ -263,7 +263,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (UserDtoResponse)</returns> @@ -274,7 +274,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="identityProvider"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -287,7 +287,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="identityProvider"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -299,7 +299,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectInvitationResolveDto">The project invitation resolve data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -312,7 +312,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectInvitationResolveDto">The project invitation resolve data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -324,7 +324,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userForUpdateDto">The updated user data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -337,7 +337,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userForUpdateDto">The updated user data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -359,7 +359,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class SelfApi : ISelfApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="SelfApi"/> class. @@ -375,13 +375,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public SelfApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -390,17 +390,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public SelfApi(Org.OpenAPITools.Client.Configuration configuration) + public SelfApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -410,7 +410,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public SelfApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public SelfApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -419,18 +419,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -445,12 +445,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -466,7 +466,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Accepts the current Terms Of Service for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userTermsOfServiceAcceptDto"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -478,13 +478,13 @@ namespace Org.OpenAPITools.Api /// <summary> /// Accepts the current Terms Of Service for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userTermsOfServiceAcceptDto"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> AcceptCurrentTosWithHttpInfo(UserTermsOfServiceAcceptDto? userTermsOfServiceAcceptDto = default(UserTermsOfServiceAcceptDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> AcceptCurrentTosWithHttpInfo(UserTermsOfServiceAcceptDto? userTermsOfServiceAcceptDto = default(UserTermsOfServiceAcceptDto?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -496,13 +496,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -536,7 +536,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Accepts the current Terms Of Service for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userTermsOfServiceAcceptDto"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -549,15 +549,15 @@ namespace Org.OpenAPITools.Api /// <summary> /// Accepts the current Terms Of Service for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userTermsOfServiceAcceptDto"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> AcceptCurrentTosWithHttpInfoAsync(UserTermsOfServiceAcceptDto? userTermsOfServiceAcceptDto = default(UserTermsOfServiceAcceptDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> AcceptCurrentTosWithHttpInfoAsync(UserTermsOfServiceAcceptDto? userTermsOfServiceAcceptDto = default(UserTermsOfServiceAcceptDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -569,13 +569,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -610,7 +610,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2SelfOptions(int operationIndex = 0) @@ -621,12 +621,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2SelfOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2SelfOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -635,13 +635,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -674,7 +674,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -686,14 +686,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2SelfOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2SelfOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -702,13 +702,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -742,7 +742,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Confirms the email of a user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="confirmationToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -754,13 +754,13 @@ namespace Org.OpenAPITools.Api /// <summary> /// Confirms the email of a user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="confirmationToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ConfirmUserEmailWithHttpInfo(Guid confirmationToken, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ConfirmUserEmailWithHttpInfo(Guid confirmationToken, int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -769,19 +769,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "ConfirmationToken", confirmationToken)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "ConfirmationToken", confirmationToken)); localVarRequestOptions.Operation = "SelfApi.ConfirmUserEmail"; localVarRequestOptions.OperationIndex = operationIndex; @@ -809,7 +809,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Confirms the email of a user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="confirmationToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -822,15 +822,15 @@ namespace Org.OpenAPITools.Api /// <summary> /// Confirms the email of a user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="confirmationToken"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ConfirmUserEmailWithHttpInfoAsync(Guid confirmationToken, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ConfirmUserEmailWithHttpInfoAsync(Guid confirmationToken, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -839,19 +839,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "ConfirmationToken", confirmationToken)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "ConfirmationToken", confirmationToken)); localVarRequestOptions.Operation = "SelfApi.ConfirmUserEmail"; localVarRequestOptions.OperationIndex = operationIndex; @@ -880,24 +880,24 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>UserDtoResponse</returns> public UserDtoResponse GetCurrentUser(int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<UserDtoResponse> localVarResponse = GetCurrentUserWithHttpInfo(); + Coscine.ApiClient.Client.ApiResponse<UserDtoResponse> localVarResponse = GetCurrentUserWithHttpInfo(); return localVarResponse.Data; } /// <summary> /// Retrieves the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of UserDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<UserDtoResponse> GetCurrentUserWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<UserDtoResponse> GetCurrentUserWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -908,13 +908,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -947,27 +947,27 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of UserDtoResponse</returns> public async System.Threading.Tasks.Task<UserDtoResponse> GetCurrentUserAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<UserDtoResponse> localVarResponse = await GetCurrentUserWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<UserDtoResponse> localVarResponse = await GetCurrentUserWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (UserDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<UserDtoResponse>> GetCurrentUserWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<UserDtoResponse>> GetCurrentUserWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -978,13 +978,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1018,32 +1018,32 @@ namespace Org.OpenAPITools.Api /// <summary> /// Initiates user merging for the current user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="identityProvider"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>UserMergeDtoResponse</returns> public UserMergeDtoResponse InitiateUserMerge(IdentityProviders identityProvider, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<UserMergeDtoResponse> localVarResponse = InitiateUserMergeWithHttpInfo(identityProvider); + Coscine.ApiClient.Client.ApiResponse<UserMergeDtoResponse> localVarResponse = InitiateUserMergeWithHttpInfo(identityProvider); return localVarResponse.Data; } /// <summary> /// Initiates user merging for the current user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="identityProvider"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of UserMergeDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<UserMergeDtoResponse> InitiateUserMergeWithHttpInfo(IdentityProviders identityProvider, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<UserMergeDtoResponse> InitiateUserMergeWithHttpInfo(IdentityProviders identityProvider, int operationIndex = 0) { // verify the required parameter 'identityProvider' is set if (identityProvider == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'identityProvider' when calling SelfApi->InitiateUserMerge"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'identityProvider' when calling SelfApi->InitiateUserMerge"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1054,19 +1054,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "IdentityProvider", identityProvider)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "IdentityProvider", identityProvider)); localVarRequestOptions.Operation = "SelfApi.InitiateUserMerge"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1094,35 +1094,35 @@ namespace Org.OpenAPITools.Api /// <summary> /// Initiates user merging for the current user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="identityProvider"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of UserMergeDtoResponse</returns> public async System.Threading.Tasks.Task<UserMergeDtoResponse> InitiateUserMergeAsync(IdentityProviders identityProvider, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<UserMergeDtoResponse> localVarResponse = await InitiateUserMergeWithHttpInfoAsync(identityProvider, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<UserMergeDtoResponse> localVarResponse = await InitiateUserMergeWithHttpInfoAsync(identityProvider, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Initiates user merging for the current user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="identityProvider"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (UserMergeDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<UserMergeDtoResponse>> InitiateUserMergeWithHttpInfoAsync(IdentityProviders identityProvider, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<UserMergeDtoResponse>> InitiateUserMergeWithHttpInfoAsync(IdentityProviders identityProvider, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'identityProvider' is set if (identityProvider == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'identityProvider' when calling SelfApi->InitiateUserMerge"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'identityProvider' when calling SelfApi->InitiateUserMerge"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1133,19 +1133,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "IdentityProvider", identityProvider)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "IdentityProvider", identityProvider)); localVarRequestOptions.Operation = "SelfApi.InitiateUserMerge"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1174,7 +1174,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Resolves a project invitation for the authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectInvitationResolveDto">The project invitation resolve data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -1186,13 +1186,13 @@ namespace Org.OpenAPITools.Api /// <summary> /// Resolves a project invitation for the authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectInvitationResolveDto">The project invitation resolve data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ResolveProjectInvitationWithHttpInfo(ProjectInvitationResolveDto? projectInvitationResolveDto = default(ProjectInvitationResolveDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ResolveProjectInvitationWithHttpInfo(ProjectInvitationResolveDto? projectInvitationResolveDto = default(ProjectInvitationResolveDto?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -1204,13 +1204,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1244,7 +1244,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Resolves a project invitation for the authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectInvitationResolveDto">The project invitation resolve data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -1257,15 +1257,15 @@ namespace Org.OpenAPITools.Api /// <summary> /// Resolves a project invitation for the authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectInvitationResolveDto">The project invitation resolve data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ResolveProjectInvitationWithHttpInfoAsync(ProjectInvitationResolveDto? projectInvitationResolveDto = default(ProjectInvitationResolveDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ResolveProjectInvitationWithHttpInfoAsync(ProjectInvitationResolveDto? projectInvitationResolveDto = default(ProjectInvitationResolveDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -1277,13 +1277,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1318,7 +1318,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userForUpdateDto">The updated user data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -1330,13 +1330,13 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userForUpdateDto">The updated user data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> UpdateCurrentUserWithHttpInfo(UserForUpdateDto? userForUpdateDto = default(UserForUpdateDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> UpdateCurrentUserWithHttpInfo(UserForUpdateDto? userForUpdateDto = default(UserForUpdateDto?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -1348,13 +1348,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1388,7 +1388,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userForUpdateDto">The updated user data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -1401,15 +1401,15 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userForUpdateDto">The updated user data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdateCurrentUserWithHttpInfoAsync(UserForUpdateDto? userForUpdateDto = default(UserForUpdateDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> UpdateCurrentUserWithHttpInfoAsync(UserForUpdateDto? userForUpdateDto = default(UserForUpdateDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -1421,13 +1421,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); diff --git a/src/Org.OpenAPITools/Api/SelfApiTokenApi.cs b/src/Coscine.ApiClient/Api/SelfApiTokenApi.cs similarity index 70% rename from src/Org.OpenAPITools/Api/SelfApiTokenApi.cs rename to src/Coscine.ApiClient/Api/SelfApiTokenApi.cs index 73d4a45..64a7d5e 100644 --- a/src/Org.OpenAPITools/Api/SelfApiTokenApi.cs +++ b/src/Coscine.ApiClient/Api/SelfApiTokenApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2SelfApiTokensOptions(int operationIndex = 0); @@ -41,14 +41,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2SelfApiTokensOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Creates an API token for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenForCreationDto">The API token data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiTokenDtoResponse</returns> @@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenForCreationDto">The API token data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ApiTokenDtoResponse</returns> @@ -68,13 +68,13 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all API tokens for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiTokenDtoIEnumerablePagedResponse</returns> - ApiTokenDtoIEnumerablePagedResponse GetAllApiTokens(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiTokenDtoPagedResponse</returns> + ApiTokenDtoPagedResponse GetAllApiTokens(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all API tokens for the current authenticated user. @@ -82,17 +82,17 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ApiTokenDtoIEnumerablePagedResponse</returns> - ApiResponse<ApiTokenDtoIEnumerablePagedResponse> GetAllApiTokensWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of ApiTokenDtoPagedResponse</returns> + ApiResponse<ApiTokenDtoPagedResponse> GetAllApiTokensWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves an API token for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiTokenDtoResponse</returns> @@ -104,7 +104,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ApiTokenDtoResponse</returns> @@ -112,7 +112,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Revokes an API token for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -124,7 +124,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> @@ -144,7 +144,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -156,7 +156,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -167,7 +167,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenForCreationDto">The API token data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -180,7 +180,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenForCreationDto">The API token data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -192,14 +192,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiTokenDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<ApiTokenDtoIEnumerablePagedResponse> GetAllApiTokensAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiTokenDtoPagedResponse</returns> + System.Threading.Tasks.Task<ApiTokenDtoPagedResponse> GetAllApiTokensAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all API tokens for the current authenticated user. @@ -207,21 +207,21 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ApiTokenDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<ApiTokenDtoIEnumerablePagedResponse>> GetAllApiTokensWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (ApiTokenDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<ApiTokenDtoPagedResponse>> GetAllApiTokensWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves an API token for the current authenticated user. /// </summary> /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -234,7 +234,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -246,7 +246,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -259,7 +259,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -281,7 +281,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class SelfApiTokenApi : ISelfApiTokenApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="SelfApiTokenApi"/> class. @@ -297,13 +297,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public SelfApiTokenApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -312,17 +312,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public SelfApiTokenApi(Org.OpenAPITools.Client.Configuration configuration) + public SelfApiTokenApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -332,7 +332,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public SelfApiTokenApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public SelfApiTokenApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -341,18 +341,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -367,12 +367,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -388,7 +388,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2SelfApiTokensOptions(int operationIndex = 0) @@ -399,12 +399,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2SelfApiTokensOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2SelfApiTokensOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -413,13 +413,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -452,7 +452,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -464,14 +464,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2SelfApiTokensOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2SelfApiTokensOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -480,13 +480,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -520,26 +520,26 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates an API token for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenForCreationDto">The API token data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiTokenDtoResponse</returns> public ApiTokenDtoResponse CreateApiToken(ApiTokenForCreationDto? apiTokenForCreationDto = default(ApiTokenForCreationDto?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ApiTokenDtoResponse> localVarResponse = CreateApiTokenWithHttpInfo(apiTokenForCreationDto); + Coscine.ApiClient.Client.ApiResponse<ApiTokenDtoResponse> localVarResponse = CreateApiTokenWithHttpInfo(apiTokenForCreationDto); return localVarResponse.Data; } /// <summary> /// Creates an API token for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenForCreationDto">The API token data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ApiTokenDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ApiTokenDtoResponse> CreateApiTokenWithHttpInfo(ApiTokenForCreationDto? apiTokenForCreationDto = default(ApiTokenForCreationDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ApiTokenDtoResponse> CreateApiTokenWithHttpInfo(ApiTokenForCreationDto? apiTokenForCreationDto = default(ApiTokenForCreationDto?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -553,13 +553,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -593,29 +593,29 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates an API token for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenForCreationDto">The API token data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiTokenDtoResponse</returns> public async System.Threading.Tasks.Task<ApiTokenDtoResponse> CreateApiTokenAsync(ApiTokenForCreationDto? apiTokenForCreationDto = default(ApiTokenForCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ApiTokenDtoResponse> localVarResponse = await CreateApiTokenWithHttpInfoAsync(apiTokenForCreationDto, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ApiTokenDtoResponse> localVarResponse = await CreateApiTokenWithHttpInfoAsync(apiTokenForCreationDto, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Creates an API token for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenForCreationDto">The API token data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ApiTokenDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ApiTokenDtoResponse>> CreateApiTokenWithHttpInfoAsync(ApiTokenForCreationDto? apiTokenForCreationDto = default(ApiTokenForCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ApiTokenDtoResponse>> CreateApiTokenWithHttpInfoAsync(ApiTokenForCreationDto? apiTokenForCreationDto = default(ApiTokenForCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -629,13 +629,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -670,30 +670,30 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all API tokens for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiTokenDtoIEnumerablePagedResponse</returns> - public ApiTokenDtoIEnumerablePagedResponse GetAllApiTokens(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiTokenDtoPagedResponse</returns> + public ApiTokenDtoPagedResponse GetAllApiTokens(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ApiTokenDtoIEnumerablePagedResponse> localVarResponse = GetAllApiTokensWithHttpInfo(pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<ApiTokenDtoPagedResponse> localVarResponse = GetAllApiTokensWithHttpInfo(pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all API tokens for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of ApiTokenDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ApiTokenDtoIEnumerablePagedResponse> GetAllApiTokensWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of ApiTokenDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<ApiTokenDtoPagedResponse> GetAllApiTokensWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -704,13 +704,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -718,15 +718,15 @@ namespace Org.OpenAPITools.Api if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "SelfApiTokenApi.GetAllApiTokens"; @@ -739,7 +739,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<ApiTokenDtoIEnumerablePagedResponse>("/api/v2/self/api-tokens", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<ApiTokenDtoPagedResponse>("/api/v2/self/api-tokens", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAllApiTokens", localVarResponse); @@ -755,33 +755,33 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all API tokens for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiTokenDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<ApiTokenDtoIEnumerablePagedResponse> GetAllApiTokensAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiTokenDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<ApiTokenDtoPagedResponse> GetAllApiTokensAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ApiTokenDtoIEnumerablePagedResponse> localVarResponse = await GetAllApiTokensWithHttpInfoAsync(pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ApiTokenDtoPagedResponse> localVarResponse = await GetAllApiTokensWithHttpInfoAsync(pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all API tokens for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (ApiTokenDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ApiTokenDtoIEnumerablePagedResponse>> GetAllApiTokensWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (ApiTokenDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ApiTokenDtoPagedResponse>> GetAllApiTokensWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -792,13 +792,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -806,15 +806,15 @@ namespace Org.OpenAPITools.Api if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "SelfApiTokenApi.GetAllApiTokens"; @@ -827,7 +827,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<ApiTokenDtoIEnumerablePagedResponse>("/api/v2/self/api-tokens", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<ApiTokenDtoPagedResponse>("/api/v2/self/api-tokens", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -844,26 +844,26 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves an API token for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiTokenDtoResponse</returns> public ApiTokenDtoResponse GetApiToken(Guid apiTokenId, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<ApiTokenDtoResponse> localVarResponse = GetApiTokenWithHttpInfo(apiTokenId); + Coscine.ApiClient.Client.ApiResponse<ApiTokenDtoResponse> localVarResponse = GetApiTokenWithHttpInfo(apiTokenId); return localVarResponse.Data; } /// <summary> /// Retrieves an API token for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of ApiTokenDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<ApiTokenDtoResponse> GetApiTokenWithHttpInfo(Guid apiTokenId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<ApiTokenDtoResponse> GetApiTokenWithHttpInfo(Guid apiTokenId, int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -874,19 +874,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("apiTokenId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(apiTokenId)); // path parameter + localVarRequestOptions.PathParameters.Add("apiTokenId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(apiTokenId)); // path parameter localVarRequestOptions.Operation = "SelfApiTokenApi.GetApiToken"; localVarRequestOptions.OperationIndex = operationIndex; @@ -914,29 +914,29 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves an API token for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiTokenDtoResponse</returns> public async System.Threading.Tasks.Task<ApiTokenDtoResponse> GetApiTokenAsync(Guid apiTokenId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<ApiTokenDtoResponse> localVarResponse = await GetApiTokenWithHttpInfoAsync(apiTokenId, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<ApiTokenDtoResponse> localVarResponse = await GetApiTokenWithHttpInfoAsync(apiTokenId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves an API token for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (ApiTokenDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<ApiTokenDtoResponse>> GetApiTokenWithHttpInfoAsync(Guid apiTokenId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<ApiTokenDtoResponse>> GetApiTokenWithHttpInfoAsync(Guid apiTokenId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -947,19 +947,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("apiTokenId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(apiTokenId)); // path parameter + localVarRequestOptions.PathParameters.Add("apiTokenId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(apiTokenId)); // path parameter localVarRequestOptions.Operation = "SelfApiTokenApi.GetApiToken"; localVarRequestOptions.OperationIndex = operationIndex; @@ -988,7 +988,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Revokes an API token for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> @@ -1000,13 +1000,13 @@ namespace Org.OpenAPITools.Api /// <summary> /// Revokes an API token for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> RevokeTokenWithHttpInfo(Guid apiTokenId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> RevokeTokenWithHttpInfo(Guid apiTokenId, int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1015,19 +1015,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("apiTokenId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(apiTokenId)); // path parameter + localVarRequestOptions.PathParameters.Add("apiTokenId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(apiTokenId)); // path parameter localVarRequestOptions.Operation = "SelfApiTokenApi.RevokeToken"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1055,7 +1055,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Revokes an API token for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -1068,15 +1068,15 @@ namespace Org.OpenAPITools.Api /// <summary> /// Revokes an API token for the current authenticated user. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="apiTokenId">The ID of the token.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> RevokeTokenWithHttpInfoAsync(Guid apiTokenId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> RevokeTokenWithHttpInfoAsync(Guid apiTokenId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1085,19 +1085,19 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("apiTokenId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(apiTokenId)); // path parameter + localVarRequestOptions.PathParameters.Add("apiTokenId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(apiTokenId)); // path parameter localVarRequestOptions.Operation = "SelfApiTokenApi.RevokeToken"; localVarRequestOptions.OperationIndex = operationIndex; diff --git a/src/Org.OpenAPITools/Api/TitleApi.cs b/src/Coscine.ApiClient/Api/TitleApi.cs similarity index 66% rename from src/Org.OpenAPITools/Api/TitleApi.cs rename to src/Coscine.ApiClient/Api/TitleApi.cs index 8ed9d8a..d0ade19 100644 --- a/src/Org.OpenAPITools/Api/TitleApi.cs +++ b/src/Coscine.ApiClient/Api/TitleApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2TitlesOptions(int operationIndex = 0); @@ -41,14 +41,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2TitlesOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves a title by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="titleId">The ID of the title.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>TitleDtoResponse</returns> @@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="titleId">The ID of the title.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of TitleDtoResponse</returns> @@ -68,13 +68,13 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all titles. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>TitleDtoIEnumerablePagedResponse</returns> - TitleDtoIEnumerablePagedResponse GetTitles(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>TitleDtoPagedResponse</returns> + TitleDtoPagedResponse GetTitles(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all titles. @@ -82,13 +82,13 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of TitleDtoIEnumerablePagedResponse</returns> - ApiResponse<TitleDtoIEnumerablePagedResponse> GetTitlesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of TitleDtoPagedResponse</returns> + ApiResponse<TitleDtoPagedResponse> GetTitlesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); #endregion Synchronous Operations } @@ -104,7 +104,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -116,7 +116,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -127,7 +127,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="titleId">The ID of the title.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -140,7 +140,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="titleId">The ID of the title.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -152,14 +152,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of TitleDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<TitleDtoIEnumerablePagedResponse> GetTitlesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of TitleDtoPagedResponse</returns> + System.Threading.Tasks.Task<TitleDtoPagedResponse> GetTitlesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all titles. @@ -167,14 +167,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (TitleDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<TitleDtoIEnumerablePagedResponse>> GetTitlesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (TitleDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<TitleDtoPagedResponse>> GetTitlesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class TitleApi : ITitleApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="TitleApi"/> class. @@ -207,13 +207,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public TitleApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -222,17 +222,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public TitleApi(Org.OpenAPITools.Client.Configuration configuration) + public TitleApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -242,7 +242,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public TitleApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public TitleApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -251,18 +251,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -277,12 +277,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -298,7 +298,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2TitlesOptions(int operationIndex = 0) @@ -309,12 +309,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2TitlesOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2TitlesOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -323,13 +323,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -362,7 +362,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -374,14 +374,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2TitlesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2TitlesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -390,13 +390,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -430,26 +430,26 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a title by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="titleId">The ID of the title.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>TitleDtoResponse</returns> public TitleDtoResponse GetTitle(Guid titleId, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<TitleDtoResponse> localVarResponse = GetTitleWithHttpInfo(titleId); + Coscine.ApiClient.Client.ApiResponse<TitleDtoResponse> localVarResponse = GetTitleWithHttpInfo(titleId); return localVarResponse.Data; } /// <summary> /// Retrieves a title by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="titleId">The ID of the title.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of TitleDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<TitleDtoResponse> GetTitleWithHttpInfo(Guid titleId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<TitleDtoResponse> GetTitleWithHttpInfo(Guid titleId, int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -460,19 +460,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("titleId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(titleId)); // path parameter + localVarRequestOptions.PathParameters.Add("titleId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(titleId)); // path parameter localVarRequestOptions.Operation = "TitleApi.GetTitle"; localVarRequestOptions.OperationIndex = operationIndex; @@ -500,29 +500,29 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a title by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="titleId">The ID of the title.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of TitleDtoResponse</returns> public async System.Threading.Tasks.Task<TitleDtoResponse> GetTitleAsync(Guid titleId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<TitleDtoResponse> localVarResponse = await GetTitleWithHttpInfoAsync(titleId, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<TitleDtoResponse> localVarResponse = await GetTitleWithHttpInfoAsync(titleId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves a title by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="titleId">The ID of the title.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (TitleDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<TitleDtoResponse>> GetTitleWithHttpInfoAsync(Guid titleId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<TitleDtoResponse>> GetTitleWithHttpInfoAsync(Guid titleId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -533,19 +533,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("titleId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(titleId)); // path parameter + localVarRequestOptions.PathParameters.Add("titleId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(titleId)); // path parameter localVarRequestOptions.Operation = "TitleApi.GetTitle"; localVarRequestOptions.OperationIndex = operationIndex; @@ -574,30 +574,30 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all titles. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>TitleDtoIEnumerablePagedResponse</returns> - public TitleDtoIEnumerablePagedResponse GetTitles(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>TitleDtoPagedResponse</returns> + public TitleDtoPagedResponse GetTitles(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<TitleDtoIEnumerablePagedResponse> localVarResponse = GetTitlesWithHttpInfo(pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<TitleDtoPagedResponse> localVarResponse = GetTitlesWithHttpInfo(pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all titles. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of TitleDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<TitleDtoIEnumerablePagedResponse> GetTitlesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of TitleDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<TitleDtoPagedResponse> GetTitlesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -608,13 +608,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -622,15 +622,15 @@ namespace Org.OpenAPITools.Api if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "TitleApi.GetTitles"; @@ -643,7 +643,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<TitleDtoIEnumerablePagedResponse>("/api/v2/titles", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<TitleDtoPagedResponse>("/api/v2/titles", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetTitles", localVarResponse); @@ -659,33 +659,33 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all titles. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of TitleDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<TitleDtoIEnumerablePagedResponse> GetTitlesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of TitleDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<TitleDtoPagedResponse> GetTitlesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<TitleDtoIEnumerablePagedResponse> localVarResponse = await GetTitlesWithHttpInfoAsync(pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<TitleDtoPagedResponse> localVarResponse = await GetTitlesWithHttpInfoAsync(pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all titles. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (TitleDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<TitleDtoIEnumerablePagedResponse>> GetTitlesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (TitleDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<TitleDtoPagedResponse>> GetTitlesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -696,13 +696,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -710,15 +710,15 @@ namespace Org.OpenAPITools.Api if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "TitleApi.GetTitles"; @@ -731,7 +731,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<TitleDtoIEnumerablePagedResponse>("/api/v2/titles", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<TitleDtoPagedResponse>("/api/v2/titles", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Org.OpenAPITools/Api/TosApi.cs b/src/Coscine.ApiClient/Api/TosApi.cs similarity index 73% rename from src/Org.OpenAPITools/Api/TosApi.cs rename to src/Coscine.ApiClient/Api/TosApi.cs index 2cdd73d..3380fa9 100644 --- a/src/Org.OpenAPITools/Api/TosApi.cs +++ b/src/Coscine.ApiClient/Api/TosApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2TosOptions(int operationIndex = 0); @@ -41,14 +41,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2TosOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves the current Terms of Service version. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>TermsOfServiceDtoResponse</returns> TermsOfServiceDtoResponse GetTos(int operationIndex = 0); @@ -59,7 +59,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of TermsOfServiceDtoResponse</returns> ApiResponse<TermsOfServiceDtoResponse> GetTosWithHttpInfo(int operationIndex = 0); @@ -78,7 +78,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -90,7 +90,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -101,7 +101,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of TermsOfServiceDtoResponse</returns> @@ -113,7 +113,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (TermsOfServiceDtoResponse)</returns> @@ -134,7 +134,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class TosApi : ITosApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="TosApi"/> class. @@ -150,13 +150,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public TosApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -165,17 +165,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public TosApi(Org.OpenAPITools.Client.Configuration configuration) + public TosApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -185,7 +185,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public TosApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public TosApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -194,18 +194,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -220,12 +220,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -241,7 +241,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2TosOptions(int operationIndex = 0) @@ -252,12 +252,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2TosOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2TosOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -266,13 +266,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -305,7 +305,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -317,14 +317,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2TosOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2TosOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -333,13 +333,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -373,24 +373,24 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the current Terms of Service version. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>TermsOfServiceDtoResponse</returns> public TermsOfServiceDtoResponse GetTos(int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<TermsOfServiceDtoResponse> localVarResponse = GetTosWithHttpInfo(); + Coscine.ApiClient.Client.ApiResponse<TermsOfServiceDtoResponse> localVarResponse = GetTosWithHttpInfo(); return localVarResponse.Data; } /// <summary> /// Retrieves the current Terms of Service version. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of TermsOfServiceDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<TermsOfServiceDtoResponse> GetTosWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<TermsOfServiceDtoResponse> GetTosWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -401,13 +401,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -440,27 +440,27 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the current Terms of Service version. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of TermsOfServiceDtoResponse</returns> public async System.Threading.Tasks.Task<TermsOfServiceDtoResponse> GetTosAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<TermsOfServiceDtoResponse> localVarResponse = await GetTosWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<TermsOfServiceDtoResponse> localVarResponse = await GetTosWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves the current Terms of Service version. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (TermsOfServiceDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<TermsOfServiceDtoResponse>> GetTosWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<TermsOfServiceDtoResponse>> GetTosWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -471,13 +471,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); diff --git a/src/Org.OpenAPITools/Api/TreeApi.cs b/src/Coscine.ApiClient/Api/TreeApi.cs similarity index 66% rename from src/Org.OpenAPITools/Api/TreeApi.cs rename to src/Coscine.ApiClient/Api/TreeApi.cs index 22ed21e..162784a 100644 --- a/src/Org.OpenAPITools/Api/TreeApi.cs +++ b/src/Coscine.ApiClient/Api/TreeApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -52,7 +52,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a new metadata tree for a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForCreationDto">The metadata tree data for creation. (optional)</param> @@ -66,7 +66,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForCreationDto">The metadata tree data for creation. (optional)</param> @@ -79,7 +79,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// The `OrderBy` query is currently not supported. /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -87,8 +87,8 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>FileTreeDtoIEnumerablePagedResponse</returns> - FileTreeDtoIEnumerablePagedResponse GetFileTree(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>FileTreeDtoPagedResponse</returns> + FileTreeDtoPagedResponse GetFileTree(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves the file tree associated with a resource. @@ -96,7 +96,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// The `OrderBy` query is currently not supported. /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -104,12 +104,12 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of FileTreeDtoIEnumerablePagedResponse</returns> - ApiResponse<FileTreeDtoIEnumerablePagedResponse> GetFileTreeWithHttpInfo(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of FileTreeDtoPagedResponse</returns> + ApiResponse<FileTreeDtoPagedResponse> GetFileTreeWithHttpInfo(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves the metadata tree associated with a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -118,8 +118,8 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>MetadataTreeDtoIEnumerablePagedResponse</returns> - MetadataTreeDtoIEnumerablePagedResponse GetMetadataTree(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>MetadataTreeDtoPagedResponse</returns> + MetadataTreeDtoPagedResponse GetMetadataTree(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves the metadata tree associated with a resource. @@ -127,7 +127,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -136,12 +136,12 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of MetadataTreeDtoIEnumerablePagedResponse</returns> - ApiResponse<MetadataTreeDtoIEnumerablePagedResponse> GetMetadataTreeWithHttpInfo(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of MetadataTreeDtoPagedResponse</returns> + ApiResponse<MetadataTreeDtoPagedResponse> GetMetadataTreeWithHttpInfo(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Updates an existing metadata tree of a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForUpdateDto">The updated metadata tree data. (optional)</param> @@ -155,7 +155,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForUpdateDto">The updated metadata tree data. (optional)</param> @@ -177,7 +177,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -204,7 +204,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForCreationDto">The metadata tree data for creation. (optional)</param> @@ -219,7 +219,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForCreationDto">The metadata tree data for creation. (optional)</param> @@ -233,7 +233,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// The `OrderBy` query is currently not supported. /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -242,8 +242,8 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of FileTreeDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<FileTreeDtoIEnumerablePagedResponse> GetFileTreeAsync(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of FileTreeDtoPagedResponse</returns> + System.Threading.Tasks.Task<FileTreeDtoPagedResponse> GetFileTreeAsync(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves the file tree associated with a resource. @@ -251,7 +251,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// The `OrderBy` query is currently not supported. /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -260,15 +260,15 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (FileTreeDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<FileTreeDtoIEnumerablePagedResponse>> GetFileTreeWithHttpInfoAsync(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (FileTreeDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<FileTreeDtoPagedResponse>> GetFileTreeWithHttpInfoAsync(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves the metadata tree associated with a resource. /// </summary> /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -278,8 +278,8 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of MetadataTreeDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<MetadataTreeDtoIEnumerablePagedResponse> GetMetadataTreeAsync(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of MetadataTreeDtoPagedResponse</returns> + System.Threading.Tasks.Task<MetadataTreeDtoPagedResponse> GetMetadataTreeAsync(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves the metadata tree associated with a resource. @@ -287,7 +287,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -297,15 +297,15 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (MetadataTreeDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<MetadataTreeDtoIEnumerablePagedResponse>> GetMetadataTreeWithHttpInfoAsync(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (MetadataTreeDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<MetadataTreeDtoPagedResponse>> GetMetadataTreeWithHttpInfoAsync(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Updates an existing metadata tree of a resource. /// </summary> /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForUpdateDto">The updated metadata tree data. (optional)</param> @@ -320,7 +320,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForUpdateDto">The updated metadata tree data. (optional)</param> @@ -344,7 +344,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class TreeApi : ITreeApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="TreeApi"/> class. @@ -360,13 +360,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public TreeApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -375,17 +375,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public TreeApi(Org.OpenAPITools.Client.Configuration configuration) + public TreeApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -395,7 +395,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public TreeApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public TreeApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -404,18 +404,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -430,12 +430,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -451,7 +451,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -464,26 +464,26 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2ProjectsProjectIdResourcesResourceIdTreesOptionsWithHttpInfo(string projectId, string resourceId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2ProjectsProjectIdResourcesResourceIdTreesOptionsWithHttpInfo(string projectId, string resourceId, int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->ApiV2ProjectsProjectIdResourcesResourceIdTreesOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->ApiV2ProjectsProjectIdResourcesResourceIdTreesOptions"); } // verify the required parameter 'resourceId' is set if (resourceId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'resourceId' when calling TreeApi->ApiV2ProjectsProjectIdResourcesResourceIdTreesOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'resourceId' when calling TreeApi->ApiV2ProjectsProjectIdResourcesResourceIdTreesOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -492,20 +492,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Operation = "TreeApi.ApiV2ProjectsProjectIdResourcesResourceIdTreesOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -533,7 +533,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -547,28 +547,28 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId"></param> /// <param name="resourceId"></param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdResourcesResourceIdTreesOptionsWithHttpInfoAsync(string projectId, string resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2ProjectsProjectIdResourcesResourceIdTreesOptionsWithHttpInfoAsync(string projectId, string resourceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->ApiV2ProjectsProjectIdResourcesResourceIdTreesOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->ApiV2ProjectsProjectIdResourcesResourceIdTreesOptions"); } // verify the required parameter 'resourceId' is set if (resourceId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'resourceId' when calling TreeApi->ApiV2ProjectsProjectIdResourcesResourceIdTreesOptions"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'resourceId' when calling TreeApi->ApiV2ProjectsProjectIdResourcesResourceIdTreesOptions"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -577,20 +577,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Operation = "TreeApi.ApiV2ProjectsProjectIdResourcesResourceIdTreesOptions"; localVarRequestOptions.OperationIndex = operationIndex; @@ -619,7 +619,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a new metadata tree for a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForCreationDto">The metadata tree data for creation. (optional)</param> @@ -627,28 +627,28 @@ namespace Org.OpenAPITools.Api /// <returns>MetadataTreeDtoResponse</returns> public MetadataTreeDtoResponse CreateMetadataTree(string projectId, Guid resourceId, MetadataTreeForCreationDto? metadataTreeForCreationDto = default(MetadataTreeForCreationDto?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<MetadataTreeDtoResponse> localVarResponse = CreateMetadataTreeWithHttpInfo(projectId, resourceId, metadataTreeForCreationDto); + Coscine.ApiClient.Client.ApiResponse<MetadataTreeDtoResponse> localVarResponse = CreateMetadataTreeWithHttpInfo(projectId, resourceId, metadataTreeForCreationDto); return localVarResponse.Data; } /// <summary> /// Creates a new metadata tree for a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForCreationDto">The metadata tree data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of MetadataTreeDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<MetadataTreeDtoResponse> CreateMetadataTreeWithHttpInfo(string projectId, Guid resourceId, MetadataTreeForCreationDto? metadataTreeForCreationDto = default(MetadataTreeForCreationDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<MetadataTreeDtoResponse> CreateMetadataTreeWithHttpInfo(string projectId, Guid resourceId, MetadataTreeForCreationDto? metadataTreeForCreationDto = default(MetadataTreeForCreationDto?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->CreateMetadataTree"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->CreateMetadataTree"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -662,20 +662,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Data = metadataTreeForCreationDto; localVarRequestOptions.Operation = "TreeApi.CreateMetadataTree"; @@ -704,7 +704,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Creates a new metadata tree for a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForCreationDto">The metadata tree data for creation. (optional)</param> @@ -713,30 +713,30 @@ namespace Org.OpenAPITools.Api /// <returns>Task of MetadataTreeDtoResponse</returns> public async System.Threading.Tasks.Task<MetadataTreeDtoResponse> CreateMetadataTreeAsync(string projectId, Guid resourceId, MetadataTreeForCreationDto? metadataTreeForCreationDto = default(MetadataTreeForCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<MetadataTreeDtoResponse> localVarResponse = await CreateMetadataTreeWithHttpInfoAsync(projectId, resourceId, metadataTreeForCreationDto, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<MetadataTreeDtoResponse> localVarResponse = await CreateMetadataTreeWithHttpInfoAsync(projectId, resourceId, metadataTreeForCreationDto, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Creates a new metadata tree for a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForCreationDto">The metadata tree data for creation. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (MetadataTreeDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<MetadataTreeDtoResponse>> CreateMetadataTreeWithHttpInfoAsync(string projectId, Guid resourceId, MetadataTreeForCreationDto? metadataTreeForCreationDto = default(MetadataTreeForCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<MetadataTreeDtoResponse>> CreateMetadataTreeWithHttpInfoAsync(string projectId, Guid resourceId, MetadataTreeForCreationDto? metadataTreeForCreationDto = default(MetadataTreeForCreationDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->CreateMetadataTree"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->CreateMetadataTree"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -750,20 +750,20 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Data = metadataTreeForCreationDto; localVarRequestOptions.Operation = "TreeApi.CreateMetadataTree"; @@ -793,7 +793,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the file tree associated with a resource. The `OrderBy` query is currently not supported. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -801,17 +801,17 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>FileTreeDtoIEnumerablePagedResponse</returns> - public FileTreeDtoIEnumerablePagedResponse GetFileTree(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>FileTreeDtoPagedResponse</returns> + public FileTreeDtoPagedResponse GetFileTree(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<FileTreeDtoIEnumerablePagedResponse> localVarResponse = GetFileTreeWithHttpInfo(projectId, resourceId, path, pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<FileTreeDtoPagedResponse> localVarResponse = GetFileTreeWithHttpInfo(projectId, resourceId, path, pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves the file tree associated with a resource. The `OrderBy` query is currently not supported. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -819,16 +819,16 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of FileTreeDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<FileTreeDtoIEnumerablePagedResponse> GetFileTreeWithHttpInfo(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of FileTreeDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<FileTreeDtoPagedResponse> GetFileTreeWithHttpInfo(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->GetFileTree"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->GetFileTree"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -839,35 +839,35 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter if (path != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Path", path)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Path", path)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "TreeApi.GetFileTree"; @@ -880,7 +880,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<FileTreeDtoIEnumerablePagedResponse>("/api/v2/projects/{projectId}/resources/{resourceId}/trees/files", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<FileTreeDtoPagedResponse>("/api/v2/projects/{projectId}/resources/{resourceId}/trees/files", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetFileTree", localVarResponse); @@ -896,7 +896,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the file tree associated with a resource. The `OrderBy` query is currently not supported. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -905,17 +905,17 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of FileTreeDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<FileTreeDtoIEnumerablePagedResponse> GetFileTreeAsync(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of FileTreeDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<FileTreeDtoPagedResponse> GetFileTreeAsync(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<FileTreeDtoIEnumerablePagedResponse> localVarResponse = await GetFileTreeWithHttpInfoAsync(projectId, resourceId, path, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<FileTreeDtoPagedResponse> localVarResponse = await GetFileTreeWithHttpInfoAsync(projectId, resourceId, path, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves the file tree associated with a resource. The `OrderBy` query is currently not supported. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -924,17 +924,17 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (FileTreeDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<FileTreeDtoIEnumerablePagedResponse>> GetFileTreeWithHttpInfoAsync(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (FileTreeDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<FileTreeDtoPagedResponse>> GetFileTreeWithHttpInfoAsync(string projectId, Guid resourceId, string? path = default(string?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->GetFileTree"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->GetFileTree"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -945,35 +945,35 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter if (path != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Path", path)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Path", path)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "TreeApi.GetFileTree"; @@ -986,7 +986,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<FileTreeDtoIEnumerablePagedResponse>("/api/v2/projects/{projectId}/resources/{resourceId}/trees/files", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<FileTreeDtoPagedResponse>("/api/v2/projects/{projectId}/resources/{resourceId}/trees/files", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1003,7 +1003,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the metadata tree associated with a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -1012,17 +1012,17 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>MetadataTreeDtoIEnumerablePagedResponse</returns> - public MetadataTreeDtoIEnumerablePagedResponse GetMetadataTree(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>MetadataTreeDtoPagedResponse</returns> + public MetadataTreeDtoPagedResponse GetMetadataTree(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<MetadataTreeDtoIEnumerablePagedResponse> localVarResponse = GetMetadataTreeWithHttpInfo(projectId, resourceId, path, format, pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<MetadataTreeDtoPagedResponse> localVarResponse = GetMetadataTreeWithHttpInfo(projectId, resourceId, path, format, pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves the metadata tree associated with a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -1031,16 +1031,16 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of MetadataTreeDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<MetadataTreeDtoIEnumerablePagedResponse> GetMetadataTreeWithHttpInfo(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of MetadataTreeDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<MetadataTreeDtoPagedResponse> GetMetadataTreeWithHttpInfo(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->GetMetadataTree"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->GetMetadataTree"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1051,39 +1051,39 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter if (path != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Path", path)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Path", path)); } if (format != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Format", format)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Format", format)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "TreeApi.GetMetadataTree"; @@ -1096,7 +1096,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<MetadataTreeDtoIEnumerablePagedResponse>("/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<MetadataTreeDtoPagedResponse>("/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetMetadataTree", localVarResponse); @@ -1112,7 +1112,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves the metadata tree associated with a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -1122,17 +1122,17 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of MetadataTreeDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<MetadataTreeDtoIEnumerablePagedResponse> GetMetadataTreeAsync(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of MetadataTreeDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<MetadataTreeDtoPagedResponse> GetMetadataTreeAsync(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<MetadataTreeDtoIEnumerablePagedResponse> localVarResponse = await GetMetadataTreeWithHttpInfoAsync(projectId, resourceId, path, format, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<MetadataTreeDtoPagedResponse> localVarResponse = await GetMetadataTreeWithHttpInfoAsync(projectId, resourceId, path, format, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves the metadata tree associated with a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="path"> (optional)</param> @@ -1142,17 +1142,17 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (MetadataTreeDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<MetadataTreeDtoIEnumerablePagedResponse>> GetMetadataTreeWithHttpInfoAsync(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (MetadataTreeDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<MetadataTreeDtoPagedResponse>> GetMetadataTreeWithHttpInfoAsync(string projectId, Guid resourceId, string? path = default(string?), RdfFormat? format = default(RdfFormat?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->GetMetadataTree"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->GetMetadataTree"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1163,39 +1163,39 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter if (path != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Path", path)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Path", path)); } if (format != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Format", format)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Format", format)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "TreeApi.GetMetadataTree"; @@ -1208,7 +1208,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<MetadataTreeDtoIEnumerablePagedResponse>("/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<MetadataTreeDtoPagedResponse>("/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1225,7 +1225,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates an existing metadata tree of a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForUpdateDto">The updated metadata tree data. (optional)</param> @@ -1239,21 +1239,21 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates an existing metadata tree of a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForUpdateDto">The updated metadata tree data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> UpdateMetadataTreeWithHttpInfo(string projectId, Guid resourceId, MetadataTreeForUpdateDto? metadataTreeForUpdateDto = default(MetadataTreeForUpdateDto?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> UpdateMetadataTreeWithHttpInfo(string projectId, Guid resourceId, MetadataTreeForUpdateDto? metadataTreeForUpdateDto = default(MetadataTreeForUpdateDto?), int operationIndex = 0) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->UpdateMetadataTree"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->UpdateMetadataTree"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -1265,20 +1265,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Data = metadataTreeForUpdateDto; localVarRequestOptions.Operation = "TreeApi.UpdateMetadataTree"; @@ -1307,7 +1307,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates an existing metadata tree of a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForUpdateDto">The updated metadata tree data. (optional)</param> @@ -1322,23 +1322,23 @@ namespace Org.OpenAPITools.Api /// <summary> /// Updates an existing metadata tree of a resource. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="projectId">The unique identifier or slug of the project.</param> /// <param name="resourceId">The unique identifier of the resource.</param> /// <param name="metadataTreeForUpdateDto">The updated metadata tree data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> UpdateMetadataTreeWithHttpInfoAsync(string projectId, Guid resourceId, MetadataTreeForUpdateDto? metadataTreeForUpdateDto = default(MetadataTreeForUpdateDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> UpdateMetadataTreeWithHttpInfoAsync(string projectId, Guid resourceId, MetadataTreeForUpdateDto? metadataTreeForUpdateDto = default(MetadataTreeForUpdateDto?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'projectId' is set if (projectId == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->UpdateMetadataTree"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'projectId' when calling TreeApi->UpdateMetadataTree"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -1350,20 +1350,20 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("projectId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(projectId)); // path parameter - localVarRequestOptions.PathParameters.Add("resourceId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(resourceId)); // path parameter + localVarRequestOptions.PathParameters.Add("projectId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(projectId)); // path parameter + localVarRequestOptions.PathParameters.Add("resourceId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(resourceId)); // path parameter localVarRequestOptions.Data = metadataTreeForUpdateDto; localVarRequestOptions.Operation = "TreeApi.UpdateMetadataTree"; diff --git a/src/Org.OpenAPITools/Api/UserApi.cs b/src/Coscine.ApiClient/Api/UserApi.cs similarity index 72% rename from src/Org.OpenAPITools/Api/UserApi.cs rename to src/Coscine.ApiClient/Api/UserApi.cs index c9460b4..282afe4 100644 --- a/src/Org.OpenAPITools/Api/UserApi.cs +++ b/src/Coscine.ApiClient/Api/UserApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2UsersOptions(int operationIndex = 0); @@ -41,14 +41,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2UsersOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves all users. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"></param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -61,7 +61,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"></param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -82,7 +82,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -94,7 +94,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -105,7 +105,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"></param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -119,7 +119,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"></param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -142,7 +142,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class UserApi : IUserApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="UserApi"/> class. @@ -158,13 +158,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public UserApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -173,17 +173,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public UserApi(Org.OpenAPITools.Client.Configuration configuration) + public UserApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -193,7 +193,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public UserApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public UserApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -202,18 +202,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -228,12 +228,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -249,7 +249,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2UsersOptions(int operationIndex = 0) @@ -260,12 +260,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2UsersOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2UsersOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -274,13 +274,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -313,7 +313,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -325,14 +325,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2UsersOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2UsersOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -341,13 +341,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -381,34 +381,34 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all users. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"></param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>PublicUserDtoIEnumerableResponse</returns> public PublicUserDtoIEnumerableResponse GetUsers(string searchTerm, string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<PublicUserDtoIEnumerableResponse> localVarResponse = GetUsersWithHttpInfo(searchTerm, orderBy); + Coscine.ApiClient.Client.ApiResponse<PublicUserDtoIEnumerableResponse> localVarResponse = GetUsersWithHttpInfo(searchTerm, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all users. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"></param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of PublicUserDtoIEnumerableResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<PublicUserDtoIEnumerableResponse> GetUsersWithHttpInfo(string searchTerm, string? orderBy = default(string?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<PublicUserDtoIEnumerableResponse> GetUsersWithHttpInfo(string searchTerm, string? orderBy = default(string?), int operationIndex = 0) { // verify the required parameter 'searchTerm' is set if (searchTerm == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'searchTerm' when calling UserApi->GetUsers"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'searchTerm' when calling UserApi->GetUsers"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -419,13 +419,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -433,9 +433,9 @@ namespace Org.OpenAPITools.Api if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); localVarRequestOptions.Operation = "UserApi.GetUsers"; localVarRequestOptions.OperationIndex = operationIndex; @@ -463,7 +463,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all users. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"></param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -471,29 +471,29 @@ namespace Org.OpenAPITools.Api /// <returns>Task of PublicUserDtoIEnumerableResponse</returns> public async System.Threading.Tasks.Task<PublicUserDtoIEnumerableResponse> GetUsersAsync(string searchTerm, string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<PublicUserDtoIEnumerableResponse> localVarResponse = await GetUsersWithHttpInfoAsync(searchTerm, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<PublicUserDtoIEnumerableResponse> localVarResponse = await GetUsersWithHttpInfoAsync(searchTerm, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all users. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"></param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (PublicUserDtoIEnumerableResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<PublicUserDtoIEnumerableResponse>> GetUsersWithHttpInfoAsync(string searchTerm, string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<PublicUserDtoIEnumerableResponse>> GetUsersWithHttpInfoAsync(string searchTerm, string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'searchTerm' is set if (searchTerm == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'searchTerm' when calling UserApi->GetUsers"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'searchTerm' when calling UserApi->GetUsers"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -504,13 +504,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -518,9 +518,9 @@ namespace Org.OpenAPITools.Api if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); localVarRequestOptions.Operation = "UserApi.GetUsers"; localVarRequestOptions.OperationIndex = operationIndex; diff --git a/src/Org.OpenAPITools/Api/VisibilityApi.cs b/src/Coscine.ApiClient/Api/VisibilityApi.cs similarity index 67% rename from src/Org.OpenAPITools/Api/VisibilityApi.cs rename to src/Coscine.ApiClient/Api/VisibilityApi.cs index 7466c3b..97bd19c 100644 --- a/src/Org.OpenAPITools/Api/VisibilityApi.cs +++ b/src/Coscine.ApiClient/Api/VisibilityApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2VisibilitiesOptions(int operationIndex = 0); @@ -41,20 +41,20 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2VisibilitiesOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves all visibilities. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>VisibilityDtoIEnumerablePagedResponse</returns> - VisibilityDtoIEnumerablePagedResponse GetVisibilities(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>VisibilityDtoPagedResponse</returns> + VisibilityDtoPagedResponse GetVisibilities(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves all visibilities. @@ -62,17 +62,17 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of VisibilityDtoIEnumerablePagedResponse</returns> - ApiResponse<VisibilityDtoIEnumerablePagedResponse> GetVisibilitiesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of VisibilityDtoPagedResponse</returns> + ApiResponse<VisibilityDtoPagedResponse> GetVisibilitiesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves a visibility by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="visibilityId">The ID of the visibility.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>VisibilityDtoResponse</returns> @@ -84,7 +84,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="visibilityId">The ID of the visibility.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of VisibilityDtoResponse</returns> @@ -104,7 +104,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -116,7 +116,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -127,14 +127,14 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of VisibilityDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<VisibilityDtoIEnumerablePagedResponse> GetVisibilitiesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of VisibilityDtoPagedResponse</returns> + System.Threading.Tasks.Task<VisibilityDtoPagedResponse> GetVisibilitiesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves all visibilities. @@ -142,21 +142,21 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (VisibilityDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<VisibilityDtoIEnumerablePagedResponse>> GetVisibilitiesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (VisibilityDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<VisibilityDtoPagedResponse>> GetVisibilitiesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves a visibility by ID. /// </summary> /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="visibilityId">The ID of the visibility.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -169,7 +169,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="visibilityId">The ID of the visibility.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> @@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class VisibilityApi : IVisibilityApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="VisibilityApi"/> class. @@ -207,13 +207,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public VisibilityApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -222,17 +222,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public VisibilityApi(Org.OpenAPITools.Client.Configuration configuration) + public VisibilityApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -242,7 +242,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public VisibilityApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public VisibilityApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -251,18 +251,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -277,12 +277,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -298,7 +298,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2VisibilitiesOptions(int operationIndex = 0) @@ -309,12 +309,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2VisibilitiesOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2VisibilitiesOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -323,13 +323,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -362,7 +362,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -374,14 +374,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2VisibilitiesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2VisibilitiesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -390,13 +390,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -430,30 +430,30 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all visibilities. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>VisibilityDtoIEnumerablePagedResponse</returns> - public VisibilityDtoIEnumerablePagedResponse GetVisibilities(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>VisibilityDtoPagedResponse</returns> + public VisibilityDtoPagedResponse GetVisibilities(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<VisibilityDtoIEnumerablePagedResponse> localVarResponse = GetVisibilitiesWithHttpInfo(pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<VisibilityDtoPagedResponse> localVarResponse = GetVisibilitiesWithHttpInfo(pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves all visibilities. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of VisibilityDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<VisibilityDtoIEnumerablePagedResponse> GetVisibilitiesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of VisibilityDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<VisibilityDtoPagedResponse> GetVisibilitiesWithHttpInfo(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -464,13 +464,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -478,15 +478,15 @@ namespace Org.OpenAPITools.Api if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "VisibilityApi.GetVisibilities"; @@ -499,7 +499,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<VisibilityDtoIEnumerablePagedResponse>("/api/v2/visibilities", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<VisibilityDtoPagedResponse>("/api/v2/visibilities", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVisibilities", localVarResponse); @@ -515,33 +515,33 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves all visibilities. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of VisibilityDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<VisibilityDtoIEnumerablePagedResponse> GetVisibilitiesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of VisibilityDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<VisibilityDtoPagedResponse> GetVisibilitiesAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<VisibilityDtoIEnumerablePagedResponse> localVarResponse = await GetVisibilitiesWithHttpInfoAsync(pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<VisibilityDtoPagedResponse> localVarResponse = await GetVisibilitiesWithHttpInfoAsync(pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves all visibilities. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (VisibilityDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<VisibilityDtoIEnumerablePagedResponse>> GetVisibilitiesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (VisibilityDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<VisibilityDtoPagedResponse>> GetVisibilitiesWithHttpInfoAsync(int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -552,13 +552,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -566,15 +566,15 @@ namespace Org.OpenAPITools.Api if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "VisibilityApi.GetVisibilities"; @@ -587,7 +587,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<VisibilityDtoIEnumerablePagedResponse>("/api/v2/visibilities", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<VisibilityDtoPagedResponse>("/api/v2/visibilities", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -604,26 +604,26 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a visibility by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="visibilityId">The ID of the visibility.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>VisibilityDtoResponse</returns> public VisibilityDtoResponse GetVisibility(Guid visibilityId, int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<VisibilityDtoResponse> localVarResponse = GetVisibilityWithHttpInfo(visibilityId); + Coscine.ApiClient.Client.ApiResponse<VisibilityDtoResponse> localVarResponse = GetVisibilityWithHttpInfo(visibilityId); return localVarResponse.Data; } /// <summary> /// Retrieves a visibility by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="visibilityId">The ID of the visibility.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of VisibilityDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<VisibilityDtoResponse> GetVisibilityWithHttpInfo(Guid visibilityId, int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<VisibilityDtoResponse> GetVisibilityWithHttpInfo(Guid visibilityId, int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -634,19 +634,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("visibilityId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(visibilityId)); // path parameter + localVarRequestOptions.PathParameters.Add("visibilityId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(visibilityId)); // path parameter localVarRequestOptions.Operation = "VisibilityApi.GetVisibility"; localVarRequestOptions.OperationIndex = operationIndex; @@ -674,29 +674,29 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a visibility by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="visibilityId">The ID of the visibility.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of VisibilityDtoResponse</returns> public async System.Threading.Tasks.Task<VisibilityDtoResponse> GetVisibilityAsync(Guid visibilityId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<VisibilityDtoResponse> localVarResponse = await GetVisibilityWithHttpInfoAsync(visibilityId, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<VisibilityDtoResponse> localVarResponse = await GetVisibilityWithHttpInfoAsync(visibilityId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves a visibility by ID. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="visibilityId">The ID of the visibility.</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (VisibilityDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<VisibilityDtoResponse>> GetVisibilityWithHttpInfoAsync(Guid visibilityId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<VisibilityDtoResponse>> GetVisibilityWithHttpInfoAsync(Guid visibilityId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -707,19 +707,19 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("visibilityId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(visibilityId)); // path parameter + localVarRequestOptions.PathParameters.Add("visibilityId", Coscine.ApiClient.Client.ClientUtils.ParameterToString(visibilityId)); // path parameter localVarRequestOptions.Operation = "VisibilityApi.GetVisibility"; localVarRequestOptions.OperationIndex = operationIndex; diff --git a/src/Org.OpenAPITools/Api/VocabularyApi.cs b/src/Coscine.ApiClient/Api/VocabularyApi.cs similarity index 62% rename from src/Org.OpenAPITools/Api/VocabularyApi.cs rename to src/Coscine.ApiClient/Api/VocabularyApi.cs index e467732..c65bc13 100644 --- a/src/Org.OpenAPITools/Api/VocabularyApi.cs +++ b/src/Coscine.ApiClient/Api/VocabularyApi.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,10 +15,10 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Org.OpenAPITools.Client; -using Org.OpenAPITools.Model; +using Coscine.ApiClient.Client; +using Coscine.ApiClient.Model; -namespace Org.OpenAPITools.Api +namespace Coscine.ApiClient.Api { /// <summary> @@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> void ApiV2VocabulariesOptions(int operationIndex = 0); @@ -41,22 +41,22 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> ApiResponse<Object> ApiV2VocabulariesOptionsWithHttpInfo(int operationIndex = 0); /// <summary> /// Retrieves top-level instances from vocabularies. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>VocabularyDtoIEnumerablePagedResponse</returns> - VocabularyDtoIEnumerablePagedResponse GetVocabularies(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>VocabularyDtoPagedResponse</returns> + VocabularyDtoPagedResponse GetVocabularies(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves top-level instances from vocabularies. @@ -64,22 +64,22 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of VocabularyDtoIEnumerablePagedResponse</returns> - ApiResponse<VocabularyDtoIEnumerablePagedResponse> GetVocabulariesWithHttpInfo(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of VocabularyDtoPagedResponse</returns> + ApiResponse<VocabularyDtoPagedResponse> GetVocabulariesWithHttpInfo(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves a single instance from a vocabulary. /// </summary> /// <remarks> /// Could be a top-level instance, or an intermediate-level instance from a vocabulary. /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="instance">The URI of the vocabulary instance to retrieve.</param> /// <param name="acceptLanguage">The preferred language for the instance data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -92,7 +92,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// Could be a top-level instance, or an intermediate-level instance from a vocabulary. /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="instance">The URI of the vocabulary instance to retrieve.</param> /// <param name="acceptLanguage">The preferred language for the instance data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -101,7 +101,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves vocabulary instances. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="varClass"></param> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> @@ -109,8 +109,8 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>VocabularyInstanceDtoIEnumerablePagedResponse</returns> - VocabularyInstanceDtoIEnumerablePagedResponse GetVocabularyInstances(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>VocabularyInstanceDtoPagedResponse</returns> + VocabularyInstanceDtoPagedResponse GetVocabularyInstances(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); /// <summary> /// Retrieves vocabulary instances. @@ -118,7 +118,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="varClass"></param> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> @@ -126,8 +126,8 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of VocabularyInstanceDtoIEnumerablePagedResponse</returns> - ApiResponse<VocabularyInstanceDtoIEnumerablePagedResponse> GetVocabularyInstancesWithHttpInfo(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); + /// <returns>ApiResponse of VocabularyInstanceDtoPagedResponse</returns> + ApiResponse<VocabularyInstanceDtoPagedResponse> GetVocabularyInstancesWithHttpInfo(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0); #endregion Synchronous Operations } @@ -143,7 +143,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -155,7 +155,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> @@ -166,7 +166,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> @@ -174,8 +174,8 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of VocabularyDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<VocabularyDtoIEnumerablePagedResponse> GetVocabulariesAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of VocabularyDtoPagedResponse</returns> + System.Threading.Tasks.Task<VocabularyDtoPagedResponse> GetVocabulariesAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves top-level instances from vocabularies. @@ -183,7 +183,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> @@ -191,15 +191,15 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (VocabularyDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<VocabularyDtoIEnumerablePagedResponse>> GetVocabulariesWithHttpInfoAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (VocabularyDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<VocabularyDtoPagedResponse>> GetVocabulariesWithHttpInfoAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves a single instance from a vocabulary. /// </summary> /// <remarks> /// Could be a top-level instance, or an intermediate-level instance from a vocabulary. /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="instance">The URI of the vocabulary instance to retrieve.</param> /// <param name="acceptLanguage">The preferred language for the instance data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -213,7 +213,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// Could be a top-level instance, or an intermediate-level instance from a vocabulary. /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="instance">The URI of the vocabulary instance to retrieve.</param> /// <param name="acceptLanguage">The preferred language for the instance data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -226,7 +226,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="varClass"></param> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> @@ -235,8 +235,8 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of VocabularyInstanceDtoIEnumerablePagedResponse</returns> - System.Threading.Tasks.Task<VocabularyInstanceDtoIEnumerablePagedResponse> GetVocabularyInstancesAsync(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of VocabularyInstanceDtoPagedResponse</returns> + System.Threading.Tasks.Task<VocabularyInstanceDtoPagedResponse> GetVocabularyInstancesAsync(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// <summary> /// Retrieves vocabulary instances. @@ -244,7 +244,7 @@ namespace Org.OpenAPITools.Api /// <remarks> /// /// </remarks> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="varClass"></param> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> @@ -253,8 +253,8 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (VocabularyInstanceDtoIEnumerablePagedResponse)</returns> - System.Threading.Tasks.Task<ApiResponse<VocabularyInstanceDtoIEnumerablePagedResponse>> GetVocabularyInstancesWithHttpInfoAsync(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// <returns>Task of ApiResponse (VocabularyInstanceDtoPagedResponse)</returns> + System.Threading.Tasks.Task<ApiResponse<VocabularyInstanceDtoPagedResponse>> GetVocabularyInstancesWithHttpInfoAsync(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -271,7 +271,7 @@ namespace Org.OpenAPITools.Api /// </summary> public partial class VocabularyApi : IVocabularyApi { - private Org.OpenAPITools.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Coscine.ApiClient.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// <summary> /// Initializes a new instance of the <see cref="VocabularyApi"/> class. @@ -287,13 +287,13 @@ namespace Org.OpenAPITools.Api /// <returns></returns> public VocabularyApi(string basePath) { - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, - new Org.OpenAPITools.Client.Configuration { BasePath = basePath } + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, + new Coscine.ApiClient.Client.Configuration { BasePath = basePath } ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -302,17 +302,17 @@ namespace Org.OpenAPITools.Api /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> - public VocabularyApi(Org.OpenAPITools.Client.Configuration configuration) + public VocabularyApi(Coscine.ApiClient.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations( - Org.OpenAPITools.Client.GlobalConfiguration.Instance, + this.Configuration = Coscine.ApiClient.Client.Configuration.MergeConfigurations( + Coscine.ApiClient.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Org.OpenAPITools.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.Client = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Coscine.ApiClient.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> @@ -322,7 +322,7 @@ namespace Org.OpenAPITools.Api /// <param name="client">The client interface for synchronous API access.</param> /// <param name="asyncClient">The client interface for asynchronous API access.</param> /// <param name="configuration">The configuration object.</param> - public VocabularyApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public VocabularyApi(Coscine.ApiClient.Client.ISynchronousClient client, Coscine.ApiClient.Client.IAsynchronousClient asyncClient, Coscine.ApiClient.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -331,18 +331,18 @@ namespace Org.OpenAPITools.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Org.OpenAPITools.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Coscine.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// <summary> /// The client for accessing this underlying API asynchronously. /// </summary> - public Org.OpenAPITools.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Coscine.ApiClient.Client.IAsynchronousClient AsynchronousClient { get; set; } /// <summary> /// The client for accessing this underlying API synchronously. /// </summary> - public Org.OpenAPITools.Client.ISynchronousClient Client { get; set; } + public Coscine.ApiClient.Client.ISynchronousClient Client { get; set; } /// <summary> /// Gets the base path of the API client. @@ -357,12 +357,12 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// </summary> /// <value>An instance of the Configuration</value> - public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } + public Coscine.ApiClient.Client.IReadableConfiguration Configuration { get; set; } /// <summary> /// Provides a factory method hook for the creation of exceptions. /// </summary> - public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory + public Coscine.ApiClient.Client.ExceptionFactory ExceptionFactory { get { @@ -378,7 +378,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns></returns> public void ApiV2VocabulariesOptions(int operationIndex = 0) @@ -389,12 +389,12 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of Object(void)</returns> - public Org.OpenAPITools.Client.ApiResponse<Object> ApiV2VocabulariesOptionsWithHttpInfo(int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<Object> ApiV2VocabulariesOptionsWithHttpInfo(int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -403,13 +403,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -442,7 +442,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of void</returns> @@ -454,14 +454,14 @@ namespace Org.OpenAPITools.Api /// <summary> /// Responds with the HTTP methods allowed for the endpoint. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<Object>> ApiV2VocabulariesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<Object>> ApiV2VocabulariesOptionsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -470,13 +470,13 @@ namespace Org.OpenAPITools.Api string[] _accepts = new string[] { }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -510,34 +510,34 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves top-level instances from vocabularies. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>VocabularyDtoIEnumerablePagedResponse</returns> - public VocabularyDtoIEnumerablePagedResponse GetVocabularies(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>VocabularyDtoPagedResponse</returns> + public VocabularyDtoPagedResponse GetVocabularies(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<VocabularyDtoIEnumerablePagedResponse> localVarResponse = GetVocabulariesWithHttpInfo(searchTerm, language, pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<VocabularyDtoPagedResponse> localVarResponse = GetVocabulariesWithHttpInfo(searchTerm, language, pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves top-level instances from vocabularies. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of VocabularyDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<VocabularyDtoIEnumerablePagedResponse> GetVocabulariesWithHttpInfo(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of VocabularyDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<VocabularyDtoPagedResponse> GetVocabulariesWithHttpInfo(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -548,13 +548,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -562,23 +562,23 @@ namespace Org.OpenAPITools.Api if (searchTerm != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); } if (language != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Language", language)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Language", language)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "VocabularyApi.GetVocabularies"; @@ -591,7 +591,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<VocabularyDtoIEnumerablePagedResponse>("/api/v2/vocabularies", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<VocabularyDtoPagedResponse>("/api/v2/vocabularies", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVocabularies", localVarResponse); @@ -607,7 +607,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves top-level instances from vocabularies. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> @@ -615,17 +615,17 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of VocabularyDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<VocabularyDtoIEnumerablePagedResponse> GetVocabulariesAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of VocabularyDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<VocabularyDtoPagedResponse> GetVocabulariesAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<VocabularyDtoIEnumerablePagedResponse> localVarResponse = await GetVocabulariesWithHttpInfoAsync(searchTerm, language, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<VocabularyDtoPagedResponse> localVarResponse = await GetVocabulariesWithHttpInfoAsync(searchTerm, language, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves top-level instances from vocabularies. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> /// <param name="pageNumber"> (optional)</param> @@ -633,11 +633,11 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (VocabularyDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<VocabularyDtoIEnumerablePagedResponse>> GetVocabulariesWithHttpInfoAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (VocabularyDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<VocabularyDtoPagedResponse>> GetVocabulariesWithHttpInfoAsync(string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -648,13 +648,13 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -662,23 +662,23 @@ namespace Org.OpenAPITools.Api if (searchTerm != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); } if (language != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Language", language)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Language", language)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "VocabularyApi.GetVocabularies"; @@ -691,7 +691,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<VocabularyDtoIEnumerablePagedResponse>("/api/v2/vocabularies", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<VocabularyDtoPagedResponse>("/api/v2/vocabularies", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -708,34 +708,34 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a single instance from a vocabulary. Could be a top-level instance, or an intermediate-level instance from a vocabulary. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="instance">The URI of the vocabulary instance to retrieve.</param> /// <param name="acceptLanguage">The preferred language for the instance data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>VocabularyInstanceDtoResponse</returns> public VocabularyInstanceDtoResponse GetVocabularyInstance(string instance, AcceptedLanguage? acceptLanguage = default(AcceptedLanguage?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<VocabularyInstanceDtoResponse> localVarResponse = GetVocabularyInstanceWithHttpInfo(instance, acceptLanguage); + Coscine.ApiClient.Client.ApiResponse<VocabularyInstanceDtoResponse> localVarResponse = GetVocabularyInstanceWithHttpInfo(instance, acceptLanguage); return localVarResponse.Data; } /// <summary> /// Retrieves a single instance from a vocabulary. Could be a top-level instance, or an intermediate-level instance from a vocabulary. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="instance">The URI of the vocabulary instance to retrieve.</param> /// <param name="acceptLanguage">The preferred language for the instance data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <returns>ApiResponse of VocabularyInstanceDtoResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<VocabularyInstanceDtoResponse> GetVocabularyInstanceWithHttpInfo(string instance, AcceptedLanguage? acceptLanguage = default(AcceptedLanguage?), int operationIndex = 0) + public Coscine.ApiClient.Client.ApiResponse<VocabularyInstanceDtoResponse> GetVocabularyInstanceWithHttpInfo(string instance, AcceptedLanguage? acceptLanguage = default(AcceptedLanguage?), int operationIndex = 0) { // verify the required parameter 'instance' is set if (instance == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'instance' when calling VocabularyApi->GetVocabularyInstance"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'instance' when calling VocabularyApi->GetVocabularyInstance"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -746,22 +746,22 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("instance", Org.OpenAPITools.Client.ClientUtils.ParameterToString(instance)); // path parameter + localVarRequestOptions.PathParameters.Add("instance", Coscine.ApiClient.Client.ClientUtils.ParameterToString(instance)); // path parameter if (acceptLanguage != null) { - localVarRequestOptions.HeaderParameters.Add("Accept-Language", Org.OpenAPITools.Client.ClientUtils.ParameterToString(acceptLanguage)); // header parameter + localVarRequestOptions.HeaderParameters.Add("Accept-Language", Coscine.ApiClient.Client.ClientUtils.ParameterToString(acceptLanguage)); // header parameter } localVarRequestOptions.Operation = "VocabularyApi.GetVocabularyInstance"; @@ -790,7 +790,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves a single instance from a vocabulary. Could be a top-level instance, or an intermediate-level instance from a vocabulary. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="instance">The URI of the vocabulary instance to retrieve.</param> /// <param name="acceptLanguage">The preferred language for the instance data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> @@ -798,29 +798,29 @@ namespace Org.OpenAPITools.Api /// <returns>Task of VocabularyInstanceDtoResponse</returns> public async System.Threading.Tasks.Task<VocabularyInstanceDtoResponse> GetVocabularyInstanceAsync(string instance, AcceptedLanguage? acceptLanguage = default(AcceptedLanguage?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<VocabularyInstanceDtoResponse> localVarResponse = await GetVocabularyInstanceWithHttpInfoAsync(instance, acceptLanguage, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<VocabularyInstanceDtoResponse> localVarResponse = await GetVocabularyInstanceWithHttpInfoAsync(instance, acceptLanguage, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves a single instance from a vocabulary. Could be a top-level instance, or an intermediate-level instance from a vocabulary. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="instance">The URI of the vocabulary instance to retrieve.</param> /// <param name="acceptLanguage">The preferred language for the instance data. (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ApiResponse (VocabularyInstanceDtoResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<VocabularyInstanceDtoResponse>> GetVocabularyInstanceWithHttpInfoAsync(string instance, AcceptedLanguage? acceptLanguage = default(AcceptedLanguage?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<VocabularyInstanceDtoResponse>> GetVocabularyInstanceWithHttpInfoAsync(string instance, AcceptedLanguage? acceptLanguage = default(AcceptedLanguage?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'instance' is set if (instance == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'instance' when calling VocabularyApi->GetVocabularyInstance"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'instance' when calling VocabularyApi->GetVocabularyInstance"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -831,22 +831,22 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("instance", Org.OpenAPITools.Client.ClientUtils.ParameterToString(instance)); // path parameter + localVarRequestOptions.PathParameters.Add("instance", Coscine.ApiClient.Client.ClientUtils.ParameterToString(instance)); // path parameter if (acceptLanguage != null) { - localVarRequestOptions.HeaderParameters.Add("Accept-Language", Org.OpenAPITools.Client.ClientUtils.ParameterToString(acceptLanguage)); // header parameter + localVarRequestOptions.HeaderParameters.Add("Accept-Language", Coscine.ApiClient.Client.ClientUtils.ParameterToString(acceptLanguage)); // header parameter } localVarRequestOptions.Operation = "VocabularyApi.GetVocabularyInstance"; @@ -876,7 +876,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves vocabulary instances. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="varClass"></param> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> @@ -884,17 +884,17 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>VocabularyInstanceDtoIEnumerablePagedResponse</returns> - public VocabularyInstanceDtoIEnumerablePagedResponse GetVocabularyInstances(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>VocabularyInstanceDtoPagedResponse</returns> + public VocabularyInstanceDtoPagedResponse GetVocabularyInstances(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { - Org.OpenAPITools.Client.ApiResponse<VocabularyInstanceDtoIEnumerablePagedResponse> localVarResponse = GetVocabularyInstancesWithHttpInfo(varClass, searchTerm, language, pageNumber, pageSize, orderBy); + Coscine.ApiClient.Client.ApiResponse<VocabularyInstanceDtoPagedResponse> localVarResponse = GetVocabularyInstancesWithHttpInfo(varClass, searchTerm, language, pageNumber, pageSize, orderBy); return localVarResponse.Data; } /// <summary> /// Retrieves vocabulary instances. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="varClass"></param> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> @@ -902,16 +902,16 @@ namespace Org.OpenAPITools.Api /// <param name="pageSize"> (optional)</param> /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> - /// <returns>ApiResponse of VocabularyInstanceDtoIEnumerablePagedResponse</returns> - public Org.OpenAPITools.Client.ApiResponse<VocabularyInstanceDtoIEnumerablePagedResponse> GetVocabularyInstancesWithHttpInfo(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) + /// <returns>ApiResponse of VocabularyInstanceDtoPagedResponse</returns> + public Coscine.ApiClient.Client.ApiResponse<VocabularyInstanceDtoPagedResponse> GetVocabularyInstancesWithHttpInfo(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0) { // verify the required parameter 'varClass' is set if (varClass == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'varClass' when calling VocabularyApi->GetVocabularyInstances"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'varClass' when calling VocabularyApi->GetVocabularyInstances"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -922,38 +922,38 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Class", varClass)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Class", varClass)); if (searchTerm != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); } if (language != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Language", language)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Language", language)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "VocabularyApi.GetVocabularyInstances"; @@ -966,7 +966,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get<VocabularyInstanceDtoIEnumerablePagedResponse>("/api/v2/vocabularies/instances", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get<VocabularyInstanceDtoPagedResponse>("/api/v2/vocabularies/instances", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetVocabularyInstances", localVarResponse); @@ -982,7 +982,7 @@ namespace Org.OpenAPITools.Api /// <summary> /// Retrieves vocabulary instances. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="varClass"></param> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> @@ -991,17 +991,17 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of VocabularyInstanceDtoIEnumerablePagedResponse</returns> - public async System.Threading.Tasks.Task<VocabularyInstanceDtoIEnumerablePagedResponse> GetVocabularyInstancesAsync(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of VocabularyInstanceDtoPagedResponse</returns> + public async System.Threading.Tasks.Task<VocabularyInstanceDtoPagedResponse> GetVocabularyInstancesAsync(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse<VocabularyInstanceDtoIEnumerablePagedResponse> localVarResponse = await GetVocabularyInstancesWithHttpInfoAsync(varClass, searchTerm, language, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); + Coscine.ApiClient.Client.ApiResponse<VocabularyInstanceDtoPagedResponse> localVarResponse = await GetVocabularyInstancesWithHttpInfoAsync(varClass, searchTerm, language, pageNumber, pageSize, orderBy, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// <summary> /// Retrieves vocabulary instances. /// </summary> - /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> + /// <exception cref="Coscine.ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="varClass"></param> /// <param name="searchTerm"> (optional)</param> /// <param name="language"> (optional)</param> @@ -1010,17 +1010,17 @@ namespace Org.OpenAPITools.Api /// <param name="orderBy"> (optional)</param> /// <param name="operationIndex">Index associated with the operation.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> - /// <returns>Task of ApiResponse (VocabularyInstanceDtoIEnumerablePagedResponse)</returns> - public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<VocabularyInstanceDtoIEnumerablePagedResponse>> GetVocabularyInstancesWithHttpInfoAsync(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// <returns>Task of ApiResponse (VocabularyInstanceDtoPagedResponse)</returns> + public async System.Threading.Tasks.Task<Coscine.ApiClient.Client.ApiResponse<VocabularyInstanceDtoPagedResponse>> GetVocabularyInstancesWithHttpInfoAsync(string varClass, string? searchTerm = default(string?), AcceptedLanguage? language = default(AcceptedLanguage?), int? pageNumber = default(int?), int? pageSize = default(int?), string? orderBy = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'varClass' is set if (varClass == null) { - throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'varClass' when calling VocabularyApi->GetVocabularyInstances"); + throw new Coscine.ApiClient.Client.ApiException(400, "Missing required parameter 'varClass' when calling VocabularyApi->GetVocabularyInstances"); } - Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); + Coscine.ApiClient.Client.RequestOptions localVarRequestOptions = new Coscine.ApiClient.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1031,38 +1031,38 @@ namespace Org.OpenAPITools.Api "text/json" }; - var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Coscine.ApiClient.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Coscine.ApiClient.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Class", varClass)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Class", varClass)); if (searchTerm != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "SearchTerm", searchTerm)); } if (language != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "Language", language)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "Language", language)); } if (pageNumber != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageNumber", pageNumber)); } if (pageSize != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "PageSize", pageSize)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(Coscine.ApiClient.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } localVarRequestOptions.Operation = "VocabularyApi.GetVocabularyInstances"; @@ -1075,7 +1075,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync<VocabularyInstanceDtoIEnumerablePagedResponse>("/api/v2/vocabularies/instances", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync<VocabularyInstanceDtoPagedResponse>("/api/v2/vocabularies/instances", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Org.OpenAPITools/Client/ApiClient.cs b/src/Coscine.ApiClient/Client/ApiClient.cs similarity index 98% rename from src/Org.OpenAPITools/Client/ApiClient.cs rename to src/Coscine.ApiClient/Client/ApiClient.cs index 5881c3d..1eeed7f 100644 --- a/src/Org.OpenAPITools/Client/ApiClient.cs +++ b/src/Coscine.ApiClient/Client/ApiClient.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -31,7 +31,7 @@ using RestSharp.Serializers; using RestSharpMethod = RestSharp.Method; using Polly; -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// Allows RestSharp to Serialize/Deserialize JSON using our custom logic, but only when ContentType is JSON. @@ -70,10 +70,10 @@ namespace Org.OpenAPITools.Client /// <returns>A JSON string.</returns> public string Serialize(object obj) { - if (obj != null && obj is Org.OpenAPITools.Model.AbstractOpenAPISchema) + if (obj != null && obj is Coscine.ApiClient.Model.AbstractOpenAPISchema) { // the object to be serialized is an oneOf/anyOf schema - return ((Org.OpenAPITools.Model.AbstractOpenAPISchema)obj).ToJson(); + return ((Coscine.ApiClient.Model.AbstractOpenAPISchema)obj).ToJson(); } else { @@ -204,7 +204,7 @@ namespace Org.OpenAPITools.Client /// </summary> public ApiClient() { - _baseUrl = Org.OpenAPITools.Client.GlobalConfiguration.Instance.BasePath; + _baseUrl = Coscine.ApiClient.Client.GlobalConfiguration.Instance.BasePath; } /// <summary> @@ -476,7 +476,7 @@ namespace Org.OpenAPITools.Client } // if the response type is oneOf/anyOf, call FromJSON to deserialize the data - if (typeof(Org.OpenAPITools.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) + if (typeof(Coscine.ApiClient.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) { try { @@ -572,7 +572,7 @@ namespace Org.OpenAPITools.Client } // if the response type is oneOf/anyOf, call FromJSON to deserialize the data - if (typeof(Org.OpenAPITools.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) + if (typeof(Coscine.ApiClient.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) { response.Data = (T) typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content }); } diff --git a/src/Org.OpenAPITools/Client/ApiException.cs b/src/Coscine.ApiClient/Client/ApiException.cs similarity index 96% rename from src/Org.OpenAPITools/Client/ApiException.cs rename to src/Coscine.ApiClient/Client/ApiException.cs index ef99c26..76cb339 100644 --- a/src/Org.OpenAPITools/Client/ApiException.cs +++ b/src/Coscine.ApiClient/Client/ApiException.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -11,7 +11,7 @@ using System; -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// API Exception diff --git a/src/Org.OpenAPITools/Client/ApiResponse.cs b/src/Coscine.ApiClient/Client/ApiResponse.cs similarity index 98% rename from src/Org.OpenAPITools/Client/ApiResponse.cs rename to src/Coscine.ApiClient/Client/ApiResponse.cs index da73c09..29a3158 100644 --- a/src/Org.OpenAPITools/Client/ApiResponse.cs +++ b/src/Coscine.ApiClient/Client/ApiResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -13,7 +13,7 @@ using System; using System.Collections.Generic; using System.Net; -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// Provides a non-generic contract for the ApiResponse wrapper. diff --git a/src/Org.OpenAPITools/Client/ClientUtils.cs b/src/Coscine.ApiClient/Client/ClientUtils.cs similarity index 99% rename from src/Org.OpenAPITools/Client/ClientUtils.cs rename to src/Coscine.ApiClient/Client/ClientUtils.cs index cffcaec..a6dbaed 100644 --- a/src/Org.OpenAPITools/Client/ClientUtils.cs +++ b/src/Coscine.ApiClient/Client/ClientUtils.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -19,7 +19,7 @@ using System.Runtime.Serialization; using System.Text; using System.Text.RegularExpressions; -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// Utility functions providing some benefit to API client consumers. diff --git a/src/Org.OpenAPITools/Client/Configuration.cs b/src/Coscine.ApiClient/Client/Configuration.cs similarity index 98% rename from src/Org.OpenAPITools/Client/Configuration.cs rename to src/Coscine.ApiClient/Client/Configuration.cs index 3b64d2a..9d2ad3d 100644 --- a/src/Org.OpenAPITools/Client/Configuration.cs +++ b/src/Coscine.ApiClient/Client/Configuration.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -21,7 +21,7 @@ using System.Text; using System.Net.Http; using System.Net.Security; -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// Represents a set of configuration settings @@ -119,7 +119,7 @@ namespace Org.OpenAPITools.Client { Proxy = null; UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/1.0.0/csharp"); - BasePath = "http://localhost:7206/coscine"; + BasePath = "http://localhost"; DefaultHeaders = new ConcurrentDictionary<string, string>(); ApiKey = new ConcurrentDictionary<string, string>(); ApiKeyPrefix = new ConcurrentDictionary<string, string>(); @@ -127,7 +127,7 @@ namespace Org.OpenAPITools.Client { { new Dictionary<string, object> { - {"url", "http://localhost:7206/coscine"}, + {"url", ""}, {"description", "No description provided"}, } } @@ -148,7 +148,7 @@ namespace Org.OpenAPITools.Client IDictionary<string, string> defaultHeaders, IDictionary<string, string> apiKey, IDictionary<string, string> apiKeyPrefix, - string basePath = "http://localhost:7206/coscine") : this() + string basePath = "http://localhost") : this() { if (string.IsNullOrWhiteSpace(basePath)) throw new ArgumentException("The provided basePath is invalid.", "basePath"); @@ -537,7 +537,7 @@ namespace Org.OpenAPITools.Client /// </summary> public static string ToDebugReport() { - string report = "C# SDK (Org.OpenAPITools) Debug Report:\n"; + string report = "C# SDK (Coscine.ApiClient) Debug Report:\n"; report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; report += " Version of the API: 2.0\n"; diff --git a/src/Org.OpenAPITools/Client/ExceptionFactory.cs b/src/Coscine.ApiClient/Client/ExceptionFactory.cs similarity index 90% rename from src/Org.OpenAPITools/Client/ExceptionFactory.cs rename to src/Coscine.ApiClient/Client/ExceptionFactory.cs index 7e075d2..c76dc3d 100644 --- a/src/Org.OpenAPITools/Client/ExceptionFactory.cs +++ b/src/Coscine.ApiClient/Client/ExceptionFactory.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -11,7 +11,7 @@ using System; -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// A delegate to ExceptionFactory method diff --git a/src/Org.OpenAPITools/Client/GlobalConfiguration.cs b/src/Coscine.ApiClient/Client/GlobalConfiguration.cs similarity index 96% rename from src/Org.OpenAPITools/Client/GlobalConfiguration.cs rename to src/Coscine.ApiClient/Client/GlobalConfiguration.cs index 35a04e6..03df1d5 100644 --- a/src/Org.OpenAPITools/Client/GlobalConfiguration.cs +++ b/src/Coscine.ApiClient/Client/GlobalConfiguration.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -11,7 +11,7 @@ using System.Collections.Generic; -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// <see cref="GlobalConfiguration"/> provides a compile-time extension point for globally configuring diff --git a/src/Org.OpenAPITools/Client/HttpMethod.cs b/src/Coscine.ApiClient/Client/HttpMethod.cs similarity index 92% rename from src/Org.OpenAPITools/Client/HttpMethod.cs rename to src/Coscine.ApiClient/Client/HttpMethod.cs index 0055579..bbaff19 100644 --- a/src/Org.OpenAPITools/Client/HttpMethod.cs +++ b/src/Coscine.ApiClient/Client/HttpMethod.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -9,7 +9,7 @@ */ -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// Http methods supported by swagger diff --git a/src/Org.OpenAPITools/Client/IApiAccessor.cs b/src/Coscine.ApiClient/Client/IApiAccessor.cs similarity index 93% rename from src/Org.OpenAPITools/Client/IApiAccessor.cs rename to src/Coscine.ApiClient/Client/IApiAccessor.cs index 79b96d8..2e2b236 100644 --- a/src/Org.OpenAPITools/Client/IApiAccessor.cs +++ b/src/Coscine.ApiClient/Client/IApiAccessor.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -11,7 +11,7 @@ using System; -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// Represents configuration aspects required to interact with the API endpoints. diff --git a/src/Org.OpenAPITools/Client/IAsynchronousClient.cs b/src/Coscine.ApiClient/Client/IAsynchronousClient.cs similarity index 98% rename from src/Org.OpenAPITools/Client/IAsynchronousClient.cs rename to src/Coscine.ApiClient/Client/IAsynchronousClient.cs index f03c6de..6a670af 100644 --- a/src/Org.OpenAPITools/Client/IAsynchronousClient.cs +++ b/src/Coscine.ApiClient/Client/IAsynchronousClient.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -12,7 +12,7 @@ using System; using System.Threading.Tasks; -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// Contract for Asynchronous RESTful API interactions. diff --git a/src/Org.OpenAPITools/Client/IReadableConfiguration.cs b/src/Coscine.ApiClient/Client/IReadableConfiguration.cs similarity index 98% rename from src/Org.OpenAPITools/Client/IReadableConfiguration.cs rename to src/Coscine.ApiClient/Client/IReadableConfiguration.cs index 6bb53ec..e7a2928 100644 --- a/src/Org.OpenAPITools/Client/IReadableConfiguration.cs +++ b/src/Coscine.ApiClient/Client/IReadableConfiguration.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -15,7 +15,7 @@ using System.Net; using System.Net.Security; using System.Security.Cryptography.X509Certificates; -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// Represents a readable-only configuration contract. diff --git a/src/Org.OpenAPITools/Client/ISynchronousClient.cs b/src/Coscine.ApiClient/Client/ISynchronousClient.cs similarity index 98% rename from src/Org.OpenAPITools/Client/ISynchronousClient.cs rename to src/Coscine.ApiClient/Client/ISynchronousClient.cs index 0e4d7cc..1a494b8 100644 --- a/src/Org.OpenAPITools/Client/ISynchronousClient.cs +++ b/src/Coscine.ApiClient/Client/ISynchronousClient.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -12,7 +12,7 @@ using System; using System.IO; -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// Contract for Synchronous RESTful API interactions. diff --git a/src/Org.OpenAPITools/Client/Multimap.cs b/src/Coscine.ApiClient/Client/Multimap.cs similarity index 99% rename from src/Org.OpenAPITools/Client/Multimap.cs rename to src/Coscine.ApiClient/Client/Multimap.cs index 382c8fc..240b160 100644 --- a/src/Org.OpenAPITools/Client/Multimap.cs +++ b/src/Coscine.ApiClient/Client/Multimap.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -13,7 +13,7 @@ using System; using System.Collections; using System.Collections.Generic; -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// A dictionary in which one key has many associated values. diff --git a/src/Org.OpenAPITools/Client/OpenAPIDateConverter.cs b/src/Coscine.ApiClient/Client/OpenAPIDateConverter.cs similarity index 92% rename from src/Org.OpenAPITools/Client/OpenAPIDateConverter.cs rename to src/Coscine.ApiClient/Client/OpenAPIDateConverter.cs index c2a4509..f33966e 100644 --- a/src/Org.OpenAPITools/Client/OpenAPIDateConverter.cs +++ b/src/Coscine.ApiClient/Client/OpenAPIDateConverter.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -10,7 +10,7 @@ using Newtonsoft.Json.Converters; -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// Formatter for 'date' openapi formats ss defined by full-date - RFC3339 diff --git a/src/Org.OpenAPITools/Client/RequestOptions.cs b/src/Coscine.ApiClient/Client/RequestOptions.cs similarity index 97% rename from src/Org.OpenAPITools/Client/RequestOptions.cs rename to src/Coscine.ApiClient/Client/RequestOptions.cs index f85b281..d3b3a64 100644 --- a/src/Org.OpenAPITools/Client/RequestOptions.cs +++ b/src/Coscine.ApiClient/Client/RequestOptions.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -14,7 +14,7 @@ using System.Collections.Generic; using System.IO; using System.Net; -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// A container for generalized request inputs. This type allows consumers to extend the request functionality diff --git a/src/Org.OpenAPITools/Client/RetryConfiguration.cs b/src/Coscine.ApiClient/Client/RetryConfiguration.cs similarity index 92% rename from src/Org.OpenAPITools/Client/RetryConfiguration.cs rename to src/Coscine.ApiClient/Client/RetryConfiguration.cs index 8e14492..2548aea 100644 --- a/src/Org.OpenAPITools/Client/RetryConfiguration.cs +++ b/src/Coscine.ApiClient/Client/RetryConfiguration.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -12,7 +12,7 @@ using Polly; using RestSharp; -namespace Org.OpenAPITools.Client +namespace Coscine.ApiClient.Client { /// <summary> /// Configuration class to set the polly retry policies to be applied to the requests. diff --git a/src/Org.OpenAPITools/Org.OpenAPITools.csproj b/src/Coscine.ApiClient/Coscine.ApiClient.csproj similarity index 63% rename from src/Org.OpenAPITools/Org.OpenAPITools.csproj rename to src/Coscine.ApiClient/Coscine.ApiClient.csproj index ae09870..f3289a3 100644 --- a/src/Org.OpenAPITools/Org.OpenAPITools.csproj +++ b/src/Coscine.ApiClient/Coscine.ApiClient.csproj @@ -3,17 +3,17 @@ <PropertyGroup> <GenerateAssemblyInfo>false</GenerateAssemblyInfo><!-- setting GenerateAssemblyInfo to false causes this bug https://github.com/dotnet/project-system/issues/3934 --> <TargetFramework>net7.0</TargetFramework> - <AssemblyName>Org.OpenAPITools</AssemblyName> - <PackageId>Org.OpenAPITools</PackageId> + <AssemblyName>Coscine.ApiClient</AssemblyName> + <PackageId>Coscine.ApiClient</PackageId> <OutputType>Library</OutputType> - <Authors>OpenAPI</Authors> - <Company>OpenAPI</Company> - <AssemblyTitle>OpenAPI Library</AssemblyTitle> - <Description>A library generated from a OpenAPI doc</Description> - <Copyright>No Copyright</Copyright> - <RootNamespace>Org.OpenAPITools</RootNamespace> - <Version>1.1.0</Version> - <DocumentationFile>bin\$(Configuration)\$(TargetFramework)\Org.OpenAPITools.xml</DocumentationFile> + <Authors>RWTH Aachen University</Authors> + <Company>IT Center - RWTH Aachen University</Company> + <AssemblyTitle>null</AssemblyTitle> + <Description>ApiClient is a part of the Coscine group.</Description> + <Copyright>2024 IT Center - RWTH Aachen University</Copyright> + <RootNamespace>Coscine.ApiClient</RootNamespace> + <Version>1.0.0</Version> + <DocumentationFile>bin\$(Configuration)\$(TargetFramework)\Coscine.ApiClient.xml</DocumentationFile> <RepositoryUrl>https://github.com/GIT_USER_ID/GIT_REPO_ID.git</RepositoryUrl> <RepositoryType>git</RepositoryType> <PackageReleaseNotes>Minor update</PackageReleaseNotes> diff --git a/src/Org.OpenAPITools/Model/AbstractOpenAPISchema.cs b/src/Coscine.ApiClient/Model/AbstractOpenAPISchema.cs similarity index 97% rename from src/Org.OpenAPITools/Model/AbstractOpenAPISchema.cs rename to src/Coscine.ApiClient/Model/AbstractOpenAPISchema.cs index e3990ba..9470222 100644 --- a/src/Org.OpenAPITools/Model/AbstractOpenAPISchema.cs +++ b/src/Coscine.ApiClient/Model/AbstractOpenAPISchema.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -13,7 +13,7 @@ using System; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// Abstract base class for oneOf, anyOf schemas in the OpenAPI specification diff --git a/src/Org.OpenAPITools/Model/AcceptedLanguage.cs b/src/Coscine.ApiClient/Model/AcceptedLanguage.cs similarity index 88% rename from src/Org.OpenAPITools/Model/AcceptedLanguage.cs rename to src/Coscine.ApiClient/Model/AcceptedLanguage.cs index f4e7dae..396b9c8 100644 --- a/src/Org.OpenAPITools/Model/AcceptedLanguage.cs +++ b/src/Coscine.ApiClient/Model/AcceptedLanguage.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// Defines AcceptedLanguage diff --git a/src/Org.OpenAPITools/Model/ApiTokenDto.cs b/src/Coscine.ApiClient/Model/ApiTokenDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/ApiTokenDto.cs rename to src/Coscine.ApiClient/Model/ApiTokenDto.cs index 02635fd..a5a9ac0 100644 --- a/src/Org.OpenAPITools/Model/ApiTokenDto.cs +++ b/src/Coscine.ApiClient/Model/ApiTokenDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ApiTokenDto diff --git a/src/Org.OpenAPITools/Model/ApiTokenDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/ApiTokenDtoPagedResponse.cs similarity index 86% rename from src/Org.OpenAPITools/Model/ApiTokenDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/ApiTokenDtoPagedResponse.cs index b4715da..ded26d9 100644 --- a/src/Org.OpenAPITools/Model/ApiTokenDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/ApiTokenDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// ApiTokenDtoIEnumerablePagedResponse + /// ApiTokenDtoPagedResponse /// </summary> - [DataContract(Name = "ApiTokenDtoIEnumerablePagedResponse")] - public partial class ApiTokenDtoIEnumerablePagedResponse : IEquatable<ApiTokenDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "ApiTokenDtoPagedResponse")] + public partial class ApiTokenDtoPagedResponse : IEquatable<ApiTokenDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="ApiTokenDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="ApiTokenDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public ApiTokenDtoIEnumerablePagedResponse(List<ApiTokenDto> data = default(List<ApiTokenDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public ApiTokenDtoPagedResponse(List<ApiTokenDto> data = default(List<ApiTokenDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<ApiTokenDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class ApiTokenDtoIEnumerablePagedResponse {\n"); + sb.Append("class ApiTokenDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as ApiTokenDtoIEnumerablePagedResponse); + return this.Equals(input as ApiTokenDtoPagedResponse); } /// <summary> - /// Returns true if ApiTokenDtoIEnumerablePagedResponse instances are equal + /// Returns true if ApiTokenDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of ApiTokenDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of ApiTokenDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(ApiTokenDtoIEnumerablePagedResponse input) + public bool Equals(ApiTokenDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ApiTokenDtoResponse.cs b/src/Coscine.ApiClient/Model/ApiTokenDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ApiTokenDtoResponse.cs rename to src/Coscine.ApiClient/Model/ApiTokenDtoResponse.cs index c1fd364..33e6e09 100644 --- a/src/Org.OpenAPITools/Model/ApiTokenDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/ApiTokenDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ApiTokenDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public ApiTokenDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class ApiTokenDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ApiTokenForCreationDto.cs b/src/Coscine.ApiClient/Model/ApiTokenForCreationDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ApiTokenForCreationDto.cs rename to src/Coscine.ApiClient/Model/ApiTokenForCreationDto.cs index 08af780..7397092 100644 --- a/src/Org.OpenAPITools/Model/ApiTokenForCreationDto.cs +++ b/src/Coscine.ApiClient/Model/ApiTokenForCreationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ApiTokenForCreationDto diff --git a/src/Org.OpenAPITools/Model/ApplicationProfileDto.cs b/src/Coscine.ApiClient/Model/ApplicationProfileDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ApplicationProfileDto.cs rename to src/Coscine.ApiClient/Model/ApplicationProfileDto.cs index 6e10f74..e57ec26 100644 --- a/src/Org.OpenAPITools/Model/ApplicationProfileDto.cs +++ b/src/Coscine.ApiClient/Model/ApplicationProfileDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ApplicationProfileDto diff --git a/src/Org.OpenAPITools/Model/ApplicationProfileDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/ApplicationProfileDtoPagedResponse.cs similarity index 85% rename from src/Org.OpenAPITools/Model/ApplicationProfileDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/ApplicationProfileDtoPagedResponse.cs index 5d32a3e..0b8c9cc 100644 --- a/src/Org.OpenAPITools/Model/ApplicationProfileDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/ApplicationProfileDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// ApplicationProfileDtoIEnumerablePagedResponse + /// ApplicationProfileDtoPagedResponse /// </summary> - [DataContract(Name = "ApplicationProfileDtoIEnumerablePagedResponse")] - public partial class ApplicationProfileDtoIEnumerablePagedResponse : IEquatable<ApplicationProfileDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "ApplicationProfileDtoPagedResponse")] + public partial class ApplicationProfileDtoPagedResponse : IEquatable<ApplicationProfileDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="ApplicationProfileDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="ApplicationProfileDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public ApplicationProfileDtoIEnumerablePagedResponse(List<ApplicationProfileDto> data = default(List<ApplicationProfileDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public ApplicationProfileDtoPagedResponse(List<ApplicationProfileDto> data = default(List<ApplicationProfileDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<ApplicationProfileDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class ApplicationProfileDtoIEnumerablePagedResponse {\n"); + sb.Append("class ApplicationProfileDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as ApplicationProfileDtoIEnumerablePagedResponse); + return this.Equals(input as ApplicationProfileDtoPagedResponse); } /// <summary> - /// Returns true if ApplicationProfileDtoIEnumerablePagedResponse instances are equal + /// Returns true if ApplicationProfileDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of ApplicationProfileDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of ApplicationProfileDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(ApplicationProfileDtoIEnumerablePagedResponse input) + public bool Equals(ApplicationProfileDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ApplicationProfileDtoResponse.cs b/src/Coscine.ApiClient/Model/ApplicationProfileDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ApplicationProfileDtoResponse.cs rename to src/Coscine.ApiClient/Model/ApplicationProfileDtoResponse.cs index 3aec42b..c70b154 100644 --- a/src/Org.OpenAPITools/Model/ApplicationProfileDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/ApplicationProfileDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ApplicationProfileDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public ApplicationProfileDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class ApplicationProfileDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ApplicationProfileForCreationDto.cs b/src/Coscine.ApiClient/Model/ApplicationProfileForCreationDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ApplicationProfileForCreationDto.cs rename to src/Coscine.ApiClient/Model/ApplicationProfileForCreationDto.cs index 3c6839f..c8425fe 100644 --- a/src/Org.OpenAPITools/Model/ApplicationProfileForCreationDto.cs +++ b/src/Coscine.ApiClient/Model/ApplicationProfileForCreationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ApplicationProfileForCreationDto diff --git a/src/Org.OpenAPITools/Model/ApplicationProfileForCreationDtoResponse.cs b/src/Coscine.ApiClient/Model/ApplicationProfileForCreationDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ApplicationProfileForCreationDtoResponse.cs rename to src/Coscine.ApiClient/Model/ApplicationProfileForCreationDtoResponse.cs index 6ffe73d..9913238 100644 --- a/src/Org.OpenAPITools/Model/ApplicationProfileForCreationDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/ApplicationProfileForCreationDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ApplicationProfileForCreationDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public ApplicationProfileForCreationDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class ApplicationProfileForCreationDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ApplicationProfileForResourceCreationDto.cs b/src/Coscine.ApiClient/Model/ApplicationProfileForResourceCreationDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/ApplicationProfileForResourceCreationDto.cs rename to src/Coscine.ApiClient/Model/ApplicationProfileForResourceCreationDto.cs index 300ad15..73d8fc6 100644 --- a/src/Org.OpenAPITools/Model/ApplicationProfileForResourceCreationDto.cs +++ b/src/Coscine.ApiClient/Model/ApplicationProfileForResourceCreationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ApplicationProfileForResourceCreationDto diff --git a/src/Org.OpenAPITools/Model/ApplicationProfileMinimalDto.cs b/src/Coscine.ApiClient/Model/ApplicationProfileMinimalDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/ApplicationProfileMinimalDto.cs rename to src/Coscine.ApiClient/Model/ApplicationProfileMinimalDto.cs index d0d5559..9a65ea1 100644 --- a/src/Org.OpenAPITools/Model/ApplicationProfileMinimalDto.cs +++ b/src/Coscine.ApiClient/Model/ApplicationProfileMinimalDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ApplicationProfileMinimalDto diff --git a/src/Org.OpenAPITools/Model/DisciplineDto.cs b/src/Coscine.ApiClient/Model/DisciplineDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/DisciplineDto.cs rename to src/Coscine.ApiClient/Model/DisciplineDto.cs index 17a2fd9..cbb7a53 100644 --- a/src/Org.OpenAPITools/Model/DisciplineDto.cs +++ b/src/Coscine.ApiClient/Model/DisciplineDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// DisciplineDto diff --git a/src/Org.OpenAPITools/Model/DisciplineDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/DisciplineDtoPagedResponse.cs similarity index 85% rename from src/Org.OpenAPITools/Model/DisciplineDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/DisciplineDtoPagedResponse.cs index fd86366..83b1a99 100644 --- a/src/Org.OpenAPITools/Model/DisciplineDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/DisciplineDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// DisciplineDtoIEnumerablePagedResponse + /// DisciplineDtoPagedResponse /// </summary> - [DataContract(Name = "DisciplineDtoIEnumerablePagedResponse")] - public partial class DisciplineDtoIEnumerablePagedResponse : IEquatable<DisciplineDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "DisciplineDtoPagedResponse")] + public partial class DisciplineDtoPagedResponse : IEquatable<DisciplineDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="DisciplineDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="DisciplineDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public DisciplineDtoIEnumerablePagedResponse(List<DisciplineDto> data = default(List<DisciplineDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public DisciplineDtoPagedResponse(List<DisciplineDto> data = default(List<DisciplineDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<DisciplineDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class DisciplineDtoIEnumerablePagedResponse {\n"); + sb.Append("class DisciplineDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as DisciplineDtoIEnumerablePagedResponse); + return this.Equals(input as DisciplineDtoPagedResponse); } /// <summary> - /// Returns true if DisciplineDtoIEnumerablePagedResponse instances are equal + /// Returns true if DisciplineDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of DisciplineDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of DisciplineDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(DisciplineDtoIEnumerablePagedResponse input) + public bool Equals(DisciplineDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/DisciplineDtoResponse.cs b/src/Coscine.ApiClient/Model/DisciplineDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/DisciplineDtoResponse.cs rename to src/Coscine.ApiClient/Model/DisciplineDtoResponse.cs index cc7ebad..e296640 100644 --- a/src/Org.OpenAPITools/Model/DisciplineDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/DisciplineDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// DisciplineDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public DisciplineDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class DisciplineDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/DisciplineForProjectManipulationDto.cs b/src/Coscine.ApiClient/Model/DisciplineForProjectManipulationDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/DisciplineForProjectManipulationDto.cs rename to src/Coscine.ApiClient/Model/DisciplineForProjectManipulationDto.cs index b7ec59d..43f1a4f 100644 --- a/src/Org.OpenAPITools/Model/DisciplineForProjectManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/DisciplineForProjectManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// DisciplineForProjectManipulationDto diff --git a/src/Org.OpenAPITools/Model/DisciplineForResourceManipulationDto.cs b/src/Coscine.ApiClient/Model/DisciplineForResourceManipulationDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/DisciplineForResourceManipulationDto.cs rename to src/Coscine.ApiClient/Model/DisciplineForResourceManipulationDto.cs index 4e910a8..a074d03 100644 --- a/src/Org.OpenAPITools/Model/DisciplineForResourceManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/DisciplineForResourceManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// DisciplineForResourceManipulationDto diff --git a/src/Org.OpenAPITools/Model/DisciplineForUserManipulationDto.cs b/src/Coscine.ApiClient/Model/DisciplineForUserManipulationDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/DisciplineForUserManipulationDto.cs rename to src/Coscine.ApiClient/Model/DisciplineForUserManipulationDto.cs index 7c84db0..e7e0563 100644 --- a/src/Org.OpenAPITools/Model/DisciplineForUserManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/DisciplineForUserManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// DisciplineForUserManipulationDto diff --git a/src/Org.OpenAPITools/Model/FileTreeDto.cs b/src/Coscine.ApiClient/Model/FileTreeDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/FileTreeDto.cs rename to src/Coscine.ApiClient/Model/FileTreeDto.cs index 25f7eec..d5bb85d 100644 --- a/src/Org.OpenAPITools/Model/FileTreeDto.cs +++ b/src/Coscine.ApiClient/Model/FileTreeDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// FileTreeDto diff --git a/src/Org.OpenAPITools/Model/FileTreeDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/FileTreeDtoPagedResponse.cs similarity index 86% rename from src/Org.OpenAPITools/Model/FileTreeDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/FileTreeDtoPagedResponse.cs index 5f7da19..43d4a09 100644 --- a/src/Org.OpenAPITools/Model/FileTreeDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/FileTreeDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// FileTreeDtoIEnumerablePagedResponse + /// FileTreeDtoPagedResponse /// </summary> - [DataContract(Name = "FileTreeDtoIEnumerablePagedResponse")] - public partial class FileTreeDtoIEnumerablePagedResponse : IEquatable<FileTreeDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "FileTreeDtoPagedResponse")] + public partial class FileTreeDtoPagedResponse : IEquatable<FileTreeDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="FileTreeDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="FileTreeDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public FileTreeDtoIEnumerablePagedResponse(List<FileTreeDto> data = default(List<FileTreeDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public FileTreeDtoPagedResponse(List<FileTreeDto> data = default(List<FileTreeDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<FileTreeDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class FileTreeDtoIEnumerablePagedResponse {\n"); + sb.Append("class FileTreeDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as FileTreeDtoIEnumerablePagedResponse); + return this.Equals(input as FileTreeDtoPagedResponse); } /// <summary> - /// Returns true if FileTreeDtoIEnumerablePagedResponse instances are equal + /// Returns true if FileTreeDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of FileTreeDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of FileTreeDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(FileTreeDtoIEnumerablePagedResponse input) + public bool Equals(FileTreeDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/FixedValueForResourceManipulationDto.cs b/src/Coscine.ApiClient/Model/FixedValueForResourceManipulationDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/FixedValueForResourceManipulationDto.cs rename to src/Coscine.ApiClient/Model/FixedValueForResourceManipulationDto.cs index 8b3ee25..76a16d3 100644 --- a/src/Org.OpenAPITools/Model/FixedValueForResourceManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/FixedValueForResourceManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// FixedValueForResourceManipulationDto diff --git a/src/Org.OpenAPITools/Model/GitLabOptionsDto.cs b/src/Coscine.ApiClient/Model/GitLabOptionsDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/GitLabOptionsDto.cs rename to src/Coscine.ApiClient/Model/GitLabOptionsDto.cs index bae0ec3..8ee1b3f 100644 --- a/src/Org.OpenAPITools/Model/GitLabOptionsDto.cs +++ b/src/Coscine.ApiClient/Model/GitLabOptionsDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// GitLabOptionsDto diff --git a/src/Org.OpenAPITools/Model/GitlabBranchDto.cs b/src/Coscine.ApiClient/Model/GitlabBranchDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/GitlabBranchDto.cs rename to src/Coscine.ApiClient/Model/GitlabBranchDto.cs index 0b1d13e..83344e3 100644 --- a/src/Org.OpenAPITools/Model/GitlabBranchDto.cs +++ b/src/Coscine.ApiClient/Model/GitlabBranchDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// GitlabBranchDto diff --git a/src/Org.OpenAPITools/Model/GitlabBranchDtoIEnumerableResponse.cs b/src/Coscine.ApiClient/Model/GitlabBranchDtoIEnumerableResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/GitlabBranchDtoIEnumerableResponse.cs rename to src/Coscine.ApiClient/Model/GitlabBranchDtoIEnumerableResponse.cs index bcec142..2d646e3 100644 --- a/src/Org.OpenAPITools/Model/GitlabBranchDtoIEnumerableResponse.cs +++ b/src/Coscine.ApiClient/Model/GitlabBranchDtoIEnumerableResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// GitlabBranchDtoIEnumerableResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<GitlabBranchDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class GitlabBranchDtoIEnumerableResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -130,15 +130,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -159,11 +159,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/GitlabProjectDto.cs b/src/Coscine.ApiClient/Model/GitlabProjectDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/GitlabProjectDto.cs rename to src/Coscine.ApiClient/Model/GitlabProjectDto.cs index 318f7f0..7804450 100644 --- a/src/Org.OpenAPITools/Model/GitlabProjectDto.cs +++ b/src/Coscine.ApiClient/Model/GitlabProjectDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// GitlabProjectDto diff --git a/src/Org.OpenAPITools/Model/GitlabProjectDtoIEnumerableResponse.cs b/src/Coscine.ApiClient/Model/GitlabProjectDtoIEnumerableResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/GitlabProjectDtoIEnumerableResponse.cs rename to src/Coscine.ApiClient/Model/GitlabProjectDtoIEnumerableResponse.cs index 3363550..1a1895a 100644 --- a/src/Org.OpenAPITools/Model/GitlabProjectDtoIEnumerableResponse.cs +++ b/src/Coscine.ApiClient/Model/GitlabProjectDtoIEnumerableResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// GitlabProjectDtoIEnumerableResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<GitlabProjectDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class GitlabProjectDtoIEnumerableResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -130,15 +130,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -159,11 +159,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/GitlabProjectDtoResponse.cs b/src/Coscine.ApiClient/Model/GitlabProjectDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/GitlabProjectDtoResponse.cs rename to src/Coscine.ApiClient/Model/GitlabProjectDtoResponse.cs index b9da4a3..ad55721 100644 --- a/src/Org.OpenAPITools/Model/GitlabProjectDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/GitlabProjectDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// GitlabProjectDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public GitlabProjectDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class GitlabProjectDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/GitlabResourceTypeOptionsForCreationDto.cs b/src/Coscine.ApiClient/Model/GitlabResourceTypeOptionsForCreationDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/GitlabResourceTypeOptionsForCreationDto.cs rename to src/Coscine.ApiClient/Model/GitlabResourceTypeOptionsForCreationDto.cs index e3efd4c..f407b42 100644 --- a/src/Org.OpenAPITools/Model/GitlabResourceTypeOptionsForCreationDto.cs +++ b/src/Coscine.ApiClient/Model/GitlabResourceTypeOptionsForCreationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// GitlabResourceTypeOptionsForCreationDto diff --git a/src/Org.OpenAPITools/Model/GitlabResourceTypeOptionsForUpdateDto.cs b/src/Coscine.ApiClient/Model/GitlabResourceTypeOptionsForUpdateDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/GitlabResourceTypeOptionsForUpdateDto.cs rename to src/Coscine.ApiClient/Model/GitlabResourceTypeOptionsForUpdateDto.cs index f8f4167..78f678c 100644 --- a/src/Org.OpenAPITools/Model/GitlabResourceTypeOptionsForUpdateDto.cs +++ b/src/Coscine.ApiClient/Model/GitlabResourceTypeOptionsForUpdateDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// GitlabResourceTypeOptionsForUpdateDto diff --git a/src/Org.OpenAPITools/Model/IdentityProviderDto.cs b/src/Coscine.ApiClient/Model/IdentityProviderDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/IdentityProviderDto.cs rename to src/Coscine.ApiClient/Model/IdentityProviderDto.cs index 17a6631..4654583 100644 --- a/src/Org.OpenAPITools/Model/IdentityProviderDto.cs +++ b/src/Coscine.ApiClient/Model/IdentityProviderDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// IdentityProviderDto diff --git a/src/Org.OpenAPITools/Model/IdentityProviders.cs b/src/Coscine.ApiClient/Model/IdentityProviders.cs similarity index 88% rename from src/Org.OpenAPITools/Model/IdentityProviders.cs rename to src/Coscine.ApiClient/Model/IdentityProviders.cs index 28ac59b..ae6b077 100644 --- a/src/Org.OpenAPITools/Model/IdentityProviders.cs +++ b/src/Coscine.ApiClient/Model/IdentityProviders.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// Defines IdentityProviders diff --git a/src/Org.OpenAPITools/Model/LanguageDto.cs b/src/Coscine.ApiClient/Model/LanguageDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/LanguageDto.cs rename to src/Coscine.ApiClient/Model/LanguageDto.cs index ff488c1..0611d92 100644 --- a/src/Org.OpenAPITools/Model/LanguageDto.cs +++ b/src/Coscine.ApiClient/Model/LanguageDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// LanguageDto diff --git a/src/Org.OpenAPITools/Model/LanguageDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/LanguageDtoPagedResponse.cs similarity index 86% rename from src/Org.OpenAPITools/Model/LanguageDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/LanguageDtoPagedResponse.cs index 795cd01..a5451d8 100644 --- a/src/Org.OpenAPITools/Model/LanguageDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/LanguageDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// LanguageDtoIEnumerablePagedResponse + /// LanguageDtoPagedResponse /// </summary> - [DataContract(Name = "LanguageDtoIEnumerablePagedResponse")] - public partial class LanguageDtoIEnumerablePagedResponse : IEquatable<LanguageDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "LanguageDtoPagedResponse")] + public partial class LanguageDtoPagedResponse : IEquatable<LanguageDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="LanguageDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="LanguageDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public LanguageDtoIEnumerablePagedResponse(List<LanguageDto> data = default(List<LanguageDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public LanguageDtoPagedResponse(List<LanguageDto> data = default(List<LanguageDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<LanguageDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class LanguageDtoIEnumerablePagedResponse {\n"); + sb.Append("class LanguageDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as LanguageDtoIEnumerablePagedResponse); + return this.Equals(input as LanguageDtoPagedResponse); } /// <summary> - /// Returns true if LanguageDtoIEnumerablePagedResponse instances are equal + /// Returns true if LanguageDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of LanguageDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of LanguageDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(LanguageDtoIEnumerablePagedResponse input) + public bool Equals(LanguageDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/LanguageDtoResponse.cs b/src/Coscine.ApiClient/Model/LanguageDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/LanguageDtoResponse.cs rename to src/Coscine.ApiClient/Model/LanguageDtoResponse.cs index c2fb9d6..0c3bfbc 100644 --- a/src/Org.OpenAPITools/Model/LanguageDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/LanguageDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// LanguageDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public LanguageDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class LanguageDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/LanguageForUserManipulationDto.cs b/src/Coscine.ApiClient/Model/LanguageForUserManipulationDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/LanguageForUserManipulationDto.cs rename to src/Coscine.ApiClient/Model/LanguageForUserManipulationDto.cs index f63fb70..b2f3e17 100644 --- a/src/Org.OpenAPITools/Model/LanguageForUserManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/LanguageForUserManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// LanguageForUserManipulationDto diff --git a/src/Org.OpenAPITools/Model/LicenseDto.cs b/src/Coscine.ApiClient/Model/LicenseDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/LicenseDto.cs rename to src/Coscine.ApiClient/Model/LicenseDto.cs index 5a92013..7542f0e 100644 --- a/src/Org.OpenAPITools/Model/LicenseDto.cs +++ b/src/Coscine.ApiClient/Model/LicenseDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// LicenseDto diff --git a/src/Org.OpenAPITools/Model/LicenseDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/LicenseDtoPagedResponse.cs similarity index 86% rename from src/Org.OpenAPITools/Model/LicenseDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/LicenseDtoPagedResponse.cs index b484e45..53ad63a 100644 --- a/src/Org.OpenAPITools/Model/LicenseDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/LicenseDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// LicenseDtoIEnumerablePagedResponse + /// LicenseDtoPagedResponse /// </summary> - [DataContract(Name = "LicenseDtoIEnumerablePagedResponse")] - public partial class LicenseDtoIEnumerablePagedResponse : IEquatable<LicenseDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "LicenseDtoPagedResponse")] + public partial class LicenseDtoPagedResponse : IEquatable<LicenseDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="LicenseDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="LicenseDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public LicenseDtoIEnumerablePagedResponse(List<LicenseDto> data = default(List<LicenseDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public LicenseDtoPagedResponse(List<LicenseDto> data = default(List<LicenseDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<LicenseDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class LicenseDtoIEnumerablePagedResponse {\n"); + sb.Append("class LicenseDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as LicenseDtoIEnumerablePagedResponse); + return this.Equals(input as LicenseDtoPagedResponse); } /// <summary> - /// Returns true if LicenseDtoIEnumerablePagedResponse instances are equal + /// Returns true if LicenseDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of LicenseDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of LicenseDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(LicenseDtoIEnumerablePagedResponse input) + public bool Equals(LicenseDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/LicenseDtoResponse.cs b/src/Coscine.ApiClient/Model/LicenseDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/LicenseDtoResponse.cs rename to src/Coscine.ApiClient/Model/LicenseDtoResponse.cs index 98e29f9..22b3d1d 100644 --- a/src/Org.OpenAPITools/Model/LicenseDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/LicenseDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// LicenseDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public LicenseDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class LicenseDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/LicenseForResourceManipulationDto.cs b/src/Coscine.ApiClient/Model/LicenseForResourceManipulationDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/LicenseForResourceManipulationDto.cs rename to src/Coscine.ApiClient/Model/LicenseForResourceManipulationDto.cs index 109a6d0..da1e946 100644 --- a/src/Org.OpenAPITools/Model/LicenseForResourceManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/LicenseForResourceManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// LicenseForResourceManipulationDto diff --git a/src/Org.OpenAPITools/Model/MaintenanceDto.cs b/src/Coscine.ApiClient/Model/MaintenanceDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/MaintenanceDto.cs rename to src/Coscine.ApiClient/Model/MaintenanceDto.cs index 30b67eb..3f7bdac 100644 --- a/src/Org.OpenAPITools/Model/MaintenanceDto.cs +++ b/src/Coscine.ApiClient/Model/MaintenanceDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// MaintenanceDto diff --git a/src/Org.OpenAPITools/Model/MaintenanceDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/MaintenanceDtoPagedResponse.cs similarity index 85% rename from src/Org.OpenAPITools/Model/MaintenanceDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/MaintenanceDtoPagedResponse.cs index 9851ca8..47563db 100644 --- a/src/Org.OpenAPITools/Model/MaintenanceDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/MaintenanceDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// MaintenanceDtoIEnumerablePagedResponse + /// MaintenanceDtoPagedResponse /// </summary> - [DataContract(Name = "MaintenanceDtoIEnumerablePagedResponse")] - public partial class MaintenanceDtoIEnumerablePagedResponse : IEquatable<MaintenanceDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "MaintenanceDtoPagedResponse")] + public partial class MaintenanceDtoPagedResponse : IEquatable<MaintenanceDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="MaintenanceDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="MaintenanceDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public MaintenanceDtoIEnumerablePagedResponse(List<MaintenanceDto> data = default(List<MaintenanceDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public MaintenanceDtoPagedResponse(List<MaintenanceDto> data = default(List<MaintenanceDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<MaintenanceDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class MaintenanceDtoIEnumerablePagedResponse {\n"); + sb.Append("class MaintenanceDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as MaintenanceDtoIEnumerablePagedResponse); + return this.Equals(input as MaintenanceDtoPagedResponse); } /// <summary> - /// Returns true if MaintenanceDtoIEnumerablePagedResponse instances are equal + /// Returns true if MaintenanceDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of MaintenanceDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of MaintenanceDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(MaintenanceDtoIEnumerablePagedResponse input) + public bool Equals(MaintenanceDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/MetadataTreeDto.cs b/src/Coscine.ApiClient/Model/MetadataTreeDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/MetadataTreeDto.cs rename to src/Coscine.ApiClient/Model/MetadataTreeDto.cs index 93ee3fa..991fd3a 100644 --- a/src/Org.OpenAPITools/Model/MetadataTreeDto.cs +++ b/src/Coscine.ApiClient/Model/MetadataTreeDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// MetadataTreeDto diff --git a/src/Org.OpenAPITools/Model/MetadataTreeDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/MetadataTreeDtoPagedResponse.cs similarity index 85% rename from src/Org.OpenAPITools/Model/MetadataTreeDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/MetadataTreeDtoPagedResponse.cs index bf4194c..a704bcc 100644 --- a/src/Org.OpenAPITools/Model/MetadataTreeDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/MetadataTreeDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// MetadataTreeDtoIEnumerablePagedResponse + /// MetadataTreeDtoPagedResponse /// </summary> - [DataContract(Name = "MetadataTreeDtoIEnumerablePagedResponse")] - public partial class MetadataTreeDtoIEnumerablePagedResponse : IEquatable<MetadataTreeDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "MetadataTreeDtoPagedResponse")] + public partial class MetadataTreeDtoPagedResponse : IEquatable<MetadataTreeDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="MetadataTreeDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="MetadataTreeDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public MetadataTreeDtoIEnumerablePagedResponse(List<MetadataTreeDto> data = default(List<MetadataTreeDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public MetadataTreeDtoPagedResponse(List<MetadataTreeDto> data = default(List<MetadataTreeDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<MetadataTreeDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class MetadataTreeDtoIEnumerablePagedResponse {\n"); + sb.Append("class MetadataTreeDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as MetadataTreeDtoIEnumerablePagedResponse); + return this.Equals(input as MetadataTreeDtoPagedResponse); } /// <summary> - /// Returns true if MetadataTreeDtoIEnumerablePagedResponse instances are equal + /// Returns true if MetadataTreeDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of MetadataTreeDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of MetadataTreeDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(MetadataTreeDtoIEnumerablePagedResponse input) + public bool Equals(MetadataTreeDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/MetadataTreeDtoResponse.cs b/src/Coscine.ApiClient/Model/MetadataTreeDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/MetadataTreeDtoResponse.cs rename to src/Coscine.ApiClient/Model/MetadataTreeDtoResponse.cs index a7392e5..bd5fdd1 100644 --- a/src/Org.OpenAPITools/Model/MetadataTreeDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/MetadataTreeDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// MetadataTreeDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public MetadataTreeDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class MetadataTreeDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/MetadataTreeForCreationDto.cs b/src/Coscine.ApiClient/Model/MetadataTreeForCreationDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/MetadataTreeForCreationDto.cs rename to src/Coscine.ApiClient/Model/MetadataTreeForCreationDto.cs index 7c68879..26d4a8f 100644 --- a/src/Org.OpenAPITools/Model/MetadataTreeForCreationDto.cs +++ b/src/Coscine.ApiClient/Model/MetadataTreeForCreationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// MetadataTreeForCreationDto diff --git a/src/Org.OpenAPITools/Model/MetadataTreeForUpdateDto.cs b/src/Coscine.ApiClient/Model/MetadataTreeForUpdateDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/MetadataTreeForUpdateDto.cs rename to src/Coscine.ApiClient/Model/MetadataTreeForUpdateDto.cs index 94c2ec5..e37f038 100644 --- a/src/Org.OpenAPITools/Model/MetadataTreeForUpdateDto.cs +++ b/src/Coscine.ApiClient/Model/MetadataTreeForUpdateDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// MetadataTreeForUpdateDto diff --git a/src/Org.OpenAPITools/Model/MetadataUpdateAdminParameters.cs b/src/Coscine.ApiClient/Model/MetadataUpdateAdminParameters.cs similarity index 97% rename from src/Org.OpenAPITools/Model/MetadataUpdateAdminParameters.cs rename to src/Coscine.ApiClient/Model/MetadataUpdateAdminParameters.cs index 8ce830d..dd4c74b 100644 --- a/src/Org.OpenAPITools/Model/MetadataUpdateAdminParameters.cs +++ b/src/Coscine.ApiClient/Model/MetadataUpdateAdminParameters.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// MetadataUpdateAdminParameters diff --git a/src/Org.OpenAPITools/Model/OrganizationDto.cs b/src/Coscine.ApiClient/Model/OrganizationDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/OrganizationDto.cs rename to src/Coscine.ApiClient/Model/OrganizationDto.cs index 3c2edd3..ef891bc 100644 --- a/src/Org.OpenAPITools/Model/OrganizationDto.cs +++ b/src/Coscine.ApiClient/Model/OrganizationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// OrganizationDto diff --git a/src/Org.OpenAPITools/Model/OrganizationDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/OrganizationDtoPagedResponse.cs similarity index 85% rename from src/Org.OpenAPITools/Model/OrganizationDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/OrganizationDtoPagedResponse.cs index 0dc8339..63c7e2a 100644 --- a/src/Org.OpenAPITools/Model/OrganizationDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/OrganizationDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// OrganizationDtoIEnumerablePagedResponse + /// OrganizationDtoPagedResponse /// </summary> - [DataContract(Name = "OrganizationDtoIEnumerablePagedResponse")] - public partial class OrganizationDtoIEnumerablePagedResponse : IEquatable<OrganizationDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "OrganizationDtoPagedResponse")] + public partial class OrganizationDtoPagedResponse : IEquatable<OrganizationDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="OrganizationDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="OrganizationDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public OrganizationDtoIEnumerablePagedResponse(List<OrganizationDto> data = default(List<OrganizationDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public OrganizationDtoPagedResponse(List<OrganizationDto> data = default(List<OrganizationDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<OrganizationDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class OrganizationDtoIEnumerablePagedResponse {\n"); + sb.Append("class OrganizationDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as OrganizationDtoIEnumerablePagedResponse); + return this.Equals(input as OrganizationDtoPagedResponse); } /// <summary> - /// Returns true if OrganizationDtoIEnumerablePagedResponse instances are equal + /// Returns true if OrganizationDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of OrganizationDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of OrganizationDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(OrganizationDtoIEnumerablePagedResponse input) + public bool Equals(OrganizationDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/OrganizationDtoResponse.cs b/src/Coscine.ApiClient/Model/OrganizationDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/OrganizationDtoResponse.cs rename to src/Coscine.ApiClient/Model/OrganizationDtoResponse.cs index 3b3174b..20b09b4 100644 --- a/src/Org.OpenAPITools/Model/OrganizationDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/OrganizationDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// OrganizationDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public OrganizationDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class OrganizationDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/OrganizationForProjectManipulationDto.cs b/src/Coscine.ApiClient/Model/OrganizationForProjectManipulationDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/OrganizationForProjectManipulationDto.cs rename to src/Coscine.ApiClient/Model/OrganizationForProjectManipulationDto.cs index a2dbca6..20be9fe 100644 --- a/src/Org.OpenAPITools/Model/OrganizationForProjectManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/OrganizationForProjectManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// OrganizationForProjectManipulationDto diff --git a/src/Org.OpenAPITools/Model/Pagination.cs b/src/Coscine.ApiClient/Model/Pagination.cs similarity index 98% rename from src/Org.OpenAPITools/Model/Pagination.cs rename to src/Coscine.ApiClient/Model/Pagination.cs index 4b6d171..fbbc71c 100644 --- a/src/Org.OpenAPITools/Model/Pagination.cs +++ b/src/Coscine.ApiClient/Model/Pagination.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// Pagination diff --git a/src/Org.OpenAPITools/Model/PidRequestDto.cs b/src/Coscine.ApiClient/Model/PidRequestDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/PidRequestDto.cs rename to src/Coscine.ApiClient/Model/PidRequestDto.cs index d65e0b3..499522b 100644 --- a/src/Org.OpenAPITools/Model/PidRequestDto.cs +++ b/src/Coscine.ApiClient/Model/PidRequestDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// PidRequestDto diff --git a/src/Org.OpenAPITools/Model/PidType.cs b/src/Coscine.ApiClient/Model/PidType.cs similarity index 88% rename from src/Org.OpenAPITools/Model/PidType.cs rename to src/Coscine.ApiClient/Model/PidType.cs index 8b10a3a..304a0b9 100644 --- a/src/Org.OpenAPITools/Model/PidType.cs +++ b/src/Coscine.ApiClient/Model/PidType.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// Defines PidType diff --git a/src/Org.OpenAPITools/Model/PidValidationDto.cs b/src/Coscine.ApiClient/Model/PidValidationDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/PidValidationDto.cs rename to src/Coscine.ApiClient/Model/PidValidationDto.cs index 7578f84..2fdd9e7 100644 --- a/src/Org.OpenAPITools/Model/PidValidationDto.cs +++ b/src/Coscine.ApiClient/Model/PidValidationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// PidValidationDto diff --git a/src/Org.OpenAPITools/Model/PidValidationDtoResponse.cs b/src/Coscine.ApiClient/Model/PidValidationDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/PidValidationDtoResponse.cs rename to src/Coscine.ApiClient/Model/PidValidationDtoResponse.cs index 0ed1da6..fd23008 100644 --- a/src/Org.OpenAPITools/Model/PidValidationDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/PidValidationDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// PidValidationDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public PidValidationDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class PidValidationDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ProjectAdminDto.cs b/src/Coscine.ApiClient/Model/ProjectAdminDto.cs similarity index 94% rename from src/Org.OpenAPITools/Model/ProjectAdminDto.cs rename to src/Coscine.ApiClient/Model/ProjectAdminDto.cs index 1017367..f563d9b 100644 --- a/src/Org.OpenAPITools/Model/ProjectAdminDto.cs +++ b/src/Coscine.ApiClient/Model/ProjectAdminDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectAdminDto @@ -56,7 +56,8 @@ namespace Org.OpenAPITools.Model /// <param name="deleted">deleted.</param> /// <param name="projectResources">projectResources.</param> /// <param name="projectRoles">projectRoles.</param> - public ProjectAdminDto(Guid id = default(Guid), string pid = default(string), string name = default(string), string description = default(string), DateTime startDate = default(DateTime), DateTime endDate = default(DateTime), List<string> keywords = default(List<string>), string displayName = default(string), string principleInvestigators = default(string), string grantId = default(string), VisibilityDto visibility = default(VisibilityDto), List<DisciplineDto> disciplines = default(List<DisciplineDto>), List<OrganizationDto> organizations = default(List<OrganizationDto>), string slug = default(string), UserMinimalDto creator = default(UserMinimalDto), DateTime? creationDate = default(DateTime?), List<ProjectDto> subProjects = default(List<ProjectDto>), ProjectMinimalDto parent = default(ProjectMinimalDto), bool deleted = default(bool), List<ProjectResourceMinimalDto> projectResources = default(List<ProjectResourceMinimalDto>), List<ProjectRoleMinimalDto> projectRoles = default(List<ProjectRoleMinimalDto>)) + /// <param name="projectQuota">projectQuota.</param> + public ProjectAdminDto(Guid id = default(Guid), string pid = default(string), string name = default(string), string description = default(string), DateTime startDate = default(DateTime), DateTime endDate = default(DateTime), List<string> keywords = default(List<string>), string displayName = default(string), string principleInvestigators = default(string), string grantId = default(string), VisibilityDto visibility = default(VisibilityDto), List<DisciplineDto> disciplines = default(List<DisciplineDto>), List<OrganizationDto> organizations = default(List<OrganizationDto>), string slug = default(string), UserMinimalDto creator = default(UserMinimalDto), DateTime? creationDate = default(DateTime?), List<ProjectDto> subProjects = default(List<ProjectDto>), ProjectMinimalDto parent = default(ProjectMinimalDto), bool deleted = default(bool), List<ProjectResourceMinimalDto> projectResources = default(List<ProjectResourceMinimalDto>), List<ProjectRoleMinimalDto> projectRoles = default(List<ProjectRoleMinimalDto>), List<ProjectQuotaDto> projectQuota = default(List<ProjectQuotaDto>)) { this.Id = id; this.Pid = pid; @@ -79,6 +80,7 @@ namespace Org.OpenAPITools.Model this.Deleted = deleted; this.ProjectResources = projectResources; this.ProjectRoles = projectRoles; + this.ProjectQuota = projectQuota; } /// <summary> @@ -207,6 +209,12 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "projectRoles", EmitDefaultValue = false)] public List<ProjectRoleMinimalDto> ProjectRoles { get; set; } + /// <summary> + /// Gets or Sets ProjectQuota + /// </summary> + [DataMember(Name = "projectQuota", EmitDefaultValue = false)] + public List<ProjectQuotaDto> ProjectQuota { get; set; } + /// <summary> /// Returns the string presentation of the object /// </summary> @@ -236,6 +244,7 @@ namespace Org.OpenAPITools.Model sb.Append(" Deleted: ").Append(Deleted).Append("\n"); sb.Append(" ProjectResources: ").Append(ProjectResources).Append("\n"); sb.Append(" ProjectRoles: ").Append(ProjectRoles).Append("\n"); + sb.Append(" ProjectQuota: ").Append(ProjectQuota).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -380,6 +389,12 @@ namespace Org.OpenAPITools.Model this.ProjectRoles != null && input.ProjectRoles != null && this.ProjectRoles.SequenceEqual(input.ProjectRoles) + ) && + ( + this.ProjectQuota == input.ProjectQuota || + this.ProjectQuota != null && + input.ProjectQuota != null && + this.ProjectQuota.SequenceEqual(input.ProjectQuota) ); } @@ -473,6 +488,10 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.ProjectRoles.GetHashCode(); } + if (this.ProjectQuota != null) + { + hashCode = (hashCode * 59) + this.ProjectQuota.GetHashCode(); + } return hashCode; } } diff --git a/src/Org.OpenAPITools/Model/ProjectAdminDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/ProjectAdminDtoPagedResponse.cs similarity index 85% rename from src/Org.OpenAPITools/Model/ProjectAdminDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/ProjectAdminDtoPagedResponse.cs index b748539..ea3250b 100644 --- a/src/Org.OpenAPITools/Model/ProjectAdminDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/ProjectAdminDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// ProjectAdminDtoIEnumerablePagedResponse + /// ProjectAdminDtoPagedResponse /// </summary> - [DataContract(Name = "ProjectAdminDtoIEnumerablePagedResponse")] - public partial class ProjectAdminDtoIEnumerablePagedResponse : IEquatable<ProjectAdminDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "ProjectAdminDtoPagedResponse")] + public partial class ProjectAdminDtoPagedResponse : IEquatable<ProjectAdminDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="ProjectAdminDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="ProjectAdminDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public ProjectAdminDtoIEnumerablePagedResponse(List<ProjectAdminDto> data = default(List<ProjectAdminDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public ProjectAdminDtoPagedResponse(List<ProjectAdminDto> data = default(List<ProjectAdminDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<ProjectAdminDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class ProjectAdminDtoIEnumerablePagedResponse {\n"); + sb.Append("class ProjectAdminDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as ProjectAdminDtoIEnumerablePagedResponse); + return this.Equals(input as ProjectAdminDtoPagedResponse); } /// <summary> - /// Returns true if ProjectAdminDtoIEnumerablePagedResponse instances are equal + /// Returns true if ProjectAdminDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of ProjectAdminDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of ProjectAdminDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(ProjectAdminDtoIEnumerablePagedResponse input) + public bool Equals(ProjectAdminDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ProjectDto.cs b/src/Coscine.ApiClient/Model/ProjectDto.cs similarity index 99% rename from src/Org.OpenAPITools/Model/ProjectDto.cs rename to src/Coscine.ApiClient/Model/ProjectDto.cs index 03880d0..d578cc1 100644 --- a/src/Org.OpenAPITools/Model/ProjectDto.cs +++ b/src/Coscine.ApiClient/Model/ProjectDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectDto diff --git a/src/Org.OpenAPITools/Model/ProjectDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/ProjectDtoPagedResponse.cs similarity index 86% rename from src/Org.OpenAPITools/Model/ProjectDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/ProjectDtoPagedResponse.cs index 40faeb2..087be9f 100644 --- a/src/Org.OpenAPITools/Model/ProjectDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/ProjectDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// ProjectDtoIEnumerablePagedResponse + /// ProjectDtoPagedResponse /// </summary> - [DataContract(Name = "ProjectDtoIEnumerablePagedResponse")] - public partial class ProjectDtoIEnumerablePagedResponse : IEquatable<ProjectDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "ProjectDtoPagedResponse")] + public partial class ProjectDtoPagedResponse : IEquatable<ProjectDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="ProjectDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="ProjectDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public ProjectDtoIEnumerablePagedResponse(List<ProjectDto> data = default(List<ProjectDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public ProjectDtoPagedResponse(List<ProjectDto> data = default(List<ProjectDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<ProjectDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class ProjectDtoIEnumerablePagedResponse {\n"); + sb.Append("class ProjectDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as ProjectDtoIEnumerablePagedResponse); + return this.Equals(input as ProjectDtoPagedResponse); } /// <summary> - /// Returns true if ProjectDtoIEnumerablePagedResponse instances are equal + /// Returns true if ProjectDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of ProjectDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of ProjectDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(ProjectDtoIEnumerablePagedResponse input) + public bool Equals(ProjectDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ProjectDtoResponse.cs b/src/Coscine.ApiClient/Model/ProjectDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ProjectDtoResponse.cs rename to src/Coscine.ApiClient/Model/ProjectDtoResponse.cs index 77a93eb..0fe4f85 100644 --- a/src/Org.OpenAPITools/Model/ProjectDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/ProjectDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public ProjectDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class ProjectDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ProjectForCreationDto.cs b/src/Coscine.ApiClient/Model/ProjectForCreationDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/ProjectForCreationDto.cs rename to src/Coscine.ApiClient/Model/ProjectForCreationDto.cs index 0eec3da..9c95c0d 100644 --- a/src/Org.OpenAPITools/Model/ProjectForCreationDto.cs +++ b/src/Coscine.ApiClient/Model/ProjectForCreationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectForCreationDto @@ -366,9 +366,9 @@ namespace Org.OpenAPITools.Model } // Description (string) maxLength - if (this.Description != null && this.Description.Length > 1000) + if (this.Description != null && this.Description.Length > 5000) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Description, length must be less than 1000.", new [] { "Description" }); + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Description, length must be less than 5000.", new [] { "Description" }); } // Description (string) minLength diff --git a/src/Org.OpenAPITools/Model/ProjectForUpdateDto.cs b/src/Coscine.ApiClient/Model/ProjectForUpdateDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/ProjectForUpdateDto.cs rename to src/Coscine.ApiClient/Model/ProjectForUpdateDto.cs index 5902f71..0e7b5f2 100644 --- a/src/Org.OpenAPITools/Model/ProjectForUpdateDto.cs +++ b/src/Coscine.ApiClient/Model/ProjectForUpdateDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectForUpdateDto @@ -371,9 +371,9 @@ namespace Org.OpenAPITools.Model } // Description (string) maxLength - if (this.Description != null && this.Description.Length > 1000) + if (this.Description != null && this.Description.Length > 5000) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Description, length must be less than 1000.", new [] { "Description" }); + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Description, length must be less than 5000.", new [] { "Description" }); } // Description (string) minLength diff --git a/src/Org.OpenAPITools/Model/ProjectInvitationDto.cs b/src/Coscine.ApiClient/Model/ProjectInvitationDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/ProjectInvitationDto.cs rename to src/Coscine.ApiClient/Model/ProjectInvitationDto.cs index aed169b..7bb7d05 100644 --- a/src/Org.OpenAPITools/Model/ProjectInvitationDto.cs +++ b/src/Coscine.ApiClient/Model/ProjectInvitationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectInvitationDto diff --git a/src/Org.OpenAPITools/Model/ProjectInvitationDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/ProjectInvitationDtoPagedResponse.cs similarity index 85% rename from src/Org.OpenAPITools/Model/ProjectInvitationDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/ProjectInvitationDtoPagedResponse.cs index f65b68c..0f8b4f3 100644 --- a/src/Org.OpenAPITools/Model/ProjectInvitationDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/ProjectInvitationDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// ProjectInvitationDtoIEnumerablePagedResponse + /// ProjectInvitationDtoPagedResponse /// </summary> - [DataContract(Name = "ProjectInvitationDtoIEnumerablePagedResponse")] - public partial class ProjectInvitationDtoIEnumerablePagedResponse : IEquatable<ProjectInvitationDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "ProjectInvitationDtoPagedResponse")] + public partial class ProjectInvitationDtoPagedResponse : IEquatable<ProjectInvitationDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="ProjectInvitationDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="ProjectInvitationDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public ProjectInvitationDtoIEnumerablePagedResponse(List<ProjectInvitationDto> data = default(List<ProjectInvitationDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public ProjectInvitationDtoPagedResponse(List<ProjectInvitationDto> data = default(List<ProjectInvitationDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<ProjectInvitationDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class ProjectInvitationDtoIEnumerablePagedResponse {\n"); + sb.Append("class ProjectInvitationDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as ProjectInvitationDtoIEnumerablePagedResponse); + return this.Equals(input as ProjectInvitationDtoPagedResponse); } /// <summary> - /// Returns true if ProjectInvitationDtoIEnumerablePagedResponse instances are equal + /// Returns true if ProjectInvitationDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of ProjectInvitationDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of ProjectInvitationDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(ProjectInvitationDtoIEnumerablePagedResponse input) + public bool Equals(ProjectInvitationDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ProjectInvitationDtoResponse.cs b/src/Coscine.ApiClient/Model/ProjectInvitationDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ProjectInvitationDtoResponse.cs rename to src/Coscine.ApiClient/Model/ProjectInvitationDtoResponse.cs index 69a7c8a..de3e7f1 100644 --- a/src/Org.OpenAPITools/Model/ProjectInvitationDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/ProjectInvitationDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectInvitationDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public ProjectInvitationDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class ProjectInvitationDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ProjectInvitationForProjectManipulationDto.cs b/src/Coscine.ApiClient/Model/ProjectInvitationForProjectManipulationDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ProjectInvitationForProjectManipulationDto.cs rename to src/Coscine.ApiClient/Model/ProjectInvitationForProjectManipulationDto.cs index 7fc408f..bb383ec 100644 --- a/src/Org.OpenAPITools/Model/ProjectInvitationForProjectManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/ProjectInvitationForProjectManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectInvitationForProjectManipulationDto diff --git a/src/Org.OpenAPITools/Model/ProjectInvitationResolveDto.cs b/src/Coscine.ApiClient/Model/ProjectInvitationResolveDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/ProjectInvitationResolveDto.cs rename to src/Coscine.ApiClient/Model/ProjectInvitationResolveDto.cs index da6b45b..45c3f9b 100644 --- a/src/Org.OpenAPITools/Model/ProjectInvitationResolveDto.cs +++ b/src/Coscine.ApiClient/Model/ProjectInvitationResolveDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectInvitationResolveDto diff --git a/src/Org.OpenAPITools/Model/ProjectMinimalDto.cs b/src/Coscine.ApiClient/Model/ProjectMinimalDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/ProjectMinimalDto.cs rename to src/Coscine.ApiClient/Model/ProjectMinimalDto.cs index 675dcce..a8c4b63 100644 --- a/src/Org.OpenAPITools/Model/ProjectMinimalDto.cs +++ b/src/Coscine.ApiClient/Model/ProjectMinimalDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectMinimalDto diff --git a/src/Org.OpenAPITools/Model/ProjectQuotaDto.cs b/src/Coscine.ApiClient/Model/ProjectQuotaDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/ProjectQuotaDto.cs rename to src/Coscine.ApiClient/Model/ProjectQuotaDto.cs index 0aed368..3cc7d21 100644 --- a/src/Org.OpenAPITools/Model/ProjectQuotaDto.cs +++ b/src/Coscine.ApiClient/Model/ProjectQuotaDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectQuotaDto diff --git a/src/Org.OpenAPITools/Model/ProjectQuotaDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/ProjectQuotaDtoPagedResponse.cs similarity index 85% rename from src/Org.OpenAPITools/Model/ProjectQuotaDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/ProjectQuotaDtoPagedResponse.cs index cfa63e2..acbc5b0 100644 --- a/src/Org.OpenAPITools/Model/ProjectQuotaDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/ProjectQuotaDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// ProjectQuotaDtoIEnumerablePagedResponse + /// ProjectQuotaDtoPagedResponse /// </summary> - [DataContract(Name = "ProjectQuotaDtoIEnumerablePagedResponse")] - public partial class ProjectQuotaDtoIEnumerablePagedResponse : IEquatable<ProjectQuotaDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "ProjectQuotaDtoPagedResponse")] + public partial class ProjectQuotaDtoPagedResponse : IEquatable<ProjectQuotaDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="ProjectQuotaDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="ProjectQuotaDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public ProjectQuotaDtoIEnumerablePagedResponse(List<ProjectQuotaDto> data = default(List<ProjectQuotaDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public ProjectQuotaDtoPagedResponse(List<ProjectQuotaDto> data = default(List<ProjectQuotaDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<ProjectQuotaDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class ProjectQuotaDtoIEnumerablePagedResponse {\n"); + sb.Append("class ProjectQuotaDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as ProjectQuotaDtoIEnumerablePagedResponse); + return this.Equals(input as ProjectQuotaDtoPagedResponse); } /// <summary> - /// Returns true if ProjectQuotaDtoIEnumerablePagedResponse instances are equal + /// Returns true if ProjectQuotaDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of ProjectQuotaDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of ProjectQuotaDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(ProjectQuotaDtoIEnumerablePagedResponse input) + public bool Equals(ProjectQuotaDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ProjectQuotaDtoResponse.cs b/src/Coscine.ApiClient/Model/ProjectQuotaDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ProjectQuotaDtoResponse.cs rename to src/Coscine.ApiClient/Model/ProjectQuotaDtoResponse.cs index 9a3ac22..fbb3941 100644 --- a/src/Org.OpenAPITools/Model/ProjectQuotaDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/ProjectQuotaDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectQuotaDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public ProjectQuotaDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class ProjectQuotaDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ProjectQuotaForUpdateDto.cs b/src/Coscine.ApiClient/Model/ProjectQuotaForUpdateDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ProjectQuotaForUpdateDto.cs rename to src/Coscine.ApiClient/Model/ProjectQuotaForUpdateDto.cs index db7b6ac..c89a8fa 100644 --- a/src/Org.OpenAPITools/Model/ProjectQuotaForUpdateDto.cs +++ b/src/Coscine.ApiClient/Model/ProjectQuotaForUpdateDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectQuotaForUpdateDto diff --git a/src/Org.OpenAPITools/Model/ProjectResourceMinimalDto.cs b/src/Coscine.ApiClient/Model/ProjectResourceMinimalDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ProjectResourceMinimalDto.cs rename to src/Coscine.ApiClient/Model/ProjectResourceMinimalDto.cs index 0432f24..cb4aa04 100644 --- a/src/Org.OpenAPITools/Model/ProjectResourceMinimalDto.cs +++ b/src/Coscine.ApiClient/Model/ProjectResourceMinimalDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectResourceMinimalDto diff --git a/src/Org.OpenAPITools/Model/ProjectRoleDto.cs b/src/Coscine.ApiClient/Model/ProjectRoleDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ProjectRoleDto.cs rename to src/Coscine.ApiClient/Model/ProjectRoleDto.cs index da7cf52..7c3e0fc 100644 --- a/src/Org.OpenAPITools/Model/ProjectRoleDto.cs +++ b/src/Coscine.ApiClient/Model/ProjectRoleDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectRoleDto diff --git a/src/Org.OpenAPITools/Model/ProjectRoleDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/ProjectRoleDtoPagedResponse.cs similarity index 85% rename from src/Org.OpenAPITools/Model/ProjectRoleDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/ProjectRoleDtoPagedResponse.cs index 362b42c..8769324 100644 --- a/src/Org.OpenAPITools/Model/ProjectRoleDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/ProjectRoleDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// ProjectRoleDtoIEnumerablePagedResponse + /// ProjectRoleDtoPagedResponse /// </summary> - [DataContract(Name = "ProjectRoleDtoIEnumerablePagedResponse")] - public partial class ProjectRoleDtoIEnumerablePagedResponse : IEquatable<ProjectRoleDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "ProjectRoleDtoPagedResponse")] + public partial class ProjectRoleDtoPagedResponse : IEquatable<ProjectRoleDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="ProjectRoleDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="ProjectRoleDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public ProjectRoleDtoIEnumerablePagedResponse(List<ProjectRoleDto> data = default(List<ProjectRoleDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public ProjectRoleDtoPagedResponse(List<ProjectRoleDto> data = default(List<ProjectRoleDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<ProjectRoleDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class ProjectRoleDtoIEnumerablePagedResponse {\n"); + sb.Append("class ProjectRoleDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as ProjectRoleDtoIEnumerablePagedResponse); + return this.Equals(input as ProjectRoleDtoPagedResponse); } /// <summary> - /// Returns true if ProjectRoleDtoIEnumerablePagedResponse instances are equal + /// Returns true if ProjectRoleDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of ProjectRoleDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of ProjectRoleDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(ProjectRoleDtoIEnumerablePagedResponse input) + public bool Equals(ProjectRoleDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ProjectRoleDtoResponse.cs b/src/Coscine.ApiClient/Model/ProjectRoleDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ProjectRoleDtoResponse.cs rename to src/Coscine.ApiClient/Model/ProjectRoleDtoResponse.cs index 9699c6b..cb26c95 100644 --- a/src/Org.OpenAPITools/Model/ProjectRoleDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/ProjectRoleDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectRoleDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public ProjectRoleDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class ProjectRoleDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ProjectRoleForProjectCreationDto.cs b/src/Coscine.ApiClient/Model/ProjectRoleForProjectCreationDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ProjectRoleForProjectCreationDto.cs rename to src/Coscine.ApiClient/Model/ProjectRoleForProjectCreationDto.cs index 11485ed..ed92ed0 100644 --- a/src/Org.OpenAPITools/Model/ProjectRoleForProjectCreationDto.cs +++ b/src/Coscine.ApiClient/Model/ProjectRoleForProjectCreationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectRoleForProjectCreationDto diff --git a/src/Org.OpenAPITools/Model/ProjectRoleForProjectManipulationDto.cs b/src/Coscine.ApiClient/Model/ProjectRoleForProjectManipulationDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/ProjectRoleForProjectManipulationDto.cs rename to src/Coscine.ApiClient/Model/ProjectRoleForProjectManipulationDto.cs index ac852d6..51e23e7 100644 --- a/src/Org.OpenAPITools/Model/ProjectRoleForProjectManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/ProjectRoleForProjectManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectRoleForProjectManipulationDto diff --git a/src/Org.OpenAPITools/Model/ProjectRoleMinimalDto.cs b/src/Coscine.ApiClient/Model/ProjectRoleMinimalDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ProjectRoleMinimalDto.cs rename to src/Coscine.ApiClient/Model/ProjectRoleMinimalDto.cs index 06b65e9..14d3c2e 100644 --- a/src/Org.OpenAPITools/Model/ProjectRoleMinimalDto.cs +++ b/src/Coscine.ApiClient/Model/ProjectRoleMinimalDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ProjectRoleMinimalDto diff --git a/src/Org.OpenAPITools/Model/PublicUserDto.cs b/src/Coscine.ApiClient/Model/PublicUserDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/PublicUserDto.cs rename to src/Coscine.ApiClient/Model/PublicUserDto.cs index edc24d0..2ee0940 100644 --- a/src/Org.OpenAPITools/Model/PublicUserDto.cs +++ b/src/Coscine.ApiClient/Model/PublicUserDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// PublicUserDto diff --git a/src/Org.OpenAPITools/Model/PublicUserDtoIEnumerableResponse.cs b/src/Coscine.ApiClient/Model/PublicUserDtoIEnumerableResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/PublicUserDtoIEnumerableResponse.cs rename to src/Coscine.ApiClient/Model/PublicUserDtoIEnumerableResponse.cs index c74f3bd..c47da05 100644 --- a/src/Org.OpenAPITools/Model/PublicUserDtoIEnumerableResponse.cs +++ b/src/Coscine.ApiClient/Model/PublicUserDtoIEnumerableResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// PublicUserDtoIEnumerableResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<PublicUserDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class PublicUserDtoIEnumerableResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -130,15 +130,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -159,11 +159,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/QuotaDto.cs b/src/Coscine.ApiClient/Model/QuotaDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/QuotaDto.cs rename to src/Coscine.ApiClient/Model/QuotaDto.cs index fe2201e..0b7cfda 100644 --- a/src/Org.OpenAPITools/Model/QuotaDto.cs +++ b/src/Coscine.ApiClient/Model/QuotaDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// QuotaDto diff --git a/src/Org.OpenAPITools/Model/QuotaForManipulationDto.cs b/src/Coscine.ApiClient/Model/QuotaForManipulationDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/QuotaForManipulationDto.cs rename to src/Coscine.ApiClient/Model/QuotaForManipulationDto.cs index 34dbc74..3942017 100644 --- a/src/Org.OpenAPITools/Model/QuotaForManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/QuotaForManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// QuotaForManipulationDto diff --git a/src/Org.OpenAPITools/Model/QuotaUnit.cs b/src/Coscine.ApiClient/Model/QuotaUnit.cs similarity index 93% rename from src/Org.OpenAPITools/Model/QuotaUnit.cs rename to src/Coscine.ApiClient/Model/QuotaUnit.cs index 46c792a..63b6541 100644 --- a/src/Org.OpenAPITools/Model/QuotaUnit.cs +++ b/src/Coscine.ApiClient/Model/QuotaUnit.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// Defines QuotaUnit diff --git a/src/Org.OpenAPITools/Model/RdfDefinitionDto.cs b/src/Coscine.ApiClient/Model/RdfDefinitionDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/RdfDefinitionDto.cs rename to src/Coscine.ApiClient/Model/RdfDefinitionDto.cs index 5e4c83b..3c64786 100644 --- a/src/Org.OpenAPITools/Model/RdfDefinitionDto.cs +++ b/src/Coscine.ApiClient/Model/RdfDefinitionDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// RdfDefinitionDto diff --git a/src/Org.OpenAPITools/Model/RdfDefinitionDtoResponse.cs b/src/Coscine.ApiClient/Model/RdfDefinitionDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/RdfDefinitionDtoResponse.cs rename to src/Coscine.ApiClient/Model/RdfDefinitionDtoResponse.cs index 15ad593..4406ace 100644 --- a/src/Org.OpenAPITools/Model/RdfDefinitionDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/RdfDefinitionDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// RdfDefinitionDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public RdfDefinitionDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class RdfDefinitionDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/RdfDefinitionForManipulationDto.cs b/src/Coscine.ApiClient/Model/RdfDefinitionForManipulationDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/RdfDefinitionForManipulationDto.cs rename to src/Coscine.ApiClient/Model/RdfDefinitionForManipulationDto.cs index 099d94b..a91cbd8 100644 --- a/src/Org.OpenAPITools/Model/RdfDefinitionForManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/RdfDefinitionForManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// RdfDefinitionForManipulationDto diff --git a/src/Org.OpenAPITools/Model/RdfFormat.cs b/src/Coscine.ApiClient/Model/RdfFormat.cs similarity index 89% rename from src/Org.OpenAPITools/Model/RdfFormat.cs rename to src/Coscine.ApiClient/Model/RdfFormat.cs index ca87b60..fdb57bf 100644 --- a/src/Org.OpenAPITools/Model/RdfFormat.cs +++ b/src/Coscine.ApiClient/Model/RdfFormat.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// Defines RdfFormat diff --git a/src/Org.OpenAPITools/Model/RdsOptionsDto.cs b/src/Coscine.ApiClient/Model/RdsOptionsDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/RdsOptionsDto.cs rename to src/Coscine.ApiClient/Model/RdsOptionsDto.cs index cb9f0ab..3ac1600 100644 --- a/src/Org.OpenAPITools/Model/RdsOptionsDto.cs +++ b/src/Coscine.ApiClient/Model/RdsOptionsDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// RdsOptionsDto diff --git a/src/Org.OpenAPITools/Model/RdsResourceTypeOptionsForManipulationDto.cs b/src/Coscine.ApiClient/Model/RdsResourceTypeOptionsForManipulationDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/RdsResourceTypeOptionsForManipulationDto.cs rename to src/Coscine.ApiClient/Model/RdsResourceTypeOptionsForManipulationDto.cs index ef171a5..99ece00 100644 --- a/src/Org.OpenAPITools/Model/RdsResourceTypeOptionsForManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/RdsResourceTypeOptionsForManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// RdsResourceTypeOptionsForManipulationDto diff --git a/src/Org.OpenAPITools/Model/RdsS3OptionsDto.cs b/src/Coscine.ApiClient/Model/RdsS3OptionsDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/RdsS3OptionsDto.cs rename to src/Coscine.ApiClient/Model/RdsS3OptionsDto.cs index 945553f..16ebad4 100644 --- a/src/Org.OpenAPITools/Model/RdsS3OptionsDto.cs +++ b/src/Coscine.ApiClient/Model/RdsS3OptionsDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// RdsS3OptionsDto diff --git a/src/Org.OpenAPITools/Model/RdsS3ResourceTypeOptionsForManipulationDto.cs b/src/Coscine.ApiClient/Model/RdsS3ResourceTypeOptionsForManipulationDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/RdsS3ResourceTypeOptionsForManipulationDto.cs rename to src/Coscine.ApiClient/Model/RdsS3ResourceTypeOptionsForManipulationDto.cs index 5b6206d..12aba0c 100644 --- a/src/Org.OpenAPITools/Model/RdsS3ResourceTypeOptionsForManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/RdsS3ResourceTypeOptionsForManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// RdsS3ResourceTypeOptionsForManipulationDto diff --git a/src/Org.OpenAPITools/Model/RdsS3WormOptionsDto.cs b/src/Coscine.ApiClient/Model/RdsS3WormOptionsDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/RdsS3WormOptionsDto.cs rename to src/Coscine.ApiClient/Model/RdsS3WormOptionsDto.cs index a8fde3c..7a2f51c 100644 --- a/src/Org.OpenAPITools/Model/RdsS3WormOptionsDto.cs +++ b/src/Coscine.ApiClient/Model/RdsS3WormOptionsDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// RdsS3WormOptionsDto diff --git a/src/Org.OpenAPITools/Model/RdsS3WormResourceTypeOptionsForManipulationDto.cs b/src/Coscine.ApiClient/Model/RdsS3WormResourceTypeOptionsForManipulationDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/RdsS3WormResourceTypeOptionsForManipulationDto.cs rename to src/Coscine.ApiClient/Model/RdsS3WormResourceTypeOptionsForManipulationDto.cs index c20e665..442312b 100644 --- a/src/Org.OpenAPITools/Model/RdsS3WormResourceTypeOptionsForManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/RdsS3WormResourceTypeOptionsForManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// RdsS3WormResourceTypeOptionsForManipulationDto diff --git a/src/Org.OpenAPITools/Model/ResourceAdminDto.cs b/src/Coscine.ApiClient/Model/ResourceAdminDto.cs similarity index 99% rename from src/Org.OpenAPITools/Model/ResourceAdminDto.cs rename to src/Coscine.ApiClient/Model/ResourceAdminDto.cs index e60ee84..24f545d 100644 --- a/src/Org.OpenAPITools/Model/ResourceAdminDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceAdminDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceAdminDto diff --git a/src/Org.OpenAPITools/Model/ResourceAdminDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/ResourceAdminDtoPagedResponse.cs similarity index 85% rename from src/Org.OpenAPITools/Model/ResourceAdminDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/ResourceAdminDtoPagedResponse.cs index b8345bb..20b9b4c 100644 --- a/src/Org.OpenAPITools/Model/ResourceAdminDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/ResourceAdminDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// ResourceAdminDtoIEnumerablePagedResponse + /// ResourceAdminDtoPagedResponse /// </summary> - [DataContract(Name = "ResourceAdminDtoIEnumerablePagedResponse")] - public partial class ResourceAdminDtoIEnumerablePagedResponse : IEquatable<ResourceAdminDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "ResourceAdminDtoPagedResponse")] + public partial class ResourceAdminDtoPagedResponse : IEquatable<ResourceAdminDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="ResourceAdminDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="ResourceAdminDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public ResourceAdminDtoIEnumerablePagedResponse(List<ResourceAdminDto> data = default(List<ResourceAdminDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public ResourceAdminDtoPagedResponse(List<ResourceAdminDto> data = default(List<ResourceAdminDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<ResourceAdminDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class ResourceAdminDtoIEnumerablePagedResponse {\n"); + sb.Append("class ResourceAdminDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as ResourceAdminDtoIEnumerablePagedResponse); + return this.Equals(input as ResourceAdminDtoPagedResponse); } /// <summary> - /// Returns true if ResourceAdminDtoIEnumerablePagedResponse instances are equal + /// Returns true if ResourceAdminDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of ResourceAdminDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of ResourceAdminDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(ResourceAdminDtoIEnumerablePagedResponse input) + public bool Equals(ResourceAdminDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ResourceContentPageColumnsDto.cs b/src/Coscine.ApiClient/Model/ResourceContentPageColumnsDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/ResourceContentPageColumnsDto.cs rename to src/Coscine.ApiClient/Model/ResourceContentPageColumnsDto.cs index 51cfdef..3cae3b3 100644 --- a/src/Org.OpenAPITools/Model/ResourceContentPageColumnsDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceContentPageColumnsDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceContentPageColumnsDto diff --git a/src/Org.OpenAPITools/Model/ResourceContentPageDto.cs b/src/Coscine.ApiClient/Model/ResourceContentPageDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ResourceContentPageDto.cs rename to src/Coscine.ApiClient/Model/ResourceContentPageDto.cs index ca4b21c..769011e 100644 --- a/src/Org.OpenAPITools/Model/ResourceContentPageDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceContentPageDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceContentPageDto diff --git a/src/Org.OpenAPITools/Model/ResourceContentPageEntriesViewDto.cs b/src/Coscine.ApiClient/Model/ResourceContentPageEntriesViewDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/ResourceContentPageEntriesViewDto.cs rename to src/Coscine.ApiClient/Model/ResourceContentPageEntriesViewDto.cs index 20fe5c8..89f93fd 100644 --- a/src/Org.OpenAPITools/Model/ResourceContentPageEntriesViewDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceContentPageEntriesViewDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceContentPageEntriesViewDto diff --git a/src/Org.OpenAPITools/Model/ResourceContentPageMetadataViewDto.cs b/src/Coscine.ApiClient/Model/ResourceContentPageMetadataViewDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ResourceContentPageMetadataViewDto.cs rename to src/Coscine.ApiClient/Model/ResourceContentPageMetadataViewDto.cs index 406a44b..d304416 100644 --- a/src/Org.OpenAPITools/Model/ResourceContentPageMetadataViewDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceContentPageMetadataViewDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceContentPageMetadataViewDto diff --git a/src/Org.OpenAPITools/Model/ResourceCreationPageDto.cs b/src/Coscine.ApiClient/Model/ResourceCreationPageDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/ResourceCreationPageDto.cs rename to src/Coscine.ApiClient/Model/ResourceCreationPageDto.cs index 5c4f59d..477c76e 100644 --- a/src/Org.OpenAPITools/Model/ResourceCreationPageDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceCreationPageDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceCreationPageDto diff --git a/src/Org.OpenAPITools/Model/ResourceDto.cs b/src/Coscine.ApiClient/Model/ResourceDto.cs similarity index 99% rename from src/Org.OpenAPITools/Model/ResourceDto.cs rename to src/Coscine.ApiClient/Model/ResourceDto.cs index 36e3b61..888f367 100644 --- a/src/Org.OpenAPITools/Model/ResourceDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceDto diff --git a/src/Org.OpenAPITools/Model/ResourceDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/ResourceDtoPagedResponse.cs similarity index 86% rename from src/Org.OpenAPITools/Model/ResourceDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/ResourceDtoPagedResponse.cs index f6c27c2..3f3f7b6 100644 --- a/src/Org.OpenAPITools/Model/ResourceDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/ResourceDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// ResourceDtoIEnumerablePagedResponse + /// ResourceDtoPagedResponse /// </summary> - [DataContract(Name = "ResourceDtoIEnumerablePagedResponse")] - public partial class ResourceDtoIEnumerablePagedResponse : IEquatable<ResourceDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "ResourceDtoPagedResponse")] + public partial class ResourceDtoPagedResponse : IEquatable<ResourceDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="ResourceDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="ResourceDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public ResourceDtoIEnumerablePagedResponse(List<ResourceDto> data = default(List<ResourceDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public ResourceDtoPagedResponse(List<ResourceDto> data = default(List<ResourceDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<ResourceDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class ResourceDtoIEnumerablePagedResponse {\n"); + sb.Append("class ResourceDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as ResourceDtoIEnumerablePagedResponse); + return this.Equals(input as ResourceDtoPagedResponse); } /// <summary> - /// Returns true if ResourceDtoIEnumerablePagedResponse instances are equal + /// Returns true if ResourceDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of ResourceDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of ResourceDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(ResourceDtoIEnumerablePagedResponse input) + public bool Equals(ResourceDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ResourceDtoResponse.cs b/src/Coscine.ApiClient/Model/ResourceDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ResourceDtoResponse.cs rename to src/Coscine.ApiClient/Model/ResourceDtoResponse.cs index ce888a4..5df63b6 100644 --- a/src/Org.OpenAPITools/Model/ResourceDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/ResourceDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public ResourceDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class ResourceDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ResourceForCreationDto.cs b/src/Coscine.ApiClient/Model/ResourceForCreationDto.cs similarity index 99% rename from src/Org.OpenAPITools/Model/ResourceForCreationDto.cs rename to src/Coscine.ApiClient/Model/ResourceForCreationDto.cs index bb488ee..85fe9fe 100644 --- a/src/Org.OpenAPITools/Model/ResourceForCreationDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceForCreationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceForCreationDto diff --git a/src/Org.OpenAPITools/Model/ResourceForUpdateDto.cs b/src/Coscine.ApiClient/Model/ResourceForUpdateDto.cs similarity index 99% rename from src/Org.OpenAPITools/Model/ResourceForUpdateDto.cs rename to src/Coscine.ApiClient/Model/ResourceForUpdateDto.cs index c15ad2a..fd9d76b 100644 --- a/src/Org.OpenAPITools/Model/ResourceForUpdateDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceForUpdateDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceForUpdateDto diff --git a/src/Org.OpenAPITools/Model/ResourceMinimalDto.cs b/src/Coscine.ApiClient/Model/ResourceMinimalDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/ResourceMinimalDto.cs rename to src/Coscine.ApiClient/Model/ResourceMinimalDto.cs index 59f2534..a4ea527 100644 --- a/src/Org.OpenAPITools/Model/ResourceMinimalDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceMinimalDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceMinimalDto diff --git a/src/Org.OpenAPITools/Model/ResourceQuotaDto.cs b/src/Coscine.ApiClient/Model/ResourceQuotaDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ResourceQuotaDto.cs rename to src/Coscine.ApiClient/Model/ResourceQuotaDto.cs index 115179d..84b8d7e 100644 --- a/src/Org.OpenAPITools/Model/ResourceQuotaDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceQuotaDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceQuotaDto diff --git a/src/Org.OpenAPITools/Model/ResourceQuotaDtoResponse.cs b/src/Coscine.ApiClient/Model/ResourceQuotaDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ResourceQuotaDtoResponse.cs rename to src/Coscine.ApiClient/Model/ResourceQuotaDtoResponse.cs index a08d839..9c1b4e7 100644 --- a/src/Org.OpenAPITools/Model/ResourceQuotaDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/ResourceQuotaDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceQuotaDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public ResourceQuotaDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class ResourceQuotaDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ResourceTypeDto.cs b/src/Coscine.ApiClient/Model/ResourceTypeDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ResourceTypeDto.cs rename to src/Coscine.ApiClient/Model/ResourceTypeDto.cs index ce6ae33..5d17d2a 100644 --- a/src/Org.OpenAPITools/Model/ResourceTypeDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceTypeDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceTypeDto diff --git a/src/Org.OpenAPITools/Model/ResourceTypeInformationDto.cs b/src/Coscine.ApiClient/Model/ResourceTypeInformationDto.cs similarity index 99% rename from src/Org.OpenAPITools/Model/ResourceTypeInformationDto.cs rename to src/Coscine.ApiClient/Model/ResourceTypeInformationDto.cs index 73ed4a0..f0a587f 100644 --- a/src/Org.OpenAPITools/Model/ResourceTypeInformationDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceTypeInformationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceTypeInformationDto diff --git a/src/Org.OpenAPITools/Model/ResourceTypeInformationDtoIEnumerableResponse.cs b/src/Coscine.ApiClient/Model/ResourceTypeInformationDtoIEnumerableResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ResourceTypeInformationDtoIEnumerableResponse.cs rename to src/Coscine.ApiClient/Model/ResourceTypeInformationDtoIEnumerableResponse.cs index 28f57f8..a78ed3d 100644 --- a/src/Org.OpenAPITools/Model/ResourceTypeInformationDtoIEnumerableResponse.cs +++ b/src/Coscine.ApiClient/Model/ResourceTypeInformationDtoIEnumerableResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceTypeInformationDtoIEnumerableResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<ResourceTypeInformationDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class ResourceTypeInformationDtoIEnumerableResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -130,15 +130,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -159,11 +159,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ResourceTypeInformationDtoResponse.cs b/src/Coscine.ApiClient/Model/ResourceTypeInformationDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ResourceTypeInformationDtoResponse.cs rename to src/Coscine.ApiClient/Model/ResourceTypeInformationDtoResponse.cs index a288f58..4bd6201 100644 --- a/src/Org.OpenAPITools/Model/ResourceTypeInformationDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/ResourceTypeInformationDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceTypeInformationDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public ResourceTypeInformationDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class ResourceTypeInformationDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/ResourceTypeMinimalDto.cs b/src/Coscine.ApiClient/Model/ResourceTypeMinimalDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ResourceTypeMinimalDto.cs rename to src/Coscine.ApiClient/Model/ResourceTypeMinimalDto.cs index 51f33eb..19ded08 100644 --- a/src/Org.OpenAPITools/Model/ResourceTypeMinimalDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceTypeMinimalDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceTypeMinimalDto diff --git a/src/Org.OpenAPITools/Model/ResourceTypeOptionsDto.cs b/src/Coscine.ApiClient/Model/ResourceTypeOptionsDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/ResourceTypeOptionsDto.cs rename to src/Coscine.ApiClient/Model/ResourceTypeOptionsDto.cs index aee1892..621138f 100644 --- a/src/Org.OpenAPITools/Model/ResourceTypeOptionsDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceTypeOptionsDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceTypeOptionsDto diff --git a/src/Org.OpenAPITools/Model/ResourceTypeOptionsForCreationDto.cs b/src/Coscine.ApiClient/Model/ResourceTypeOptionsForCreationDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/ResourceTypeOptionsForCreationDto.cs rename to src/Coscine.ApiClient/Model/ResourceTypeOptionsForCreationDto.cs index 7a6bb90..6db00fc 100644 --- a/src/Org.OpenAPITools/Model/ResourceTypeOptionsForCreationDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceTypeOptionsForCreationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceTypeOptionsForCreationDto diff --git a/src/Org.OpenAPITools/Model/ResourceTypeOptionsForUpdateDto.cs b/src/Coscine.ApiClient/Model/ResourceTypeOptionsForUpdateDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/ResourceTypeOptionsForUpdateDto.cs rename to src/Coscine.ApiClient/Model/ResourceTypeOptionsForUpdateDto.cs index d7c6164..f818559 100644 --- a/src/Org.OpenAPITools/Model/ResourceTypeOptionsForUpdateDto.cs +++ b/src/Coscine.ApiClient/Model/ResourceTypeOptionsForUpdateDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// ResourceTypeOptionsForUpdateDto diff --git a/src/Org.OpenAPITools/Model/ResourceTypeStatus.cs b/src/Coscine.ApiClient/Model/ResourceTypeStatus.cs similarity index 88% rename from src/Org.OpenAPITools/Model/ResourceTypeStatus.cs rename to src/Coscine.ApiClient/Model/ResourceTypeStatus.cs index 1f30fe1..d6a86df 100644 --- a/src/Org.OpenAPITools/Model/ResourceTypeStatus.cs +++ b/src/Coscine.ApiClient/Model/ResourceTypeStatus.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// Defines ResourceTypeStatus diff --git a/src/Org.OpenAPITools/Model/RoleDto.cs b/src/Coscine.ApiClient/Model/RoleDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/RoleDto.cs rename to src/Coscine.ApiClient/Model/RoleDto.cs index 3e7aa5f..fb2ad7e 100644 --- a/src/Org.OpenAPITools/Model/RoleDto.cs +++ b/src/Coscine.ApiClient/Model/RoleDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// RoleDto diff --git a/src/Org.OpenAPITools/Model/RoleDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/RoleDtoPagedResponse.cs similarity index 86% rename from src/Org.OpenAPITools/Model/RoleDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/RoleDtoPagedResponse.cs index 5a3608c..cfd196e 100644 --- a/src/Org.OpenAPITools/Model/RoleDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/RoleDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// RoleDtoIEnumerablePagedResponse + /// RoleDtoPagedResponse /// </summary> - [DataContract(Name = "RoleDtoIEnumerablePagedResponse")] - public partial class RoleDtoIEnumerablePagedResponse : IEquatable<RoleDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "RoleDtoPagedResponse")] + public partial class RoleDtoPagedResponse : IEquatable<RoleDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="RoleDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="RoleDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public RoleDtoIEnumerablePagedResponse(List<RoleDto> data = default(List<RoleDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public RoleDtoPagedResponse(List<RoleDto> data = default(List<RoleDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<RoleDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class RoleDtoIEnumerablePagedResponse {\n"); + sb.Append("class RoleDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as RoleDtoIEnumerablePagedResponse); + return this.Equals(input as RoleDtoPagedResponse); } /// <summary> - /// Returns true if RoleDtoIEnumerablePagedResponse instances are equal + /// Returns true if RoleDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of RoleDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of RoleDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(RoleDtoIEnumerablePagedResponse input) + public bool Equals(RoleDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/RoleDtoResponse.cs b/src/Coscine.ApiClient/Model/RoleDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/RoleDtoResponse.cs rename to src/Coscine.ApiClient/Model/RoleDtoResponse.cs index f4d7bc7..6365530 100644 --- a/src/Org.OpenAPITools/Model/RoleDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/RoleDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// RoleDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public RoleDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class RoleDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/RoleMinimalDto.cs b/src/Coscine.ApiClient/Model/RoleMinimalDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/RoleMinimalDto.cs rename to src/Coscine.ApiClient/Model/RoleMinimalDto.cs index df800bf..9043d55 100644 --- a/src/Org.OpenAPITools/Model/RoleMinimalDto.cs +++ b/src/Coscine.ApiClient/Model/RoleMinimalDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// RoleMinimalDto diff --git a/src/Coscine.ApiClient/Model/SearchCategory.cs b/src/Coscine.ApiClient/Model/SearchCategory.cs new file mode 100644 index 0000000..385429d --- /dev/null +++ b/src/Coscine.ApiClient/Model/SearchCategory.cs @@ -0,0 +1,143 @@ +/* + * Coscine Web API (Internal Use Only) + * + * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. + * + * The version of the OpenAPI document: 2.0 + * Contact: servicedesk@itc.rwth-aachen.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; + +namespace Coscine.ApiClient.Model +{ + /// <summary> + /// SearchCategory + /// </summary> + [DataContract(Name = "SearchCategory")] + public partial class SearchCategory : IEquatable<SearchCategory>, IValidatableObject + { + /// <summary> + /// Initializes a new instance of the <see cref="SearchCategory" /> class. + /// </summary> + /// <param name="name">name.</param> + /// <param name="count">count.</param> + public SearchCategory(string name = default(string), long count = default(long)) + { + this.Name = name; + this.Count = count; + } + + /// <summary> + /// Gets or Sets Name + /// </summary> + [DataMember(Name = "name", EmitDefaultValue = false)] + public string Name { get; set; } + + /// <summary> + /// Gets or Sets Count + /// </summary> + [DataMember(Name = "count", EmitDefaultValue = false)] + public long Count { get; set; } + + /// <summary> + /// Returns the string presentation of the object + /// </summary> + /// <returns>String presentation of the object</returns> + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class SearchCategory {\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Count: ").Append(Count).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// <summary> + /// Returns the JSON string presentation of the object + /// </summary> + /// <returns>JSON string presentation of the object</returns> + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// <summary> + /// Returns true if objects are equal + /// </summary> + /// <param name="input">Object to be compared</param> + /// <returns>Boolean</returns> + public override bool Equals(object input) + { + return this.Equals(input as SearchCategory); + } + + /// <summary> + /// Returns true if SearchCategory instances are equal + /// </summary> + /// <param name="input">Instance of SearchCategory to be compared</param> + /// <returns>Boolean</returns> + public bool Equals(SearchCategory input) + { + if (input == null) + { + return false; + } + return + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Count == input.Count || + this.Count.Equals(input.Count) + ); + } + + /// <summary> + /// Gets the hash code + /// </summary> + /// <returns>Hash code</returns> + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Name != null) + { + hashCode = (hashCode * 59) + this.Name.GetHashCode(); + } + hashCode = (hashCode * 59) + this.Count.GetHashCode(); + return hashCode; + } + } + + /// <summary> + /// To validate all properties of the instance + /// </summary> + /// <param name="validationContext">Validation context</param> + /// <returns>Validation Result</returns> + IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Org.OpenAPITools/Model/SearchCategoryType.cs b/src/Coscine.ApiClient/Model/SearchCategoryType.cs similarity index 92% rename from src/Org.OpenAPITools/Model/SearchCategoryType.cs rename to src/Coscine.ApiClient/Model/SearchCategoryType.cs index 55662ca..b462228 100644 --- a/src/Org.OpenAPITools/Model/SearchCategoryType.cs +++ b/src/Coscine.ApiClient/Model/SearchCategoryType.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// Defines SearchCategoryType diff --git a/src/Org.OpenAPITools/Model/SearchResultDto.cs b/src/Coscine.ApiClient/Model/SearchResultDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/SearchResultDto.cs rename to src/Coscine.ApiClient/Model/SearchResultDto.cs index bf3fbd3..0a14b08 100644 --- a/src/Org.OpenAPITools/Model/SearchResultDto.cs +++ b/src/Coscine.ApiClient/Model/SearchResultDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// SearchResultDto diff --git a/src/Org.OpenAPITools/Model/SearchResultDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/SearchResultDtoPagedSearchResponse.cs similarity index 77% rename from src/Org.OpenAPITools/Model/SearchResultDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/SearchResultDtoPagedSearchResponse.cs index 6d2e627..bd94b52 100644 --- a/src/Org.OpenAPITools/Model/SearchResultDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/SearchResultDtoPagedSearchResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,29 +22,31 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// SearchResultDtoIEnumerablePagedResponse + /// SearchResultDtoPagedSearchResponse /// </summary> - [DataContract(Name = "SearchResultDtoIEnumerablePagedResponse")] - public partial class SearchResultDtoIEnumerablePagedResponse : IEquatable<SearchResultDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "SearchResultDtoPagedSearchResponse")] + public partial class SearchResultDtoPagedSearchResponse : IEquatable<SearchResultDtoPagedSearchResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="SearchResultDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="SearchResultDtoPagedSearchResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public SearchResultDtoIEnumerablePagedResponse(List<SearchResultDto> data = default(List<SearchResultDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + /// <param name="categories">categories.</param> + public SearchResultDtoPagedSearchResponse(List<SearchResultDto> data = default(List<SearchResultDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination), List<SearchCategory> categories = default(List<SearchCategory>)) { this.Data = data; this.StatusCode = statusCode; this.TraceId = traceId; this.Pagination = pagination; + this.Categories = categories; } /// <summary> @@ -53,12 +55,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<SearchResultDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +69,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -85,6 +87,12 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "pagination", EmitDefaultValue = false)] public Pagination Pagination { get; set; } + /// <summary> + /// Gets or Sets Categories + /// </summary> + [DataMember(Name = "categories", EmitDefaultValue = true)] + public List<SearchCategory> Categories { get; set; } + /// <summary> /// Returns the string presentation of the object /// </summary> @@ -92,12 +100,13 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class SearchResultDtoIEnumerablePagedResponse {\n"); + sb.Append("class SearchResultDtoPagedSearchResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); + sb.Append(" Categories: ").Append(Categories).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -118,15 +127,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as SearchResultDtoIEnumerablePagedResponse); + return this.Equals(input as SearchResultDtoPagedSearchResponse); } /// <summary> - /// Returns true if SearchResultDtoIEnumerablePagedResponse instances are equal + /// Returns true if SearchResultDtoPagedSearchResponse instances are equal /// </summary> - /// <param name="input">Instance of SearchResultDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of SearchResultDtoPagedSearchResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(SearchResultDtoIEnumerablePagedResponse input) + public bool Equals(SearchResultDtoPagedSearchResponse input) { if (input == null) { @@ -139,15 +148,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -157,6 +166,12 @@ namespace Org.OpenAPITools.Model this.Pagination == input.Pagination || (this.Pagination != null && this.Pagination.Equals(input.Pagination)) + ) && + ( + this.Categories == input.Categories || + this.Categories != null && + input.Categories != null && + this.Categories.SequenceEqual(input.Categories) ); } @@ -173,11 +188,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); @@ -186,6 +201,10 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Pagination.GetHashCode(); } + if (this.Categories != null) + { + hashCode = (hashCode * 59) + this.Categories.GetHashCode(); + } return hashCode; } } diff --git a/src/Org.OpenAPITools/Model/TermsOfServiceDto.cs b/src/Coscine.ApiClient/Model/TermsOfServiceDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/TermsOfServiceDto.cs rename to src/Coscine.ApiClient/Model/TermsOfServiceDto.cs index 85c8344..2cc28df 100644 --- a/src/Org.OpenAPITools/Model/TermsOfServiceDto.cs +++ b/src/Coscine.ApiClient/Model/TermsOfServiceDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// TermsOfServiceDto diff --git a/src/Org.OpenAPITools/Model/TermsOfServiceDtoResponse.cs b/src/Coscine.ApiClient/Model/TermsOfServiceDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/TermsOfServiceDtoResponse.cs rename to src/Coscine.ApiClient/Model/TermsOfServiceDtoResponse.cs index 5d2c029..02ee33d 100644 --- a/src/Org.OpenAPITools/Model/TermsOfServiceDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/TermsOfServiceDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// TermsOfServiceDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public TermsOfServiceDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class TermsOfServiceDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/TitleDto.cs b/src/Coscine.ApiClient/Model/TitleDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/TitleDto.cs rename to src/Coscine.ApiClient/Model/TitleDto.cs index e74519b..af22377 100644 --- a/src/Org.OpenAPITools/Model/TitleDto.cs +++ b/src/Coscine.ApiClient/Model/TitleDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// TitleDto diff --git a/src/Org.OpenAPITools/Model/TitleDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/TitleDtoPagedResponse.cs similarity index 86% rename from src/Org.OpenAPITools/Model/TitleDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/TitleDtoPagedResponse.cs index 7adfe4f..3f72dae 100644 --- a/src/Org.OpenAPITools/Model/TitleDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/TitleDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// TitleDtoIEnumerablePagedResponse + /// TitleDtoPagedResponse /// </summary> - [DataContract(Name = "TitleDtoIEnumerablePagedResponse")] - public partial class TitleDtoIEnumerablePagedResponse : IEquatable<TitleDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "TitleDtoPagedResponse")] + public partial class TitleDtoPagedResponse : IEquatable<TitleDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="TitleDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="TitleDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public TitleDtoIEnumerablePagedResponse(List<TitleDto> data = default(List<TitleDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public TitleDtoPagedResponse(List<TitleDto> data = default(List<TitleDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<TitleDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class TitleDtoIEnumerablePagedResponse {\n"); + sb.Append("class TitleDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as TitleDtoIEnumerablePagedResponse); + return this.Equals(input as TitleDtoPagedResponse); } /// <summary> - /// Returns true if TitleDtoIEnumerablePagedResponse instances are equal + /// Returns true if TitleDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of TitleDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of TitleDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(TitleDtoIEnumerablePagedResponse input) + public bool Equals(TitleDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/TitleDtoResponse.cs b/src/Coscine.ApiClient/Model/TitleDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/TitleDtoResponse.cs rename to src/Coscine.ApiClient/Model/TitleDtoResponse.cs index d27f09c..cdf53b1 100644 --- a/src/Org.OpenAPITools/Model/TitleDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/TitleDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// TitleDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public TitleDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class TitleDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/TitleForUserManipulationDto.cs b/src/Coscine.ApiClient/Model/TitleForUserManipulationDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/TitleForUserManipulationDto.cs rename to src/Coscine.ApiClient/Model/TitleForUserManipulationDto.cs index 02606e0..80df8fe 100644 --- a/src/Org.OpenAPITools/Model/TitleForUserManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/TitleForUserManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// TitleForUserManipulationDto diff --git a/src/Org.OpenAPITools/Model/TreeDataType.cs b/src/Coscine.ApiClient/Model/TreeDataType.cs similarity index 88% rename from src/Org.OpenAPITools/Model/TreeDataType.cs rename to src/Coscine.ApiClient/Model/TreeDataType.cs index 42579fd..9677ac6 100644 --- a/src/Org.OpenAPITools/Model/TreeDataType.cs +++ b/src/Coscine.ApiClient/Model/TreeDataType.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// Defines TreeDataType diff --git a/src/Org.OpenAPITools/Model/UserDto.cs b/src/Coscine.ApiClient/Model/UserDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/UserDto.cs rename to src/Coscine.ApiClient/Model/UserDto.cs index 7645617..004dd1b 100644 --- a/src/Org.OpenAPITools/Model/UserDto.cs +++ b/src/Coscine.ApiClient/Model/UserDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// UserDto diff --git a/src/Org.OpenAPITools/Model/UserDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/UserDtoPagedResponse.cs similarity index 86% rename from src/Org.OpenAPITools/Model/UserDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/UserDtoPagedResponse.cs index 2170164..2609d55 100644 --- a/src/Org.OpenAPITools/Model/UserDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/UserDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// UserDtoIEnumerablePagedResponse + /// UserDtoPagedResponse /// </summary> - [DataContract(Name = "UserDtoIEnumerablePagedResponse")] - public partial class UserDtoIEnumerablePagedResponse : IEquatable<UserDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "UserDtoPagedResponse")] + public partial class UserDtoPagedResponse : IEquatable<UserDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="UserDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="UserDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public UserDtoIEnumerablePagedResponse(List<UserDto> data = default(List<UserDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public UserDtoPagedResponse(List<UserDto> data = default(List<UserDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<UserDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class UserDtoIEnumerablePagedResponse {\n"); + sb.Append("class UserDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as UserDtoIEnumerablePagedResponse); + return this.Equals(input as UserDtoPagedResponse); } /// <summary> - /// Returns true if UserDtoIEnumerablePagedResponse instances are equal + /// Returns true if UserDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of UserDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of UserDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(UserDtoIEnumerablePagedResponse input) + public bool Equals(UserDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/UserDtoResponse.cs b/src/Coscine.ApiClient/Model/UserDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/UserDtoResponse.cs rename to src/Coscine.ApiClient/Model/UserDtoResponse.cs index 2bdf8a1..3c9cb3b 100644 --- a/src/Org.OpenAPITools/Model/UserDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/UserDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// UserDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public UserDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class UserDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/UserEmailDto.cs b/src/Coscine.ApiClient/Model/UserEmailDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/UserEmailDto.cs rename to src/Coscine.ApiClient/Model/UserEmailDto.cs index 2e1524a..379a5e1 100644 --- a/src/Org.OpenAPITools/Model/UserEmailDto.cs +++ b/src/Coscine.ApiClient/Model/UserEmailDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// UserEmailDto diff --git a/src/Org.OpenAPITools/Model/UserForUpdateDto.cs b/src/Coscine.ApiClient/Model/UserForUpdateDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/UserForUpdateDto.cs rename to src/Coscine.ApiClient/Model/UserForUpdateDto.cs index 9cab446..e9ad815 100644 --- a/src/Org.OpenAPITools/Model/UserForUpdateDto.cs +++ b/src/Coscine.ApiClient/Model/UserForUpdateDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// UserForUpdateDto diff --git a/src/Org.OpenAPITools/Model/UserInstituteDto.cs b/src/Coscine.ApiClient/Model/UserInstituteDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/UserInstituteDto.cs rename to src/Coscine.ApiClient/Model/UserInstituteDto.cs index 0c7aa1b..fd995cd 100644 --- a/src/Org.OpenAPITools/Model/UserInstituteDto.cs +++ b/src/Coscine.ApiClient/Model/UserInstituteDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// UserInstituteDto diff --git a/src/Org.OpenAPITools/Model/UserMergeDto.cs b/src/Coscine.ApiClient/Model/UserMergeDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/UserMergeDto.cs rename to src/Coscine.ApiClient/Model/UserMergeDto.cs index 9841977..bdb4788 100644 --- a/src/Org.OpenAPITools/Model/UserMergeDto.cs +++ b/src/Coscine.ApiClient/Model/UserMergeDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// UserMergeDto diff --git a/src/Org.OpenAPITools/Model/UserMergeDtoResponse.cs b/src/Coscine.ApiClient/Model/UserMergeDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/UserMergeDtoResponse.cs rename to src/Coscine.ApiClient/Model/UserMergeDtoResponse.cs index 68f0cc4..f48be5c 100644 --- a/src/Org.OpenAPITools/Model/UserMergeDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/UserMergeDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// UserMergeDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public UserMergeDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class UserMergeDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/UserMinimalDto.cs b/src/Coscine.ApiClient/Model/UserMinimalDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/UserMinimalDto.cs rename to src/Coscine.ApiClient/Model/UserMinimalDto.cs index 2c9c189..cc02f78 100644 --- a/src/Org.OpenAPITools/Model/UserMinimalDto.cs +++ b/src/Coscine.ApiClient/Model/UserMinimalDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// UserMinimalDto diff --git a/src/Org.OpenAPITools/Model/UserOrganizationDto.cs b/src/Coscine.ApiClient/Model/UserOrganizationDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/UserOrganizationDto.cs rename to src/Coscine.ApiClient/Model/UserOrganizationDto.cs index 519d05c..b0185b0 100644 --- a/src/Org.OpenAPITools/Model/UserOrganizationDto.cs +++ b/src/Coscine.ApiClient/Model/UserOrganizationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// UserOrganizationDto diff --git a/src/Org.OpenAPITools/Model/UserTermsOfServiceAcceptDto.cs b/src/Coscine.ApiClient/Model/UserTermsOfServiceAcceptDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/UserTermsOfServiceAcceptDto.cs rename to src/Coscine.ApiClient/Model/UserTermsOfServiceAcceptDto.cs index f1348c3..7fa8c4b 100644 --- a/src/Org.OpenAPITools/Model/UserTermsOfServiceAcceptDto.cs +++ b/src/Coscine.ApiClient/Model/UserTermsOfServiceAcceptDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// UserTermsOfServiceAcceptDto diff --git a/src/Org.OpenAPITools/Model/VisibilityDto.cs b/src/Coscine.ApiClient/Model/VisibilityDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/VisibilityDto.cs rename to src/Coscine.ApiClient/Model/VisibilityDto.cs index cdb1a32..1868b70 100644 --- a/src/Org.OpenAPITools/Model/VisibilityDto.cs +++ b/src/Coscine.ApiClient/Model/VisibilityDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// VisibilityDto diff --git a/src/Org.OpenAPITools/Model/VisibilityDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/VisibilityDtoPagedResponse.cs similarity index 85% rename from src/Org.OpenAPITools/Model/VisibilityDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/VisibilityDtoPagedResponse.cs index c29e07a..3d7f176 100644 --- a/src/Org.OpenAPITools/Model/VisibilityDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/VisibilityDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// VisibilityDtoIEnumerablePagedResponse + /// VisibilityDtoPagedResponse /// </summary> - [DataContract(Name = "VisibilityDtoIEnumerablePagedResponse")] - public partial class VisibilityDtoIEnumerablePagedResponse : IEquatable<VisibilityDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "VisibilityDtoPagedResponse")] + public partial class VisibilityDtoPagedResponse : IEquatable<VisibilityDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="VisibilityDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="VisibilityDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public VisibilityDtoIEnumerablePagedResponse(List<VisibilityDto> data = default(List<VisibilityDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public VisibilityDtoPagedResponse(List<VisibilityDto> data = default(List<VisibilityDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<VisibilityDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class VisibilityDtoIEnumerablePagedResponse {\n"); + sb.Append("class VisibilityDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as VisibilityDtoIEnumerablePagedResponse); + return this.Equals(input as VisibilityDtoPagedResponse); } /// <summary> - /// Returns true if VisibilityDtoIEnumerablePagedResponse instances are equal + /// Returns true if VisibilityDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of VisibilityDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of VisibilityDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(VisibilityDtoIEnumerablePagedResponse input) + public bool Equals(VisibilityDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/VisibilityDtoResponse.cs b/src/Coscine.ApiClient/Model/VisibilityDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/VisibilityDtoResponse.cs rename to src/Coscine.ApiClient/Model/VisibilityDtoResponse.cs index 350c165..0d1f381 100644 --- a/src/Org.OpenAPITools/Model/VisibilityDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/VisibilityDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// VisibilityDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public VisibilityDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class VisibilityDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/VisibilityForProjectManipulationDto.cs b/src/Coscine.ApiClient/Model/VisibilityForProjectManipulationDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/VisibilityForProjectManipulationDto.cs rename to src/Coscine.ApiClient/Model/VisibilityForProjectManipulationDto.cs index c02caa2..cc95768 100644 --- a/src/Org.OpenAPITools/Model/VisibilityForProjectManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/VisibilityForProjectManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// VisibilityForProjectManipulationDto diff --git a/src/Org.OpenAPITools/Model/VisibilityForResourceManipulationDto.cs b/src/Coscine.ApiClient/Model/VisibilityForResourceManipulationDto.cs similarity index 96% rename from src/Org.OpenAPITools/Model/VisibilityForResourceManipulationDto.cs rename to src/Coscine.ApiClient/Model/VisibilityForResourceManipulationDto.cs index a639abd..24ece74 100644 --- a/src/Org.OpenAPITools/Model/VisibilityForResourceManipulationDto.cs +++ b/src/Coscine.ApiClient/Model/VisibilityForResourceManipulationDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// VisibilityForResourceManipulationDto diff --git a/src/Org.OpenAPITools/Model/VocabularyDto.cs b/src/Coscine.ApiClient/Model/VocabularyDto.cs similarity index 97% rename from src/Org.OpenAPITools/Model/VocabularyDto.cs rename to src/Coscine.ApiClient/Model/VocabularyDto.cs index 9d4ab1a..0ded223 100644 --- a/src/Org.OpenAPITools/Model/VocabularyDto.cs +++ b/src/Coscine.ApiClient/Model/VocabularyDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// VocabularyDto diff --git a/src/Org.OpenAPITools/Model/VocabularyDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/VocabularyDtoPagedResponse.cs similarity index 85% rename from src/Org.OpenAPITools/Model/VocabularyDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/VocabularyDtoPagedResponse.cs index 700eb75..638815d 100644 --- a/src/Org.OpenAPITools/Model/VocabularyDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/VocabularyDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// VocabularyDtoIEnumerablePagedResponse + /// VocabularyDtoPagedResponse /// </summary> - [DataContract(Name = "VocabularyDtoIEnumerablePagedResponse")] - public partial class VocabularyDtoIEnumerablePagedResponse : IEquatable<VocabularyDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "VocabularyDtoPagedResponse")] + public partial class VocabularyDtoPagedResponse : IEquatable<VocabularyDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="VocabularyDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="VocabularyDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public VocabularyDtoIEnumerablePagedResponse(List<VocabularyDto> data = default(List<VocabularyDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public VocabularyDtoPagedResponse(List<VocabularyDto> data = default(List<VocabularyDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<VocabularyDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class VocabularyDtoIEnumerablePagedResponse {\n"); + sb.Append("class VocabularyDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as VocabularyDtoIEnumerablePagedResponse); + return this.Equals(input as VocabularyDtoPagedResponse); } /// <summary> - /// Returns true if VocabularyDtoIEnumerablePagedResponse instances are equal + /// Returns true if VocabularyDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of VocabularyDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of VocabularyDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(VocabularyDtoIEnumerablePagedResponse input) + public bool Equals(VocabularyDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/VocabularyInstanceDto.cs b/src/Coscine.ApiClient/Model/VocabularyInstanceDto.cs similarity index 98% rename from src/Org.OpenAPITools/Model/VocabularyInstanceDto.cs rename to src/Coscine.ApiClient/Model/VocabularyInstanceDto.cs index 8f7da29..dac9c4f 100644 --- a/src/Org.OpenAPITools/Model/VocabularyInstanceDto.cs +++ b/src/Coscine.ApiClient/Model/VocabularyInstanceDto.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// VocabularyInstanceDto diff --git a/src/Org.OpenAPITools/Model/VocabularyInstanceDtoIEnumerablePagedResponse.cs b/src/Coscine.ApiClient/Model/VocabularyInstanceDtoPagedResponse.cs similarity index 85% rename from src/Org.OpenAPITools/Model/VocabularyInstanceDtoIEnumerablePagedResponse.cs rename to src/Coscine.ApiClient/Model/VocabularyInstanceDtoPagedResponse.cs index a425ebc..6e570a1 100644 --- a/src/Org.OpenAPITools/Model/VocabularyInstanceDtoIEnumerablePagedResponse.cs +++ b/src/Coscine.ApiClient/Model/VocabularyInstanceDtoPagedResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,24 +22,24 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> - /// VocabularyInstanceDtoIEnumerablePagedResponse + /// VocabularyInstanceDtoPagedResponse /// </summary> - [DataContract(Name = "VocabularyInstanceDtoIEnumerablePagedResponse")] - public partial class VocabularyInstanceDtoIEnumerablePagedResponse : IEquatable<VocabularyInstanceDtoIEnumerablePagedResponse>, IValidatableObject + [DataContract(Name = "VocabularyInstanceDtoPagedResponse")] + public partial class VocabularyInstanceDtoPagedResponse : IEquatable<VocabularyInstanceDtoPagedResponse>, IValidatableObject { /// <summary> - /// Initializes a new instance of the <see cref="VocabularyInstanceDtoIEnumerablePagedResponse" /> class. + /// Initializes a new instance of the <see cref="VocabularyInstanceDtoPagedResponse" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="statusCode">statusCode.</param> /// <param name="traceId">traceId.</param> /// <param name="pagination">pagination.</param> - public VocabularyInstanceDtoIEnumerablePagedResponse(List<VocabularyInstanceDto> data = default(List<VocabularyInstanceDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) + public VocabularyInstanceDtoPagedResponse(List<VocabularyInstanceDto> data = default(List<VocabularyInstanceDto>), int? statusCode = default(int?), string traceId = default(string), Pagination pagination = default(Pagination)) { this.Data = data; this.StatusCode = statusCode; @@ -53,12 +53,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = true)] public List<VocabularyInstanceDto> Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -73,6 +67,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -92,10 +92,10 @@ namespace Org.OpenAPITools.Model public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class VocabularyInstanceDtoIEnumerablePagedResponse {\n"); + sb.Append("class VocabularyInstanceDtoPagedResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append("}\n"); @@ -118,15 +118,15 @@ namespace Org.OpenAPITools.Model /// <returns>Boolean</returns> public override bool Equals(object input) { - return this.Equals(input as VocabularyInstanceDtoIEnumerablePagedResponse); + return this.Equals(input as VocabularyInstanceDtoPagedResponse); } /// <summary> - /// Returns true if VocabularyInstanceDtoIEnumerablePagedResponse instances are equal + /// Returns true if VocabularyInstanceDtoPagedResponse instances are equal /// </summary> - /// <param name="input">Instance of VocabularyInstanceDtoIEnumerablePagedResponse to be compared</param> + /// <param name="input">Instance of VocabularyInstanceDtoPagedResponse to be compared</param> /// <returns>Boolean</returns> - public bool Equals(VocabularyInstanceDtoIEnumerablePagedResponse input) + public bool Equals(VocabularyInstanceDtoPagedResponse input) { if (input == null) { @@ -139,15 +139,15 @@ namespace Org.OpenAPITools.Model input.Data != null && this.Data.SequenceEqual(input.Data) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -173,11 +173,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools/Model/VocabularyInstanceDtoResponse.cs b/src/Coscine.ApiClient/Model/VocabularyInstanceDtoResponse.cs similarity index 97% rename from src/Org.OpenAPITools/Model/VocabularyInstanceDtoResponse.cs rename to src/Coscine.ApiClient/Model/VocabularyInstanceDtoResponse.cs index 998a1c9..2199b49 100644 --- a/src/Org.OpenAPITools/Model/VocabularyInstanceDtoResponse.cs +++ b/src/Coscine.ApiClient/Model/VocabularyInstanceDtoResponse.cs @@ -1,5 +1,5 @@ /* - * Coscine Web API + * Coscine Web API (Internal Use Only) * * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. * @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Coscine.ApiClient.Client.OpenAPIDateConverter; -namespace Org.OpenAPITools.Model +namespace Coscine.ApiClient.Model { /// <summary> /// VocabularyInstanceDtoResponse @@ -51,12 +51,6 @@ namespace Org.OpenAPITools.Model [DataMember(Name = "data", EmitDefaultValue = false)] public VocabularyInstanceDto Data { get; set; } - /// <summary> - /// Gets or Sets StatusCode - /// </summary> - [DataMember(Name = "statusCode", EmitDefaultValue = true)] - public int? StatusCode { get; set; } - /// <summary> /// Gets or Sets IsSuccess /// </summary> @@ -71,6 +65,12 @@ namespace Org.OpenAPITools.Model { return false; } + /// <summary> + /// Gets or Sets StatusCode + /// </summary> + [DataMember(Name = "statusCode", EmitDefaultValue = true)] + public int? StatusCode { get; set; } + /// <summary> /// Gets or Sets TraceId /// </summary> @@ -86,8 +86,8 @@ namespace Org.OpenAPITools.Model StringBuilder sb = new StringBuilder(); sb.Append("class VocabularyInstanceDtoResponse {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); - sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); sb.Append(" TraceId: ").Append(TraceId).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -129,15 +129,15 @@ namespace Org.OpenAPITools.Model (this.Data != null && this.Data.Equals(input.Data)) ) && + ( + this.IsSuccess == input.IsSuccess || + this.IsSuccess.Equals(input.IsSuccess) + ) && ( this.StatusCode == input.StatusCode || (this.StatusCode != null && this.StatusCode.Equals(input.StatusCode)) ) && - ( - this.IsSuccess == input.IsSuccess || - this.IsSuccess.Equals(input.IsSuccess) - ) && ( this.TraceId == input.TraceId || (this.TraceId != null && @@ -158,11 +158,11 @@ namespace Org.OpenAPITools.Model { hashCode = (hashCode * 59) + this.Data.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.StatusCode != null) { hashCode = (hashCode * 59) + this.StatusCode.GetHashCode(); } - hashCode = (hashCode * 59) + this.IsSuccess.GetHashCode(); if (this.TraceId != null) { hashCode = (hashCode * 59) + this.TraceId.GetHashCode(); diff --git a/src/Org.OpenAPITools.Test/Model/MetadataPatchAdminParametersTests.cs b/src/Org.OpenAPITools.Test/Model/MetadataPatchAdminParametersTests.cs deleted file mode 100644 index 1d1aafe..0000000 --- a/src/Org.OpenAPITools.Test/Model/MetadataPatchAdminParametersTests.cs +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Coscine Web API - * - * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. - * - * The version of the OpenAPI document: 2.0 - * Contact: servicedesk@itc.rwth-aachen.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Org.OpenAPITools.Model; -using Org.OpenAPITools.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Org.OpenAPITools.Test.Model -{ - /// <summary> - /// Class for testing MetadataPatchAdminParameters - /// </summary> - /// <remarks> - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// </remarks> - public class MetadataPatchAdminParametersTests : IDisposable - { - // TODO uncomment below to declare an instance variable for MetadataPatchAdminParameters - //private MetadataPatchAdminParameters instance; - - public MetadataPatchAdminParametersTests() - { - // TODO uncomment below to create an instance of MetadataPatchAdminParameters - //instance = new MetadataPatchAdminParameters(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// <summary> - /// Test an instance of MetadataPatchAdminParameters - /// </summary> - [Fact] - public void MetadataPatchAdminParametersInstanceTest() - { - // TODO uncomment below to test "IsType" MetadataPatchAdminParameters - //Assert.IsType<MetadataPatchAdminParameters>(instance); - } - - /// <summary> - /// Test the property 'GraphUri' - /// </summary> - [Fact] - public void GraphUriTest() - { - // TODO unit test for the property 'GraphUri' - } - - /// <summary> - /// Test the property 'Asserts' - /// </summary> - [Fact] - public void AssertsTest() - { - // TODO unit test for the property 'Asserts' - } - - /// <summary> - /// Test the property 'Retracts' - /// </summary> - [Fact] - public void RetractsTest() - { - // TODO unit test for the property 'Retracts' - } - } -} diff --git a/src/Org.OpenAPITools/Model/MetadataPatchAdminParameters.cs b/src/Org.OpenAPITools/Model/MetadataPatchAdminParameters.cs deleted file mode 100644 index c4797cc..0000000 --- a/src/Org.OpenAPITools/Model/MetadataPatchAdminParameters.cs +++ /dev/null @@ -1,185 +0,0 @@ -/* - * Coscine Web API - * - * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. - * - * The version of the OpenAPI document: 2.0 - * Contact: servicedesk@itc.rwth-aachen.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter; - -namespace Org.OpenAPITools.Model -{ - /// <summary> - /// MetadataPatchAdminParameters - /// </summary> - [DataContract(Name = "MetadataPatchAdminParameters")] - public partial class MetadataPatchAdminParameters : IEquatable<MetadataPatchAdminParameters>, IValidatableObject - { - /// <summary> - /// Initializes a new instance of the <see cref="MetadataPatchAdminParameters" /> class. - /// </summary> - [JsonConstructorAttribute] - protected MetadataPatchAdminParameters() { } - /// <summary> - /// Initializes a new instance of the <see cref="MetadataPatchAdminParameters" /> class. - /// </summary> - /// <param name="graphUri">graphUri (required).</param> - /// <param name="asserts">asserts (required).</param> - /// <param name="retracts">retracts (required).</param> - public MetadataPatchAdminParameters(string graphUri = default(string), RdfDefinitionForManipulationDto asserts = default(RdfDefinitionForManipulationDto), RdfDefinitionForManipulationDto retracts = default(RdfDefinitionForManipulationDto)) - { - // to ensure "graphUri" is required (not null) - if (graphUri == null) - { - throw new ArgumentNullException("graphUri is a required property for MetadataPatchAdminParameters and cannot be null"); - } - this.GraphUri = graphUri; - // to ensure "asserts" is required (not null) - if (asserts == null) - { - throw new ArgumentNullException("asserts is a required property for MetadataPatchAdminParameters and cannot be null"); - } - this.Asserts = asserts; - // to ensure "retracts" is required (not null) - if (retracts == null) - { - throw new ArgumentNullException("retracts is a required property for MetadataPatchAdminParameters and cannot be null"); - } - this.Retracts = retracts; - } - - /// <summary> - /// Gets or Sets GraphUri - /// </summary> - [DataMember(Name = "graphUri", IsRequired = true, EmitDefaultValue = true)] - public string GraphUri { get; set; } - - /// <summary> - /// Gets or Sets Asserts - /// </summary> - [DataMember(Name = "asserts", IsRequired = true, EmitDefaultValue = true)] - public RdfDefinitionForManipulationDto Asserts { get; set; } - - /// <summary> - /// Gets or Sets Retracts - /// </summary> - [DataMember(Name = "retracts", IsRequired = true, EmitDefaultValue = true)] - public RdfDefinitionForManipulationDto Retracts { get; set; } - - /// <summary> - /// Returns the string presentation of the object - /// </summary> - /// <returns>String presentation of the object</returns> - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class MetadataPatchAdminParameters {\n"); - sb.Append(" GraphUri: ").Append(GraphUri).Append("\n"); - sb.Append(" Asserts: ").Append(Asserts).Append("\n"); - sb.Append(" Retracts: ").Append(Retracts).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// <summary> - /// Returns the JSON string presentation of the object - /// </summary> - /// <returns>JSON string presentation of the object</returns> - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// <summary> - /// Returns true if objects are equal - /// </summary> - /// <param name="input">Object to be compared</param> - /// <returns>Boolean</returns> - public override bool Equals(object input) - { - return this.Equals(input as MetadataPatchAdminParameters); - } - - /// <summary> - /// Returns true if MetadataPatchAdminParameters instances are equal - /// </summary> - /// <param name="input">Instance of MetadataPatchAdminParameters to be compared</param> - /// <returns>Boolean</returns> - public bool Equals(MetadataPatchAdminParameters input) - { - if (input == null) - { - return false; - } - return - ( - this.GraphUri == input.GraphUri || - (this.GraphUri != null && - this.GraphUri.Equals(input.GraphUri)) - ) && - ( - this.Asserts == input.Asserts || - (this.Asserts != null && - this.Asserts.Equals(input.Asserts)) - ) && - ( - this.Retracts == input.Retracts || - (this.Retracts != null && - this.Retracts.Equals(input.Retracts)) - ); - } - - /// <summary> - /// Gets the hash code - /// </summary> - /// <returns>Hash code</returns> - public override int GetHashCode() - { - unchecked // Overflow is fine, just wrap - { - int hashCode = 41; - if (this.GraphUri != null) - { - hashCode = (hashCode * 59) + this.GraphUri.GetHashCode(); - } - if (this.Asserts != null) - { - hashCode = (hashCode * 59) + this.Asserts.GetHashCode(); - } - if (this.Retracts != null) - { - hashCode = (hashCode * 59) + this.Retracts.GetHashCode(); - } - return hashCode; - } - } - - /// <summary> - /// To validate all properties of the instance - /// </summary> - /// <param name="validationContext">Validation context</param> - /// <returns>Validation Result</returns> - IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} -- GitLab