diff --git a/.gitignore b/.gitignore index 919fbcce6fc84fbfce0aaf71233447708c9d1667..1e37c670db43e61a219f17d4bf6d84188d182082 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 0000000000000000000000000000000000000000..c4ab3e994471fac2f25f8e60866cd6ccad0d1417 --- /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 6189aaff82fd90d1aa39c3f4e0a04e1a5fac7e9d..bce99a88025aecb233cf4658167ee2a70b3e011b 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 116eada186d8cfb08f6ac2907fbc7c1a3fb2efcb..6dffea942f93922d7792f0bbd5dc1dbe81f768c5 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 bffcaa9d0428386c993cbd95001e4a3a08fe3921..1ac04842164dbe4e0741624e96d4a14dcd6a0ade 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 39072e179c5f16af9592d4ceca79dc7697d6b9c3..1bd1bca7b8c58964afa9f6c0d79f1234a1a5aa3d 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 3801ea2f44b6364bf81f5b09eca8b2237e7ea65e..a7c5cb4a65df7e5c4b5fcb48ab70ebfb4f8b463f 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 9bf4560cc92ebe3e013a4bc61146b89cf987faa4..99265d5ce4d466f298cf2855d0c0f70fd5b667fb 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 4668bfde6cfd487ab5656fe495c2407e6204e144..bf81a13a222da49d46f6f1503088349eee5d7faa 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 d43763da00c8dffa53a7f0a8d0fa2c5a977e6efa..300749d08b7cb11cc25e0ceced01196621b24032 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 26437cf3ea87f8cccc60c2e408ed96342f804e29..8c4f8bbcbd1ea38979ca0356e92e39e2d4268ff2 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 ece9a6e80676ac5b5522416aec6ad5ecf8c2a731..1fe3367f8a536cc7c1300b1ed3c20cd094024667 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 d9e439d097f377c7f881ae4cc4357d90e4349247..d77589749499540bd2da695c7f9e1cadb0f36775 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 fd9b9046c568883271c2744ed380f3248ab9f252..6be34d5b55138bcea4f00aed0fea00e3052f97ce 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 58bc82caad611626dc308a6710f8d32d13bf8466..f42271dfc5b51ca6379db3e6bf877e0d03f8843d 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 0463ea9d4e4891980972bfeef40ec86c6183e0af..8a18d4c254adee4ca687db89cf012506c3c9704a 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 29d3f5a181c87c0aa0fdb49ef93e9353d97878cd..99fa8856a297e81cbc4d8c9dd88df02eebd0b04b 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 49bfa305aa896c94603ad423ac7183ec47085ab3..9642ca0a463482f7d2c1eabc88679ed041e300b9 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 7397bf32194e5463e699a53f72ec041deea7376c..e07ae2929aec07a8b2bc2d92561ed9451796e1db 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 6156723feb1e9a077ab0150dad080983c7a25060..f8e1ab0b66149350f83cb0d9e40f3017fc4624c1 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 7ca32260e19d8dbaee69b121cfb33aca380a6638..612043d27e561c3a895737333e4c75970a191c27 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 9c39bb48ceb5545b4289b8058546de5b2fe4145a..71b4b53dfd9557590fbdf90f0451c503b23f64f2 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 1ffb56864346d86d7c7cd745da5431a940f5431a..ada80601c8e9662028b9f33b875a2421cb6f41e2 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 bc4cf1c78bfa47dedab7f9356cd25a7dbec0ee17..d38f59386e4d4f07f2ed7d169c3594d517b7ffa8 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 49abf8b31d6c65c6d205c60c5d7e91ee0fb7da3a..c2243e7c37b29c28509932a348920ffb9ed70acc 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 28c2cb3e0b80bc173c6b545acca73f8950540533..8bed9abd3d4179b79e4e32e0442a7e1c11c8391f 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 7deb04630fc2cc895ac209f96572b67c1ba9cd47..c9a9510c5e76477966245a6c85f18d830ce2152b 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 83353f5b81ad3341da8f808b1247070d778d4276..474f7932ca63bbc26f2b1bfc8da72e080195382d 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 6a20114837971bfadae2192f77db0ca9a3de7bd2..663b2bdc0e24e4e21934b85308feb1e76dd97cf0 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 1df04b567814141a1b3e1ce0b0e986c6c332411b..308afd5859f658163ac8cd11d39f0782c215f6eb 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 bb07e32a4973c5df116896ac14592d7b785f0923..4f3b752ed7b30756288cb96bec48e1bf1447e9e3 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 686ced528e514b376884df9a1df1be3b89b53048..12c13a8de8a5389ceda4c7f126af77fda42c0a68 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 2afebfe6b5f509d57ab950207532e311f1c694a2..f73d69a1b8bb09c69d7eb8a19734dede15f3c899 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 4026ee8f29c76ce0f4e91d3374af4cc7e9632704..412712c32c4663c056a1b85846d585318eff5858 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 ee0dcce12870874d97cf52b9a618eb1bb3bf7957..1ac2cf948ff701f30248d12b75376bd81b9e38be 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 273d5c0bc223661b5aee5b2d9ad05b642c2b7e87..077f9a4584391b64e57efb0b4c15007d3f42e1a3 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 b305b34499f76240078fad0414e711adb89e08de..eb650e45af29e26dd91c6e5fea137a2ea37de0c3 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 a0e09468321b7e04138f186f5b66dffb60fc915e..54f86776a48d3a5a0d10e8c1962ac2fe9086bafb 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 ae3d949a00653acbfb2bf63ff887ef249175b6a0..8198db56b1877b760f6ca15f2c8eaa23e0f9e8c7 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 d069bcc83f96b7f8e76204edc4c1e80f0ac7948c..89bfb96824c28e1f60bc7d36cbcf88ff95ecde50 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 fb29f1fd448554222e3a2f097c467a03e1aee451..e9d89403ea5cdbb08c38c4b96958a67b65e460a8 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 8cedf7a0731087e305dbb651c89391bd7c77f823..89093000c02f3c1318570f8385f422850ceac700 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 2d72b69e33dabd976d8f520490ffe5c40733e8a6..90148cd6e35c97d05d6bad04f6e6c5a3769e1fd9 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 99faa95a2c08e49168db74b38f6fee0864a1a13c..dc851246e828c30377aa5351a2cde1fbeb325b39 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 bff59691aa29d7dd781ef2c5f5111cbac0715599..28b5abf00d9cd83da50dcd83621525bc0927df8f 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 705073fccc8c0a9ddddb8a60dcae30d4db7568a4..8dcda7d0ceccbd28738a2aa0c6c893b70f188f8b 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 7e71e5f73271d9e8e178c180545549026dd6d460..e52474023f6f17c1730bb6905e16c96a2f8c6150 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 313d04cefa2ae690fd80ded8cc1b2ee078ffddc6..da1a7371a22c96ceacdc521ecb49133acdb3fffc 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 eb6be81eaeaf17d4c193f598a29a5a0605a7cc6b..78f23f7b4be57e07893dc52ffa3f69068817f9eb 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 bc6bf4065f7eb022d9423e791f2697da8ee75d03..7c6b97167c917e64f6a42ee362d2e8cda11ce815 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 0fa689947040a48379cb415cbddf5af61e21fa01..8c168f4d72210c046b5f26634a4b8060f1897490 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 d2a298b73e411ab9643d2f054bd82ad2dc3fca87..cead05f3d262fbf9c99dead54df25f1d2e8fec0e 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 66568519fa4f6ec9eb6969c79146d4f363866f87..504abac77ab4a6c598f4da0c8668ef7eeeb9f703 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 33be447153d778c5b5fc5c323bde9f3980a92451..297d52bb02476d83710f9e46b08bf6dd7bce463f 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 13b7407f1bce22f38da5356f10381f442d92f80d..4ec5717af5df6e7998ec2a942acb43aeae1ec76f 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 96b6200f5d60ccb6d961a6c41fc1879feba92696..9119dae0ef83fa6aa445ddf914d98ac93653d707 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 4faad73ee6c62918013b93e29d33c3f45fe7a45f..e82ce60530a6b264c7e7126d91f8b64cc6d55072 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 c8f9294acab76c23d54e503f703e8cc284dc9649..ded79ba99336aca1599b6ce61e298f3107016e57 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 28e72c10654cb08125c4c4a2cc544721655e332c..0a8e802751e97944c9adaa8155569a9517804aaf 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 ba2de9ef338224d0fe275d48c414a9e22825dba8..b5b49c9002dca40f76bc2a4c6c536d1495434fb0 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 0749cfe50cc2cd4bb05b29f75eeb709f262d7d07..ede09d5d7640ff33437c823de29dfbb03149c066 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 f3e7079f36d69d47f202bf29071bcf04aa62e421..12e84b588c3b10a39708a088c6420ccb70b51b67 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 4b9792fa8d8058fce9050c9b160f177fef967b4f..16b0a43272b4a12ce71e5f1905e37a2794f54f7e 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 6c0dbbe62d19e47d0483438f372989166cd374fd..fee661a318335ebef47d4617c46a8e52e0ed4350 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 155cc919ad60336ab9701dcde0c6fbcc69376e38..081c66b9ff06283d8717781a50ecc774184433e3 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 0b6010b4d15f9b771a1940a7ee52459d1bb5d771..7f9c284f2e6447a34dee22b38a5d7f6889733e01 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 71d90860766cb0913b1fd6694a0dc841b2a55ead..c74def02b1f3db970d361ab96cfc3adde2f06620 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 de95715dbac21de1621b8bed7b5e0385aae1f8ca..f4be8fe2756f32d6f921e716043c120e0f92e36d 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 6c658b09cbc34dc8c461e6a7ce43bd8da5843f93..960df25bc73f22a4729c8b01eb6c0664357f2865 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 3e2837a79bcc1d6f50f74bc73619464cd19c34e4..5fa4a6656012125494715573cb13527b8f1bb6c3 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 60b233931692f935196817e7015799cccc381896..68abd8859c5764c382cf00faaba0401e54a02f76 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 a18411e0af8720b5b3d8cc0c0629500769efaeee..dd55a66a4e19ebc0141c5bed12998a8c4c064b7d 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 ae03f4c05f02c8ca17c3574728b0750bdef4e8c3..d82ee1eee972bd7a07433634c76dd84f0d9c63fc 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 e2f4de53a132265b74987f837b29e664939fc3ed..693a4043a8755f5aabcbfa7b2399e8278fd5e373 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 b347c2b566564b8eb05268f0140beaa7bea74b09..7c3db85822d97e15e982b55eb4f32ea1daf4a81e 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 868285a8b48f03420200d27863bb6d4bafba4348..22b908efd3afd8a594156a3b332fb14d256a7f9a 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 970ce8236eadff6fdbb34fd26b6c12a40afee434..fbefa12c9b099497085b790fb91f7e3e67277b95 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 6fba1e4cb36885089c013b91718cea38da247675..68efffdf62c9f69f9fd3d746eb0b0deb0539c025 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 2b4a60ff191939e096fac9854e85665883758913..5b6582f19e041ad2af8e619cf249e8ecf6f133dc 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 bc4bd4e82cdc74589b91b5911a45fd0fd2dbcccd..b6dcc849297560cfe8130522e2bbfc1242c5d8d9 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 5b2f87f9724f28895c6feb23f18aac1dc4eaa65d..4c9e4918e966ab49b7bfc1aa26720ca8b262392c 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 d3fd8bb41cb80b7377707a75fe02a893744918ed..ea1931030868f3c153608e88b6a1dfcd5fffbcf6 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 cff64e2004e63a6960a804dc381b9d6371afa6c4..20ef6a91a7e35986b1668b6d1cd57be4dbffda8f 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 06e4814a6974b7b37ad125d5903c0fa76c9d0916..097bbbfac90130b31c888d0ec011fe14f1d24d26 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 6467e29d4ca1f0213691367c73466c603481cb29..5ff823e73cdedc6689d3e4d7fc9990ab26c012ff 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 d7a269e272cff61fef8310bf55aef3fb643a38c4..3fe9b424d065dc8118efeda77294ca224c372f65 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 2670a6e2ba291b655b756ae0bab363b4b9351d65..68ae65f39a4c82808727ed292d577812a27dadea 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 b0cf8e999b4ecc00d3f5a71884a78ccecd309531..1bf07a72668447531ed72b00d69f0628f3b0255c 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 d462661caedcb7077b757e11f188cfc11507939a..f3c2171758a19cad0ed2b24505d6770f6022b165 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 ffe63e5f9bc0c50b5f86c4d9d6263f70db23999c..fbd26d695e268954713b8ea3768e4f9ce1e5e55f 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 9f609d638e1ba4ac280f3191c6b04a9bd5a9b35f..8445fe668f10834f487c32f30e5bf309c083310a 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 08a2406668e0a0b2436424d479142f24146fc26e..2fccd1db6b1d02201b35c0573c6832c22ff0ce70 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 628b990051f6829d83463e0aa43979ae2c1be396..1d42fb4c7839d8e183a94145297eff3bac2e3210 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 19e4766a1abdfc882b073f7ca881263e40221886..e8cfbd24fe359f634c17e8280798b2637a7fc3de 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 142767be6554c967eff42e191fc91d98367cb3f8..53b9ba42e2b822243cfc1cc08c90952149c26a0a 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 a75b68c1bf882c438f6972c45f3ea4fe76123979..d6ac40c5b18f837a1acff1dc2fe28db85799b7ef 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 cea0966c75cad00daae6895aa777d62527906cc4..eb0f9f29b801bd5e5dda6f005fca64a5f0086550 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 b6d702d61b21d663f16cb0180e6abbb3d550b423..b4883f477dc83005ac2afdeb1ec5ef6adbe9e12e 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 04bf303ff9243cfa4efde6c1ec27b19a1582f6a9..4e50fec7dfd2c3c3be8019575e03a3ee10917314 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 fd76dd6cca8fd0ff68064123b77a9814d6e82779..59a08461f6c0d307dee8624e0aca10f370184c0d 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 e478d7e88dd7fd76e3bd925acf4981a451a5965a..952cc42f062c8c290cc5dca7b6719d2b00b445e2 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 81cc2406cd2ff6089d914d975c1a620378b7cbe1..a9b395e00d72e4e8ccb6335f8d9f4317eac2a55d 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 88419626e2de0b8bdaac1d02adc54ee1e156fc0a..28b4ead9cd8f75c6d140473dc3e2f6d51f8cdaa8 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 4ba8beaf5476c68db1890b2784a4fbf3e1f745a8..c79169026d9106dc07dd2100306683452eb8cbc7 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 0e2a8207400a50403f93ac6802e221129289b501..bdff8e9d9d31c9275ba76ddabd59b0d8fd424cd4 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 1e2d0f3611f13a2c604f5902c95cacd1e79db475..0f7c8d9aa616fa9e9d7293e9428e7a4e3e779956 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 9245a21e3a62802db6807614abb8025efcaef8fb..b5ef51682e246270a0a3d0e670cda778255ee4df 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 e1057398ce2de953a4b5f3ae2c57e1ad0cf665a9..8fa45998eee303cd0a9a32e72dda482d0e4bff35 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 afe766904742a44fba47196e13d8572fee627a00..3c380f7e26db35a2234f910d01e11ec0abab4709 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 32a3ac56b96320a94fda4ba413cc108a637e5d5a..47241d39d39da700774326bc1f055f77e2d7e464 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 71b171120cd31b623b6f4f0671541bc61aa9764b..0053bc57a426f7a8c2936d1178d332c72dc96fa7 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 c8467e02adea6075b32bab543eb3724a8773a30e..322f70cca45932d9e1f82f1b8de88a379a76ae99 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 f4f215c74b5348afe7c9fab840d2a9739918f1e8..86fba25d2786c637e3e113494038c09d67bb43bb 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 8ef58eed9f1f79f6f18fb0e1a5a346dd6b61d124..b77051ff5b277498502b8c5a2a1a47a63ac6118f 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 a2869922b06ce4cacfa90ac16771e266662233cc..b5bfac81446276e650b6fe3c723733f3f09be843 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 8627b00ecb358253f124ac92571ca7d35f4c7bcb..70ce61dc3bf60d084e60b0d8f2278678bc595412 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 71e992f472edcfaf1115964c332c11caaef33e10..cc347044830b6e97c523a3e163d75be20673cc2b 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 e473c0bb45cee8e235c47131ef7b4b9a4864ce6a..41c99f354c8db2876100e5abf0a5cb251ea18d16 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 ede6a14225c9a335fea65ecd39ec408ff7827c8c..79dd723782e892298faff94771eaac26cb4f8fe8 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 37d6c190980a89d8c2ded3bc65ec2c1826c6c673..4ab3610dcbf3ae77f812be9fa89c28b712c56e79 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 578b1df1c9e2c7d589c6fec1c5a45a0fdf33bbe3..e5a633eafd9c217ed820240ec83d3167ba3cd23d 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 bf4ffefe7e119f46f7537153ddbc50d8c01409dc..1a62ca3e710ec902a11b8023ec050cb7f351b591 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 922da44b7fd802d066d1b23ebffb477e573730e7..8e2e5692786ec2ae3d4efe63204127f0ad8decb1 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 d2c85fee4fa794a70e6cefb8c167b6897f364c80..3eea82980e3bb034fc7f7cae9dffc20751902e3a 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 0a2fcb317a2d87fa0f90ea09751063ad368ad1bd..310aa0e81a836fcd3e5f4e92033e80e3ff443341 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 1607792762fcc37a8f337958a05251f260bf8bc6..e2da3baf16ad92c06bbd45a8945c67f75420ed1d 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 3da6fa7c2796f6e38be0db4f0d3c69800a170b1a..55008525c176bdd5d6326d3d9d2e9f44ea731804 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 03ea7cfa5a2046985facaab86bb4dd8ee5aa6d30..312ce2ffefae2bdd6d3823da362fae398f614485 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 817457699ac855031cd5ea9761d10ffd561a0f13..534dc5b5183a899fe9dede4fef35d8f4bcba77ab 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 87096aa9644d5ab2bcdaf399ac449c3721c92602..ac9ff8f0be5cc2b70bc93cfd78df51ecd10c2c37 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 65587680a0ec1a665290c9b44fd804a2c21359a5..39550633f023147015a8ef419177a32c61a8fb91 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 47e7fe87127609f181d70d83f81b39fc414dbfcd..9c729dcf26e7f9a2acb81aec4126163e3ab33ce3 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 9a6d4f6155d5575ef66a1a99bc77815f02f524a4..4c48ee2f9588605bde3179f2e39eb47523736fd2 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 a4b91d01c542f3eb958ec0002d02cab2dd7794d7..3c1734a57bc27c71ebbae85e2e7c9ff60f975b83 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 b360d5b09e4b84e9ef825fe60abee3cd0f832d80..960ce1320791bf68d2ef82c89e3703a3680ff7c8 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 0645b2a03ffd4a1878b417b364b5f3f9d7c957eb..7a78d2045a16b6c737524c6b6c2409b708bdfe4b 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 ddcfc80672d71305c972750d1dac3e928d96e59e..0e8859caaccef5a43cb883a93baf9014f07a24fb 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 7f980ec0b661cf518429c1977743db7b11140718..f692a4cdc84e1efb34f45b57f4ef6b5df8fab4da 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 04731f6f0f09eb855623d502a73f3495f6ded8fd..94e89260717e5316587d7f85b810fca4d5a86103 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 8335baa4b9cdd4bc377834c08f70296364da353a..3cc51d254f3b509ec614ad66f08ac180c8c94257 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 6d5de5d534bbfbe5273272e3842bb8eab33587a4..bad1007f03db10563cf5006ce034f33284c62db8 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 a1183776a16437e630acf2f6b68016419ce49e36..127d1b6b1a2c625845755baf72d8b20290dc4141 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 15ab7da6bd5943b0b2f4d3b050774a081c97e22f..de0d14ec57696d2f1c96087c2f94e8cd076aebb5 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 565d87b26e82ab56a0f641906902300562d3a711..af65cefe9104b031ec3214222702ec059c0fc421 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 13315df944e6631dc6b715d33f8de00ac2b767eb..9d1c2a3dd8baa672b5609c217cd6ba922f4e4b13 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 65bc54068d84c814a47ff36970174a13f3fec524..740118048ac94a8bb41ee64ab236a7a45c75f76c 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 157d9f61b614ee37c4cd944acb2982a1b20153fb..29f3c3051b0362cbfb8645cb75567e697e535a99 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 26dc15e17ca0da28285fbc012931f40314c2e695..334aa4e2ee47db32d07aafbc7bbf4b534ee2cb98 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 b9271ebb5a4d9f1449cbd5ad266a2311e42bf804..4e1312512fe25ae97d6feb62b8d23cbb1aa9a5ab 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 da37987e5ec9f90c9b230ad221876ae8c7672c3e..29ceb41482c2bb0ace3df1ecdd2e16158fa0a25b 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 15948816ca9786174f13751d148a64226a228162..d2ae68bbf4071fe019a29a715571adb2d66edab6 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 3bb1c1b0610fb98f94c8acc90f02b831245f956a..8cccd9ed6a6761158520d034fa78a229681f452c 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 eac228e0fa42b98006e70042a97e69d600237bd4..3d7173244306929a083786627c36823bd1a6afcb 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 41c63da48545a47deff6296e7e24b61211c87e50..000a871de67ec8ef856792b897969e555d025ea1 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 116130b94799906551b3a556651bc436d1d256de..75ec48fc636b6e76dd2ea0d49782dea3a5d36467 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 016c511ae4d28fb4b2d9340ea6bbf9196d9794a6..c60ce29bad0041de6a1df4cb27867d8312af59bc 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 8855cabfdf2d11820808756e8de452e84ed705bb..da22b66099caa98769b0bed6b8f555543cbf64d8 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 6705c1d894a3497e5f675ebbb3bc3d576babef0b..ee9ab3e2c04f4075f9db252a564afac700c5b73a 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 52c45255ab048da416930927de07fc31b0c7bb27..fb9ac0e07077e50628671a9389e63896698b793a 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 0000000000000000000000000000000000000000..4b943ea312ca5c7731948cf9f20c0500342af757 --- /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 bd021e4e9edd18229289a5902cae1dd2ed804927..ad2d2e74535b54eb089bae4991f637e110ac7f6d 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 1621957d7226411e520340fdd039a3ceb0701a76..60b1e371160d44c8d015b829b2cf325111234c48 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 3f8d1a936c1b901086fa62786c9917717a5bffa8..5ddad1b604bd077ee317a630d279342f52a7e4d6 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 aba02cf950d7fd9cf8973e6dbc9ceb524fbc2acb..f6067f3661630c8f5a83012f7d276bd481bcfd6b 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 b314370372284da3612ac6e40d3ab28618d3eb66..d0ba3d7ec7a5d001f5c0259e8f2616f2167a1689 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 c8561030c37a71e0c1df7064012fb858741dffe8..40e57cebc08157458d779b7f085dd2df987796b3 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 8b13d659946ca0152f904c24f8ad9e734e09d7f6..9bd76b07383b9e1d3a380c4c05de5c4c6c427905 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 63ddc06efe56085ed1cd7654bb96f8bf69614807..350b8ff9f347d4466f45a9f9ab468cdb3a2b50f7 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 43a50c0718e313e813c9883c0ca00424b1437c23..266a9430b3e656ad0f7772ed96f5bdc1554b521b 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 190ed81e1ecb431d7d15a526e92bdbb6fd5660aa..e38e9fc5810628251e3c7f487a2d413eb6425288 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 ce682939313666b5f1bbc0e4b27333502afc52ab..2073f5a95ea4f7cd261b8578fab51a5dd04f7b36 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 9288cf2c26ea72008ecedd3175c5651f2395938c..a5f493c8604833ebb525934b322e10ec1f440a7d 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 72c422fd556e34935dd39691daedee8d314aa970..00b04f642059f4c60c674545c34cbfc51571dc86 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 3bd2fd1dbc74547965d2e60f0dc8119df38c3b09..2634f3534c2ff594d3cce8c78fc3eabd709c7e39 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 9ebe92661cd5edee3177e8c75f84bb43f9cde31b..f0a1b606ec4a3cf8bfb7d6dd9b35a64440b1a215 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 943e9a40f183a09fb5958307062c92c390493735..17eb99abd69814ee6e1990cd7203dcb35c397cff 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 980d0a0124857edf1d76bba1928cb843248e418b..e1bca5c03764c54a6ff9f9b0e87fe4b8866121c8 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 6b66d510babf0cd1a321b12abe6694ee19c072ce..4d2b32570ef6a08e231aa751b4f9029b5e077e5d 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 abf08b0a28f6cb72588d0d738f80207517624ec4..cb169b7e8c6702def4b1349dec3fc825f0761c65 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 6914d888aa199738f7b0f447e31ef70a1ce77ca7..a5995d88270b3a8e4f4ce27c0ee263d4554332a3 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 8c6f91bba2d4e89d5e8b265abb1e9f1a2806cd09..ba172a3a24fa99e6802cbd1796c5f4accfa729da 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 fe9b0268101959dfadd057e28751fd5ed2da231c..eaf1e3d38f1f85c5ac7bc8686620a8e15673d365 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 43221236e7b54c127451519d869ba5b055e1704b..ca22904dd5129d63ef894587ec6629d7cb599642 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 edb71a78787f539ac4c71bb320df7313b69cb547..3e8223950387716b23b3754a1c5525bafe4d7a8b 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 321906c8c1a3dbf9f3c45ee76f3027b7c665528c..3afb3592956b4e6a424bd198c5d1d1b2caee832a 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 d5192a160d84700f9ea4dc90c065d8788b363b3c..e7fd699a103a4823461d66fd3a065362c29dc5f8 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 7f0e2d05a3bb469fd18be30fbb6a20505bda29c4..cce0d06291802ca14defdf4abb6f882c3204af00 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 9eab48db834fecc3e139d49cdad60e9f0b450153..70c3d293f7917f605159cba8aa30c8128f8ccf07 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 afabe959166eb93e62d9e7c59245a5bc9e3a4549..b97b132f004f24675433f7f98429c79377e37878 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 729ac147bf745c7dd5a7ab2cc9317bdadfa8ee81..992e582ba5ffb4a4543ee53a747dc52a4983edfb 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 3d2fe1c8dbb49b6d3a1896ab5cd5a6522dd3dbd2..45689faa54bcff1d304b4652172de66792288ded 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 04403519b4543c5d9c5fe535d17f844c41b3d995..3327c750adaf183921598d04a77984405d837373 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 3b46d66eb21162bb430be08d7c898cd00dc0acbd..2435cd141007129c2a05f997a968baecd6494022 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 93654c6ae17738d90bbc105f2eec2d5d2f37cab0..048174c2c730800d01f545f0690556af38cb7a9b 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 a39f7c951ded5594ff6d6def92f708a94f6ea9b8..6e72a50db02327aa0aa316459287f2b9d09a5d75 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 4f6bda67a866e2e0bf3e27a13fafa483dfa85b4d..2c2a3b49136993bd30c7232729ac6a694a8c6bde 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 743b998afdcda3d614c1feaf3ff3c125b23b1696..7ec06a202aa63b4fc8e7eed571742b6c75d8c51a 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 38dc078f21bb45bbac221ab67b9311bacd6ce3d7..10caf6d141c07b090672980de875d7b2447ec67e 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 2cf6b6145d1fb49b90b533cf3b35a3052a75bc2d..91254180b52c09928f13032030f6e3c025c1a6ba 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 0dc00df1f930c36bd24e0637b1f65e8c719583a5..89d3af061b9b23ba65a8e478da4b9402d19dc4f5 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 330eaea29a006f0b1865d8ab00a885353874e862..e8a33ff62cf5ebfb316071bf0b16c168861d74bf 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 c3d00377a8af0ba6a23dd7fdfadfbb8533d8f887..08d96b9f85462aa1153d5a8f457442e73e2caba6 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 b0afea201ab38ccc721faa9164e82bea400aa71e..4b3391592b3c37c4f1f02a64340a3756bb384fa5 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 a56e0cac4501031295dc21b29ca1e0f526a5c993..ed05ea005434295e6965253da0ffc8c0e0ee4198 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 50e8a8a0de78c79f234c7fed44b2f099b3e4e092..905c04f9f08b87a9528b16f25a8169c1a42d66fb 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 abe354bfa3a291747c4f7ae69ecb05554e5ad218..c579aeae9283ddb13ae01fd16e7589b9ff1d2fe2 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 10a46d03bacaa64e4bd8f7c20aab48a919907cd3..5c48a19f625247a9493ce80bb7bbd42a06830515 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 93abd0a733cee2132c7b9a1250cf23f47b8b08cc..c0efb9335aa2d57806ac9bd5d4be77c4f4416f58 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 dcd807516e969435785df6fe9bd1e326c05a0c09..fa7c1de1688e9ccf3fef2a02ceaec36e8d575d3f 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 bea8c77dc20d2c580aaa732e03f4beb25b6d9e7a..96c5d845b7a098ad78d44c1ad22dc91994fdec29 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 578e9e03c53f0b631e3dbb612607cb1d4e8fb869..95b8b52c8f8e2a5a1515a80886bc3035c0ef51e4 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 a76a0ed831cd1ffc34c4eca13c68e9e17a07d348..9831eb698f291a23ccfd5e7f43845855df31a3cd 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 73d4a45800ff18c1ed2fdbe818f970eabb172189..64a7d5e32bc15f7a202b9957c9fefac3d967a022 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 8ed9d8a77d9d7e9284d8b3ae8efbca067dcbcf3d..d0ade194998410575877fab5a8acdff8c0c6eb36 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 2cdd73dae6f33599fb132ee5fb629e0b0886835b..3380fa9f8f1f4387b33ca710f42e1f76f2fdffeb 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 22ed21e632e7c7b11c553a5a685a8b2fc2bec6ad..162784a39ce1d710a094a0796fd44ba3dbde0211 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 c9460b412586f29e29efc1eee788ce3587fbae18..282afe411c33f1a359e2a67ea342959204702cc6 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 7466c3ba45959ea6e187ce23a73da3f43925f2ce..97bd19c2d7e8d0285ab029cc3740c95fb4e1ecfb 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 e46773236c049de18438be8592f9c8f4869bcd2e..c65bc13edd8df8e8c7154590d2044683a29d5093 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 5881c3d71167df2c967770bd182114d4c29565bb..1eeed7f43b2aa0d0601bd61434513eb59aaa3089 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 ef99c26778e4901c4ad6a0e44203d106a045d5f1..76cb3393c4788fdde614f3611bb6a2d1a649db4a 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 da73c09aa1a0ae7160680ab5541e076df8c87c51..29a3158bd70efeb27f2729d231c4b3def16df468 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 cffcaec183abd0c7ab62c4881408d008343a4709..a6dbaed43e972104552d3d49fc10ec0b58f5e195 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 3b64d2a56966367e2fdb71a779ad153ef78de583..9d2ad3dc3eb3c58a0b2b861f9dc8cf9437750614 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 7e075d2e2ed93607510f2bc118560ef2b1e03d60..c76dc3db5a2fedf603824d2b7edde03e43cfe1b8 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 35a04e6178634b13e4424e3f94c8c22356f4295b..03df1d59585f80bd9b30b1e0714dd308a1933496 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 0055579e758cf7168f8a7916a3ac27dcbd864261..bbaff19865c7fc1010c6f828ae6a3f243a289f8d 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 79b96d81193ef6fcfa091a10d0725434a34acf6a..2e2b236987f84c6677382f0ad25d9577709abbfa 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 f03c6debc010dc25b16e92f81304172fabdb5090..6a670af668e682a87fc8831d883b4c1961d086ba 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 6bb53ec19b8d975046c9daea7bc6b2c6daec5bc0..e7a2928b21a4085cd002938c0a3ad8771cede9cb 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 0e4d7cc9411d8d28c043a16641cff42e44d9fdbd..1a494b88c7b3ccb8ad0b0bfda56b5cf4466cf9f7 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 382c8fc326d5df70c3f756ca8c890a8e1b52cfb6..240b1605df701e675f6874e965253cddc13d48ad 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 c2a4509f13bd92f54db113f58b4bd67cfaff850c..f33966edbcde81ab4d56c6cf7e902a8e5bcb4e70 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 f85b28117ca0aedd02347ea4b1fdac7f10272cd5..d3b3a64d362d7c4bda4910e395ba2f1ff2b9d644 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 8e144923fb6c6e7700cecf869a79c1a329a30583..2548aea93b9e635b5ca2f0fb2658d2c42c81ee3e 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 ae098701c4bf20d21dbcfe2562143f27bc71f2d7..f3289a328373b89b413f3460a0474d39e0e00125 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 e3990baacacb73f30a4719c8840f9a7b05e305cc..94702227d7cb11e7982838c2c048e1231ab05e34 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 f4e7dae8bf4428ac9daae1d7b47a67c621e4b277..396b9c860a9a0eac41a332a50e6a38d7c686291a 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 02635fd4ef6950815dfe03c60fb341b12323b792..a5a9ac0dc42c1bcfd1142199287caf0e21fa9232 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 b4715da5f0a8661c1188e2606e1677b2ea4ecceb..ded26d94a5f0280edfeff3a7cedcc0c1982578d6 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 c1fd3649bf65325f95084891682fc4173300f082..33e6e09c23cfb7c5d8758765c74922d1918653f9 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 08af780ced542adc24e45eba580e9df1acad0c87..7397092d3cd5fafbdcc68df3dddb6d6bdccb62d7 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 6e10f7491f10d76edf54fe5307684d3d3a52652f..e57ec262ff5d2fa93d196fd48b9a8f5688fcae0a 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 5d32a3e2b24d12d80b6281e0547047b79ec3aee6..0b8c9cc3d0c50742cb466e87976f3a201e5d33ac 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 3aec42b8eb0eedebaa7a908258a4945af1b80406..c70b15460309184b2a4ca90444a58a5bcc79200d 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 3c6839ff7ee0f9903478f31bb62bfb4b9c19ffc8..c8425fe80e8764b25390c317892fb45eb31cc791 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 6ffe73d113bb65e16471ec0e6cf5c2b0d8124203..99132383988d9457866647de6bd1d519cfa351e8 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 300ad15f28d6c8afb7df4cfd63ad210184ffa8c0..73d8fc69c218759e26044675aab781c8fa9fc4b0 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 d0d55598da5bd73ebe066a8d6dbbb669f1d82cd1..9a65ea1f49ff0dbe497bd22075cde21b91f53d1e 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 17a2fd9269a289873dcc65a44509f8a53df06542..cbb7a53044dabac383bcaa9293feb594e0bf5402 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 fd8636625b5bf86e31d70f4d953dcdb149be55f7..83b1a9975567383636158de7e715b25f23aececb 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 cc7ebaddb3878aace53e7302a74acb82c5b57ec3..e29664073ef4e0c7855465e17a1cbce075a65c49 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 b7ec59d20a12b98fbcc7744f37f8119e2ff979ca..43f1a4fdfb7cb5b4b9e1d4bdb629761442f852c3 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 4e910a82865d067de763b323ab40283800d986a0..a074d03b63c2363cb26c63d0f4c3cb396d7a50fc 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 7c84db0550c575c46993531a3a67b41b6cdab25a..e7e05630203f9b7d37d52cab8b9713a9c9fe17d8 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 25f7eecb77ea7335d9efa79c450cb5f55d2b8228..d5bb85da91bcef82177f4b12e53c2c8f95ac1fcc 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 5f7da19f1bc0c28ab68de191d56baf221679c8e7..43d4a091104a42f9d5ca97fbe2696c6317f318cb 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 8b3ee25b7c6d5a676062ddff45f6b1bce8a5a97c..76a16d3ca46bc0fbf6e700d6ae14b679740a4d93 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 bae0ec3b4245c6ad3455bd01aa4fb7b1b4c9871b..8ee1b3f11bbc678df47675c3b9d6f49620679b7b 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 0b1d13e07c5027e66bcfb82b9ea854aabe5c602a..83344e324b6bc6c9678cd265684b51382597bac2 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 bcec142cd157935677439368637aed3008892a92..2d646e30f7f9835eb3de189ee0ac330e82d8609a 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 318f7f00c2f2b9b83ba9e395fc536b5f5bdf3190..780445059c16eb43ba888b02f2b4bcb6bcec66c7 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 3363550e40f0db8bd2fe36827261f5c855e8e7e1..1a1895a080c196543b4dac5744308ab6a07ef3c1 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 b9da4a3a90fcf4e0bfb568d4bc7d415d3f00cedb..ad55721ce239235a23b3ca2d9f58945b0a7525f5 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 e3efd4ce95eb10dcc401be3d611b83095042ae19..f407b423831104aad8e3812e3b4898a81c3ca385 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 f8f4167ba07c74d9c3214642283eac7329b78145..78f678c91a70c12dfdff605361122de02d609114 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 17a66316a9f3a49c61e5c9fca8fb9c947984babf..465458361bae968b3367c98854ab98c6e1de5448 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 28ac59bc33fc32bcff0afe9410e7638391b4b2c2..ae6b077e7a2ae1fbbeb1e4876f98b896aec6f85e 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 ff488c195fad0fe3532ad3101621a360ffb24ed5..0611d920256216e7dd53fbd5f3f722da7f321a3c 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 795cd013b1bc973556dbea18ef764a39964ea459..a5451d8c533f052cf93559be414dc1c9fd86782e 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 c2fb9d6479e43469c9bdc75b5652504ce52090da..0c3bfbc5aec96bf0e289b48241c305be558470e3 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 f63fb705d2eafa69a18fb55a875268a5a7935c64..b2f3e17b56125d185b6a5f8e86552a9f104b688d 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 5a92013fe4965784abfb06b6dae47477b2cf6de1..7542f0e8a736ac09afcf0300b3263ccfe9bce3bc 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 b484e45048c48537389655a19f429f8bc21dc26d..53ad63a718921a4a4eda9146f2fa6f32b3de0bfa 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 98e29f969c293675a3d94f88d6f275c4d76ac7f7..22b3d1dd8646c4262f2d25e1a06b6cb48324962f 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 109a6d0c3fd7bae7f979cbb2798f07947e96c57b..da1e94672f1eb80fc9f8597e5b569458c915fbde 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 30b67ebcc30b5aeaef2e5c9b6711cc0f8e77ced3..3f7bdac2c72f87a882a61544c4944e9206ee50dd 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 9851ca8e22ca309e07c96fa9e4986c9d325f1172..47563db2fb3fd67cae4ebd55d8766e77bda0b6b2 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 93ee3faaa7dbecafd7049ebbb2114085da1dc132..991fd3a2d25cd81e0e4a0953b399ba481f7143c7 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 bf4194c5e315e52696a0922dbc018dbff83867e7..a704bccee1fb43909f7fba2e1093625005281e53 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 a7392e5bd1a4c06ef06125ada74b834dcaa6f9fe..bd5fdd1ca64014a0e8510b1b00fbb9e9f22bc322 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 7c688792378148d4237194c3ed1fc931cc1d34a1..26d4a8fb7d85b67f929deb876a959c15f0e169bc 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 94c2ec53721145434d427574e006a3b117bd19a2..e37f0387e5b57e6f8d2c97ece347fb003278d5ce 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 8ce830d28eb34535cf07a0941f9f9578a8274977..dd4c74b54a66376d7e47da2c2d9a9bc157813786 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 3c2edd3f60a6890ed94a59d4dd9c931a0c5e1cdc..ef891bc16fc74eda9a32eb89b90dfce334b83144 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 0dc8339e4549eda95a7b1833cbcf156a43d2a957..63c7e2a340afc776d3fede3f31caecdd4dda45f4 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 3b3174bbf902bf2f9432414d330510d18dfbdde3..20b09b4d7ac45cbe0c4ca9d8a5f37f383db5bff9 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 a2dbca6a5846fbaae3a60f9dcdf83ac06357bc06..20be9fec8c67580f0e4c42b308aa11ed8f88ab2b 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 4b6d1712438fbcd2a22b4eaa455731c444855dea..fbbc71c0b25749b50ecca0228f70ce5db2b7f8c3 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 d65e0b3a30407fde7c22693fb14020d7482f1f79..499522b8ecef1509994b5fe81e7dd627750f8c1d 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 8b10a3aebeb0627572a5cc9af822d334e48de7a3..304a0b97f33ac85c230fa917c17d7b1b8cfa4df4 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 7578f844c85c26d25badf3cd0bc5eac01fa8ed38..2fdd9e761563d6588ff76bcb12fb7d7099ff6d17 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 0ed1da6b90bd0aa4b136317639f08d6261b59842..fd2300885f785b2928f7b3fe8e7682e8d7c93035 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 10173672e8e47c612148b5982415233e27dddbab..f563d9b2a681228849cde0942bb2547284a8f7b1 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 b74853992297a6a6652fa6bf4ce459e74afe83ec..ea3250bcae8b53899f884799f17805e4d9190d77 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 03880d0e83eb9dc5c9ace60b2b6755427441d3c4..d578cc1ddccffaf502dc1fbf10b3f934c4d7060c 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 40faeb2e1e2b6ca3983bd3f293c5634f8a195d99..087be9f02e39e6f3d4dde83204d9b8bce4c2f09c 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 77a93ebed0bf80918b8348a5c497def1a9498ec7..0fe4f8504a181dfb706502ef93dd1c60d90c39a6 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 0eec3daf9551268ec7e1a3bb731a3eae9be5d3e1..9c95c0df37b9f459266e47cb3a35c7089ad8a78c 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 5902f718504a37cb7459b9fa659d3e8331639a0d..0e7b5f2da2edb3147644182e2f94a8967cf726f9 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 aed169bd71a4b27f6936ea77e260548ecd20c8d1..7bb7d05dea997f748a39e970fb892eacd29364f2 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 f65b68c95c6c31eaee694a661c71b03ecc147e43..0f8b4f35407fc271a88601e3f267d46890b82fc4 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 69a7c8a983290f1c8835f0c8539f1c2ae8adaf63..de3e7f1fd1fd85cbb192bc3ff6b52faac021cabe 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 7fc408f3e2c9b098b1979b2ead0121164a1c20d2..bb383ec1afb05da23a5833262288895b9dcb9720 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 da6b45b2e70ff5003c00eb6bf10b5ab093d2ef36..45c3f9bc13ce1abcc54e6b3c114c3012b14c3a31 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 675dcceeee6ee0ab3377085bbf3de96f40a14650..a8c4b637c2158618a160045fed5126b56868778b 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 0aed368e8b1062bb70c44f67f716a4c0cbed2dfd..3cc7d21fec02a7b9477fee6d2958cb4265451678 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 cfa63e29923163fdcc1a668d01249afbecf04427..acbc5b0aa7388700c10dcd99f3dfc3043d02d141 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 9a3ac22ec2880eac1882688b5c4d092b5db5a659..fbb3941ea971258d2ee356578af420782219177a 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 db7b6ac5cd442c354a5772172195ee1ac387978f..c89a8fa0fd436effe2491abf6d75a149ae35affc 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 0432f246b18d348d7f1c826d7e346dc55582123c..cb4aa04a75409b8332bf8d1d98f209ac54fcb040 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 da7cf52a5373689ef87e3f1d89bec5fba29dbe63..7c3e0fc69cfb7547ab5d525c0c298e227baac6e0 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 362b42c01d47c6a6924b5dbb501d6788a8f53adb..8769324701cd90b1d9f2fc05cf3f75624c77d72e 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 9699c6bd5da3237321c858f941ee676d90d9cb33..cb26c95686965db55a7557d463b6c6df7f12b1b8 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 11485eda0cab189030a0220719380b742726ee88..ed92ed0109dd30bd2eec836c8f52fb784df579fb 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 ac852d60d66e92c07944241b97f7d02596c80e1a..51e23e7d8995f948c02c25bcd0bd29c83b168514 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 06b65e941417a5c2c9c62c2b2f98006e2e6e516d..14d3c2e1df20c56c7c2964aaaa269fa87e7519c9 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 edc24d0d65f10d2017d9c90602c1b34cedf5a08b..2ee09404295fa0567b5af91bdc58227e22da10fa 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 c74f3bd0f553b1e958c571f5d27ef614ebb4a1f7..c47da0593ca90fe28898ce93041a04004f47db05 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 fe2201e4769d59910a1727ead738e4c76a2f6dae..0b7cfda5f4bb3ebfeef62096e8bdad6e16a0a74e 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 34dbc7449b466aae44b7cb7a2cafa126ce0eeb64..39420171840afbf306c72e30791259d7c1eb2d0e 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 46c792ad7f9f990734af858771a8be35879be424..63b6541db93f395e0be8ca75f714eff816dd878e 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 5e4c83b688118b739e226a210880007f28c3b57b..3c64786f75549c65d6d4e891ab490d71426fb958 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 15ad59329847d30b57b6b8de088aef08ead6c136..4406aceb9607668e202ee24cf9343c8195edc762 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 099d94bcb9df279a654c60ca8caa6c888f468b2d..a91cbd8295fc302b0bf90b799deffa0bb5ce8395 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 ca87b60fa762e51876c7d3a23d884af67bb2fa76..fdb57bfcfac25913169a549000513a92749b32f9 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 cb9f0abd73eabb49bf09110dff6c66ad7f4088ba..3ac16002c77137ecd51382036e88bd1f31c87454 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 ef171a5762ddeabcbd1e9360b03f2bb034b1988e..99ece008661bad2657ee657951b2a2ee58735844 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 945553f4a18ff5d436b9e529fee1c054308b6a22..16ebad47624051ac572ccce2f5f09954c41e5377 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 5b6206d2e2d332b37bbb25841f7bc6daf4040a6a..12aba0caf87e23fd3ad7553a6e2932e9db70e6f4 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 a8fde3c47579f6601caa6f87ffc2bee3bb1d8a4a..7a2f51ca20366882c792071e4e23a4aa2eb69fbd 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 c20e6656b88f0973b05fc8a13257792a4a28cdc5..442312bf631575868e447547c26894c6ea1a3461 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 e60ee84c79e4e802a3d3609c57bb79f3ae01d3df..24f545df5c8eac27106797b1f58fb47f7700e1ec 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 b8345bbdcb498250a38ec1fafce9e44ef8451e49..20b9b4c5d81eac76f905c19ab08fc2ca2138cece 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 51cfdef70903dd258c820542cee8fb30ebec5b8e..3cae3b3ecd9a4fa93a2f62e74e5c321a5401d890 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 ca4b21c3511656f0595f46226865449640d84a12..769011e3d7538e49d687f0099ca878507d1e0d7c 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 20fe5c8ddc203d23d6934e16cde06a16a4fba61f..89f93fd6b3445799c0c33947c54acc397129158e 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 406a44b69718f08a2c6610dd71495617acab4ecc..d3044163d2f9b23a9410b3a2798e6feee660ec8b 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 5c4f59d7648c3a0c5947d7cb12b1f35b1d002832..477c76eb6940166486920adf9f4c70714396583b 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 36e3b6117d17b659b452732d18d997893a99cdfb..888f3674c9a3ab645bf6a26004e359d445c95e20 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 f6c27c2491d9641f7fb303c344b6365e6e8719ed..3f3f7b601857c00ba84eb88fd18d28effd46d402 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 ce888a4dece87259873e65f072576e7b491bc014..5df63b6e1bcdac984a4839ed163aba1c6683f680 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 bb488ee51696e740ece3f853de0975edb6a35da6..85fe9fe092dd835f6e9e2435b3b08579f59e3ce7 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 c15ad2a0c0c520aedbe46be4432a7957e943daca..fd9d76bc356a467c950ac884991347a30eb4aa89 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 59f25347d52a6b599b255b0a24961496c1330a27..a4ea5275942521bed23e85de9d4911f3df5c21e1 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 115179db5146f01b48fc284b6686ebd83ed0e2b3..84b8d7e37c08a57a609cc90bcef9258a18757430 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 a08d83942ede6bf9b39debc1fe8ccc5a94683b8f..9c1b4e79079c3831aa5d4221160ca469c369f3d3 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 ce6ae339fd795749e68a22ca6639bdda2f1c0444..5d17d2a397cb5779bc52daa949a90b9da5d06973 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 73ed4a08c6dd8a42ed7072e348a6cc669b4d1c4f..f0a587f705d32db318cab02607ce7e9babfbc5bb 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 28f57f86e5243f982aeb4544ec342fb5d6721b8f..a78ed3d7d57a020563aa553fe6b84deec62be291 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 a288f583820ed3018d64b4d0a67808901b0031ec..4bd6201a8395e41436d00b4381d8a6dbfadf470b 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 51f33eb5e85aa14b5ebd6e159606d01b71a48f7e..19ded08e01e15127b839630c54a9083b4a4ce265 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 aee189260eaa670c2090374069264e6a4c10bbaf..621138fb80c44db6401c1b3119ab152b07de6ed3 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 7a6bb90923d3d04596f49853a38c1b65fef8ae30..6db00fc3a7bbd683b9f37cb3cfd8a9e324324226 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 d7c61645eb7ff541981eefcc8a06a55581ab2b16..f818559307e3513bbc370223233d0c0474862392 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 1f30fe1a255fc2efd291d529da1f3ad1c34c7738..d6a86dff465f043f14095667dee3a6d777976e50 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 3e7aa5f3bbad5dbc2db311028fa9de55670c1d0c..fb2ad7e7ff0c7b88390154f6032ae56da63d2f88 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 5a3608c240e9300e539d9ca08a017313352acccc..cfd196e56c4e927560289b6e71e36367f9b8fb2b 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 f4d7bc7d39df886f5f54f4ae3edc9b845e9a513e..6365530d7ca68763daec5b54c00960dabd6a998c 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 df800bf8e7b8874800c7f7e1155a40dfcbaa495b..9043d55654fd850f23178fb5c485050fb6c548a0 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 0000000000000000000000000000000000000000..385429d4e929f1f362520d4e9be4a2113eedbe42 --- /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 55662ca0e1a2e1e417a3c18290dbceeadb80db43..b462228068daf4af54490bd553e261a5c418584d 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 bf3fbd33c24c30d5fc966c93344e126b5d351931..0a14b081da1de12562b29fc095f56557543787b7 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 6d2e627575272e201a41ab080c0003f277efdb5c..bd94b52a2de2fca9c1161321adf3bdabb9ec6866 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 85c8344b3ef71455ccc22d98ed96f3df7ca0413f..2cc28df191eb600fbf9420dd01bcc6e602235924 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 5d2c02942e947c7031f7689020f21724d67efbab..02ee33d1c647a928790eba7b8f0f1218bbfc2680 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 e74519b6cdb377328a865db2d12a7f354d9f5941..af22377b117dcbc1671cfd17d48a4a8f071a327f 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 7adfe4f2da7bf4c8f931fec94a01ec0f43ce85f3..3f72daee4062ee17ab98ae8358a66ee1f2103af4 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 d27f09c7a4dd90e8549fbaec923f9868424defc3..cdf53b16df3a7707d3ff65da618e7966b79932f6 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 02606e0453940486da4ef1c4ac8851684da3307c..80df8fe4d85d774ba8c27eb34bbb62508b4278fe 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 42579fd7d7cd48773d1fce5a21fec4448feded5e..9677ac6819d6b25dcaf0413c727cd64885f684a4 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 7645617b12698fc6f6bad5b1c3be447658a89dff..004dd1b091d9b09fe560200ab650f9d85f48825a 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 2170164eb71d992edcf1069a09820f70ca10f63c..2609d55abc37ff8e2f0725c2775d4ef601bb9683 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 2bdf8a1eaadfa3d1ffe0346ccb3e4972a41f9616..3c9cb3b64bc55db9bd9637deda619f3caf490849 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 2e1524af2e7fc0429a241fa42c0cb2c1f1d55a62..379a5e1d80ef8519c79c217cf040743769d1fa06 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 9cab446ec20d5964db745e7fb1e566528566d6b0..e9ad8158e0bc8e7797ab73d838ef76c01f166e2f 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 0c7aa1bba9cdd15187149d9cb97d94f97264edbf..fd995cdd32902b750c67bf40e8e4607bf169e306 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 9841977fbbdc1e7347d548544bb6a924a74c1dd9..bdb47881d4e44981374e72ac8965cbe32deb82b9 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 68f0cc473d06e77f1c73258efc669ca6175d35d3..f48be5c53ebb9df23551bf1375e912cd4d1fc3e1 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 2c9c189da90e84bb4f47d932a498058582719cc3..cc02f78237b7cbfefefa8ebc40767dcb8d55bbcd 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 519d05c722dccff06e2c991f0ab97392eb1c6bd9..b0185b09b20fd169e557d52814b3714ebf0554c7 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 f1348c39ac9dc81678e286733f7960037bce7bc5..7fa8c4bb5d0d077fb1d4deed5096a2992ac0e4f1 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 cdb1a32f4db54d54855da41ff1f9965383fd12a7..1868b702f50a38c79eefa4d1dbd75a0cf6b96807 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 c29e07ab8d7ad44f0fa8f008e27260dbae94a1b5..3d7f17641fad45d04b1186e0b4633e8552f81a71 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 350c165ef06a34becf0ce3623f07dbde4cc143e3..0d1f381b294eb39adf6e670a0b330c6d0cc390e9 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 c02caa2dd9623a462df7f97e6881baac609a6ad3..cc9576822008f4816e3a2c74d678b2d37df7a66f 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 a639abd78a5b8ece61a53e547486fb8b6dc62bbb..24ece745ca9ea737abfed5608471edd9e0c06766 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 9d4ab1ac78732cb75ee441721c2cbafd41dc12e6..0ded223c587b27a6a95c0def554ddc5954d97556 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 700eb75c70dcfde61aa24d4f5b8e04e1307a925d..638815ddae0c3cedab752df8be5d805e1404bf7c 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 8f7da29ffe2607d84b603e6e7b0e753fa3354b5e..dac9c4ff258bbeff7e09548e467181cb5dc550c3 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 a425ebcbd634c36cdf48f05c157b6012ac9575f0..6e570a12f47bc938502523b0afacedef07c24b4f 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 998a1c9955e945eef26d400bc23ee35fa69ab07c..2199b49ebf76a3ab0763c665d41a6b197127ea1a 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 1d1aafe38548ab902db2e0e3ea1849630297a53a..0000000000000000000000000000000000000000 --- 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 c4797cc32d3f39ae953c9e2494b20b107d48700d..0000000000000000000000000000000000000000 --- 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; - } - } - -}