diff --git a/.gitignore b/.gitignore
index 109af38..79cdd3f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,14 @@
+#Project sources
+java8-jersey2/src/main
+java8-okhttp-gson/src/main
+java8-retrofit2/src/main
+csharp-net35/src/Sphereon.SDK.TemplateProcessor
+csharp-net45/src/Sphereon.SDK.TemplateProcessor
+javascript/src
+html-docs/index.html
+node_modules/
+docs/
+
# Visual Studio
.vs/
bin/
@@ -26,7 +37,7 @@ log.*
#Intellij
*.iml
-.idea
+.idea/
#Maven
target/
@@ -40,3 +51,4 @@ buildNumber.properties
.mvn/timing.properties
applog*
+
diff --git a/buildAllMavenProfiles.cmd b/buildAllMavenProfiles.cmd
index a1087d1..f903fa9 100644
--- a/buildAllMavenProfiles.cmd
+++ b/buildAllMavenProfiles.cmd
@@ -1,2 +1,7 @@
-call mvn -Pjava8 clean install
-call mvn -Pcsharp-net45 clean install
\ No newline at end of file
+call mvn -Pjava8-jersey2 clean install
+start mvn -Pjava8-okhttp-gson clean install
+start mvn -Pjava8-retrofit2 clean install
+start mvn -Pcsharp-net45 clean install
+start mvn -Pcsharp-net35 clean install
+start mvn -Pjavascript clean install
+start mvn -Phtml-docs clean install
diff --git a/buildAllMavenProfiles.sh b/buildAllMavenProfiles.sh
new file mode 100755
index 0000000..e6e0871
--- /dev/null
+++ b/buildAllMavenProfiles.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+mvn -Pjava8-jersey2 clean install
+mvn -Pjava8-okhttp-gson clean install
+mvn -Pjava8-retrofit2 clean install
+mvn -Pcsharp-net45 clean install
+mvn -Pcsharp-net35 clean install
+mvn -Pjavascript clean install
+mvn -Phtml-docs clean install
\ No newline at end of file
diff --git a/csharp-net35/.gitignore b/csharp-net35/.gitignore
new file mode 100644
index 0000000..17302c9
--- /dev/null
+++ b/csharp-net35/.gitignore
@@ -0,0 +1,186 @@
+# Ref: https://gist.github.com/kmorcinek/2710267
+# Download this file using PowerShell v3 under Windows with the following comand
+# Invoke-WebRequest https://gist.githubusercontent.com/kmorcinek/2710267/raw/ -OutFile .gitignore
+
+# User-specific files
+*.suo
+*.user
+*.sln.docstates
+./nuget
+
+# Build results
+
+[Dd]ebug/
+[Rr]elease/
+x64/
+build/
+[Bb]in/
+[Oo]bj/
+
+# NuGet Packages
+*.nupkg
+# The packages folder can be ignored because of Package Restore
+**/packages/*
+# except build/, which is used as an MSBuild target.
+!**/packages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/packages/repositories.config
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+*_i.c
+*_p.c
+*.ilk
+*.meta
+*.obj
+*.pch
+*.pdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.log
+*.scc
+
+# OS generated files #
+.DS_Store*
+ehthumbs.db
+Icon?
+Thumbs.db
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opensdf
+*.sdf
+*.cachefile
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# NCrunch
+*.ncrunch*
+.*crunch*.local.xml
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.Publish.xml
+
+# Windows Azure Build Output
+csx
+*.build.csdef
+
+# Windows Store app package directory
+AppPackages/
+
+# Others
+sql/
+*.Cache
+ClientBin/
+[Ss]tyle[Cc]op.*
+~$*
+*~
+*.dbmdl
+*.[Pp]ublish.xml
+*.pfx
+*.publishsettings
+modulesbin/
+tempbin/
+
+# EPiServer Site file (VPP)
+AppData/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file to a newer
+# Visual Studio version. Backup files are not needed, because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+
+# vim
+*.txt~
+*.swp
+*.swo
+
+# svn
+.svn
+
+# SQL Server files
+**/App_Data/*.mdf
+**/App_Data/*.ldf
+**/App_Data/*.sdf
+
+
+#LightSwitch generated files
+GeneratedArtifacts/
+_Pvt_Extensions/
+ModelManifest.xml
+
+# =========================
+# Windows detritus
+# =========================
+
+# Windows image file caches
+Thumbs.db
+ehthumbs.db
+
+# Folder config file
+Desktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
+# Mac desktop service store files
+.DS_Store
+
+# SASS Compiler cache
+.sass-cache
+
+# Visual Studio 2014 CTP
+**/*.sln.ide
diff --git a/java8/.swagger-codegen-ignore b/csharp-net35/.swagger-codegen-ignore
similarity index 100%
rename from java8/.swagger-codegen-ignore
rename to csharp-net35/.swagger-codegen-ignore
diff --git a/csharp-net35/.swagger-codegen/VERSION b/csharp-net35/.swagger-codegen/VERSION
new file mode 100644
index 0000000..a625450
--- /dev/null
+++ b/csharp-net35/.swagger-codegen/VERSION
@@ -0,0 +1 @@
+2.3.1
\ No newline at end of file
diff --git a/csharp-net35/.travis.yml b/csharp-net35/.travis.yml
new file mode 100644
index 0000000..e6b6dff
--- /dev/null
+++ b/csharp-net35/.travis.yml
@@ -0,0 +1,9 @@
+#
+# Generated by: https://github.com/swagger-api/swagger-codegen.git
+#
+language: csharp
+mono:
+ - latest
+solution: Sphereon.SDK.TemplateProcessor.sln
+script:
+ - /bin/sh ./mono_nunit_test.sh
diff --git a/csharp-net35/README.md b/csharp-net35/README.md
new file mode 100644
index 0000000..a0e9c09
--- /dev/null
+++ b/csharp-net35/README.md
@@ -0,0 +1,162 @@
+# Sphereon.SDK.TemplateProcessor - the C# library for the Template-Processor
+
+The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+
+This C# SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
+
+- API version: 0.1
+- SDK version: 0.1.1
+- Build package: io.swagger.codegen.languages.CSharpClientCodegen
+ For more information, please visit [https://sphereon.com](https://sphereon.com)
+
+
+## Frameworks supported
+- .NET 4.0 or later
+- Windows Phone 7.1 (Mango)
+
+
+## Dependencies
+- [RestSharp](https://www.nuget.org/packages/RestSharp) - 105.1.0 or later
+- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 7.0.0 or later
+- [JsonSubTypes](https://www.nuget.org/packages/JsonSubTypes/) - 1.2.0 or later
+
+The DLLs included in the package may not be the latest version. We recommend using [NuGet] (https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:
+```
+Install-Package RestSharp
+Install-Package Newtonsoft.Json
+Install-Package JsonSubTypes
+```
+
+NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See [RestSharp#742](https://github.com/restsharp/RestSharp/issues/742)
+
+
+## Installation
+Run the following command to generate the DLL
+- [Mac/Linux] `/bin/sh build.sh`
+- [Windows] `build.bat`
+
+Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces:
+```csharp
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Client;
+using Sphereon.SDK.TemplateProcessor.Model;
+```
+
+## Packaging
+
+A `.nuspec` is included with the project. You can follow the Nuget quickstart to [create](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#create-the-package) and [publish](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#publish-the-package) packages.
+
+This `.nuspec` uses placeholders from the `.csproj`, so build the `.csproj` directly:
+
+```
+nuget pack -Build -OutputDirectory out Sphereon.SDK.TemplateProcessor.csproj
+```
+
+Then, publish to a [local feed](https://docs.microsoft.com/en-us/nuget/hosting-packages/local-feeds) or [other host](https://docs.microsoft.com/en-us/nuget/hosting-packages/overview) and consume the new package via Nuget as usual.
+
+
+## Getting Started
+
+```csharp
+using System;
+using System.Diagnostics;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Client;
+using Sphereon.SDK.TemplateProcessor.Model;
+
+namespace Example
+{
+ public class Example
+ {
+ public void main()
+ {
+
+ // Configure OAuth2 access token for authorization: oauth2schema
+ Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
+
+ var apiInstance = new AllApi();
+ var payload = payload_example; // string | The dates for the merge [ { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", }, { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", } ]
+
+ try
+ {
+ // Store dataset
+ DataSetResponse result = apiInstance.CreateDataSet(payload);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling AllApi.CreateDataSet: " + e.Message );
+ }
+
+ }
+ }
+}
+```
+
+
+## Documentation for API Endpoints
+
+All URIs are relative to *https://gw.api.cloud.sphereon.com/template/processor/0.1*
+
+Class | Method | HTTP request | Description
+------------ | ------------- | ------------- | -------------
+*AllApi* | [**CreateDataSet**](docs/AllApi.md#createdataset) | **POST** /datasets | Store dataset
+*AllApi* | [**CreateTemplateContext**](docs/AllApi.md#createtemplatecontext) | **POST** /templates | Create template context
+*AllApi* | [**DeleteDataSet**](docs/AllApi.md#deletedataset) | **DELETE** /datasets/{dataSetId} | Delete a stored data set
+*AllApi* | [**DeleteJob**](docs/AllApi.md#deletejob) | **DELETE** /jobs/{jobId} | Delete a job manually
+*AllApi* | [**DeleteTemplateContext**](docs/AllApi.md#deletetemplatecontext) | **DELETE** /templates/{templateId} | Delete template context
+*AllApi* | [**GetJob**](docs/AllApi.md#getjob) | **GET** /jobs/{jobId} | Job definition and state
+*AllApi* | [**GetJobs**](docs/AllApi.md#getjobs) | **GET** /jobs | Get all jobs
+*AllApi* | [**GetResultStream**](docs/AllApi.md#getresultstream) | **PUT** /jobs/{jobId}/result/stream | Get the result file
+*AllApi* | [**GetResultStreamsAsContainer**](docs/AllApi.md#getresultstreamsascontainer) | **PUT** /jobs/{jobId}/result/container | Get the result file
+*AllApi* | [**GetTemplateContext**](docs/AllApi.md#gettemplatecontext) | **GET** /templates/{templateId} | Get template context
+*AllApi* | [**SubmitJob**](docs/AllApi.md#submitjob) | **PUT** /jobs | Submit merge job for processing
+*AllApi* | [**UpdateTemplateContext**](docs/AllApi.md#updatetemplatecontext) | **PUT** /templates | Update template context
+*AllApi* | [**UploadTemplateFile**](docs/AllApi.md#uploadtemplatefile) | **POST** /templates/{templateId} | Upload template file
+*DataSetApi* | [**CreateDataSet**](docs/DataSetApi.md#createdataset) | **POST** /datasets | Store dataset
+*DataSetApi* | [**DeleteDataSet**](docs/DataSetApi.md#deletedataset) | **DELETE** /datasets/{dataSetId} | Delete a stored data set
+*JobApi* | [**GetJob**](docs/JobApi.md#getjob) | **GET** /jobs/{jobId} | Job definition and state
+*JobApi* | [**GetJobs**](docs/JobApi.md#getjobs) | **GET** /jobs | Get all jobs
+*JobApi* | [**GetResultStream**](docs/JobApi.md#getresultstream) | **PUT** /jobs/{jobId}/result/stream | Get the result file
+*JobApi* | [**GetResultStreamsAsContainer**](docs/JobApi.md#getresultstreamsascontainer) | **PUT** /jobs/{jobId}/result/container | Get the result file
+*JobApi* | [**SubmitJob**](docs/JobApi.md#submitjob) | **PUT** /jobs | Submit merge job for processing
+*TemplateApi* | [**CreateTemplateContext**](docs/TemplateApi.md#createtemplatecontext) | **POST** /templates | Create template context
+*TemplateApi* | [**DeleteTemplateContext**](docs/TemplateApi.md#deletetemplatecontext) | **DELETE** /templates/{templateId} | Delete template context
+*TemplateApi* | [**GetTemplateContext**](docs/TemplateApi.md#gettemplatecontext) | **GET** /templates/{templateId} | Get template context
+*TemplateApi* | [**UpdateTemplateContext**](docs/TemplateApi.md#updatetemplatecontext) | **PUT** /templates | Update template context
+*TemplateApi* | [**UploadTemplateFile**](docs/TemplateApi.md#uploadtemplatefile) | **POST** /templates/{templateId} | Upload template file
+
+
+
+## Documentation for Models
+
+ - [Model.ClaimParameters](docs/ClaimParameters.md)
+ - [Model.DataSetResponse](docs/DataSetResponse.md)
+ - [Model.Error](docs/Error.md)
+ - [Model.ErrorResponse](docs/ErrorResponse.md)
+ - [Model.Lifecycle](docs/Lifecycle.md)
+ - [Model.MergeJob](docs/MergeJob.md)
+ - [Model.MergeJobResponse](docs/MergeJobResponse.md)
+ - [Model.MergeSettings](docs/MergeSettings.md)
+ - [Model.OutputSettings](docs/OutputSettings.md)
+ - [Model.OwnerInfo](docs/OwnerInfo.md)
+ - [Model.ResultStreamRequest](docs/ResultStreamRequest.md)
+ - [Model.StorageLocation](docs/StorageLocation.md)
+ - [Model.StreamLocation](docs/StreamLocation.md)
+ - [Model.TemplateContext](docs/TemplateContext.md)
+ - [Model.TemplateContextRequest](docs/TemplateContextRequest.md)
+ - [Model.TemplateContextResponse](docs/TemplateContextResponse.md)
+
+
+
+## Documentation for Authorization
+
+
+### oauth2schema
+
+- **Type**: OAuth
+- **Flow**: application
+- **Authorization URL**:
+- **Scopes**:
+ - global: accessEverything
+
diff --git a/csharp-net35/Sphereon.SDK.TemplateProcessor.sln b/csharp-net35/Sphereon.SDK.TemplateProcessor.sln
new file mode 100644
index 0000000..701b138
--- /dev/null
+++ b/csharp-net35/Sphereon.SDK.TemplateProcessor.sln
@@ -0,0 +1,27 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2012
+VisualStudioVersion = 12.0.0.0
+MinimumVisualStudioVersion = 10.0.0.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sphereon.SDK.TemplateProcessor", "src\Sphereon.SDK.TemplateProcessor\Sphereon.SDK.TemplateProcessor.csproj", "{D69606FB-2A3F-4363-A33C-4FAD5967BB66}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sphereon.SDK.TemplateProcessor.Test", "src\Sphereon.SDK.TemplateProcessor.Test\Sphereon.SDK.TemplateProcessor.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {D69606FB-2A3F-4363-A33C-4FAD5967BB66}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D69606FB-2A3F-4363-A33C-4FAD5967BB66}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D69606FB-2A3F-4363-A33C-4FAD5967BB66}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D69606FB-2A3F-4363-A33C-4FAD5967BB66}.Release|Any CPU.Build.0 = Release|Any CPU
+ {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
\ No newline at end of file
diff --git a/csharp-net35/build.bat b/csharp-net35/build.bat
new file mode 100644
index 0000000..07fccca
--- /dev/null
+++ b/csharp-net35/build.bat
@@ -0,0 +1,17 @@
+:: Generated by: https://github.com/swagger-api/swagger-codegen.git
+::
+
+@echo off
+
+SET CSCPATH=%SYSTEMROOT%\Microsoft.NET\Framework\v3.5
+
+if not exist ".\nuget.exe" powershell -Command "(new-object System.Net.WebClient).DownloadFile('https://dist.nuget.org/win-x86-commandline/latest/nuget.exe', '.\nuget.exe')"
+.\nuget.exe install src\Sphereon.SDK.TemplateProcessor\packages.config -o packages
+
+if not exist ".\bin" mkdir bin
+
+copy packages\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll
+copy packages\JsonSubTypes.1.2.0\lib\net35\JsonSubTypes.dll bin\JsonSubTypes.dll
+copy packages\RestSharp.105.1.0\lib\net35\RestSharp.dll bin\RestSharp.dll
+%CSCPATH%\csc /reference:bin\Newtonsoft.Json.dll;bin\JsonSubTypes.dll;bin\RestSharp.dll;System.ComponentModel.DataAnnotations.dll /target:library /out:bin\Sphereon.SDK.TemplateProcessor.dll /recurse:src\Sphereon.SDK.TemplateProcessor\*.cs /doc:bin\Sphereon.SDK.TemplateProcessor.xml
+
diff --git a/csharp-net35/build.sh b/csharp-net35/build.sh
new file mode 100644
index 0000000..37f6619
--- /dev/null
+++ b/csharp-net35/build.sh
@@ -0,0 +1,68 @@
+#!/usr/bin/env bash
+#
+# Generated by: https://github.com/swagger-api/swagger-codegen.git
+#
+
+frameworkVersion=net35
+
+# sdk must match installed framworks under PREFIX/lib/mono/[value]
+sdk=4
+
+# langversion refers to C# language features. see man mcs for details.
+langversion=${sdk}
+nuget_cmd=nuget
+
+# Match against our known SDK possibilities
+case "${sdk}" in
+ 4)
+ langversion=4
+ ;;
+ 4.5*)
+ langversion=5
+ ;;
+ 4.6*)
+ langversion=6
+ ;;
+ 4.7*)
+ langversion=7 # ignoring 7.1 for now.
+ ;;
+ *)
+ langversion=6
+ ;;
+esac
+
+echo "[INFO] Target framework: ${frameworkVersion}"
+
+if ! type nuget &>/dev/null; then
+ echo "[INFO] Download nuget and packages"
+ wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe;
+ nuget_cmd="mono nuget.exe"
+fi
+
+mozroots --import --sync
+${nuget_cmd} install src/Sphereon.SDK.TemplateProcessor/packages.config -o packages;
+
+echo "[INFO] Copy DLLs to the 'bin' folder"
+mkdir -p bin;
+cp packages/Newtonsoft.Json.10.0.3/lib/net35/Newtonsoft.Json.dll bin/Newtonsoft.Json.dll;
+cp packages/RestSharp.105.1.0/lib/net35/RestSharp.dll bin/RestSharp.dll;
+cp packages/JsonSubTypes.1.2.0/lib/net35/JsonSubTypes.dll bin/JsonSubTypes.dll
+
+echo "[INFO] Run 'mcs' to build bin/Sphereon.SDK.TemplateProcessor.dll"
+mcs -langversion:${langversion} -sdk:${sdk} -r:bin/Newtonsoft.Json.dll,bin/JsonSubTypes.dll,\
+bin/RestSharp.dll,\
+System.ComponentModel.DataAnnotations.dll,\
+System.Runtime.Serialization.dll \
+-target:library \
+-out:bin/Sphereon.SDK.TemplateProcessor.dll \
+-recurse:'src/Sphereon.SDK.TemplateProcessor/*.cs' \
+-doc:bin/Sphereon.SDK.TemplateProcessor.xml \
+-platform:anycpu
+
+if [ $? -ne 0 ]
+then
+ echo "[ERROR] Compilation failed with exit code $?"
+ exit 1
+else
+ echo "[INFO] bin/Sphereon.SDK.TemplateProcessor.dll was created successfully"
+fi
diff --git a/csharp-net35/git_push.sh b/csharp-net35/git_push.sh
new file mode 100644
index 0000000..160f6f2
--- /dev/null
+++ b/csharp-net35/git_push.sh
@@ -0,0 +1,52 @@
+#!/bin/sh
+# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
+#
+# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+
+git_user_id=$1
+git_repo_id=$2
+release_note=$3
+
+if [ "$git_user_id" = "" ]; then
+ git_user_id="GIT_USER_ID"
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
+fi
+
+if [ "$git_repo_id" = "" ]; then
+ git_repo_id="GIT_REPO_ID"
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
+fi
+
+if [ "$release_note" = "" ]; then
+ release_note="Minor update"
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
+fi
+
+# Initialize the local directory as a Git repository
+git init
+
+# Adds the files in the local repository and stages them for commit.
+git add .
+
+# Commits the tracked changes and prepares them to be pushed to a remote repository.
+git commit -m "$release_note"
+
+# Sets the new remote
+git_remote=`git remote`
+if [ "$git_remote" = "" ]; then # git remote not defined
+
+ if [ "$GIT_TOKEN" = "" ]; then
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
+ git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
+ else
+ git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
+ fi
+
+fi
+
+git pull origin master
+
+# Pushes (Forces) the changes in the local repository up to the remote repository
+echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
+git push origin master 2>&1 | grep -v 'To https'
+
diff --git a/csharp-net35/mono_nunit_test.sh b/csharp-net35/mono_nunit_test.sh
new file mode 100644
index 0000000..55ec687
--- /dev/null
+++ b/csharp-net35/mono_nunit_test.sh
@@ -0,0 +1,22 @@
+#!/usr/bin/env bash
+#
+# Generated by: https://github.com/swagger-api/swagger-codegen.git
+#
+
+wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
+mozroots --import --sync
+
+echo "[INFO] remove bin/Debug/SwaggerClientTest.dll"
+rm src/Sphereon.SDK.TemplateProcessor.Test/bin/Debug/Sphereon.SDK.TemplateProcessor.Test.dll 2> /dev/null
+
+echo "[INFO] install NUnit runners via NuGet"
+wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
+mozroots --import --sync
+mono nuget.exe install src/Sphereon.SDK.TemplateProcessor.Test/packages.config -o packages
+
+echo "[INFO] Install NUnit runners via NuGet"
+mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory packages
+
+echo "[INFO] Build the solution and run the unit test"
+xbuild Sphereon.SDK.TemplateProcessor.sln && \
+ mono ./packages/NUnit.Runners.2.6.4/tools/nunit-console.exe src/Sphereon.SDK.TemplateProcessor.Test/bin/Debug/Sphereon.SDK.TemplateProcessor.Test.dll
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Api/AllApiTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Api/AllApiTests.cs
new file mode 100644
index 0000000..0236738
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Api/AllApiTests.cs
@@ -0,0 +1,228 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+using System;
+using System.IO;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.Reflection;
+using RestSharp;
+using NUnit.Framework;
+
+using Sphereon.SDK.TemplateProcessor.Client;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing AllApi
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the API endpoint.
+ ///
+ [TestFixture]
+ public class AllApiTests
+ {
+ private AllApi instance;
+
+ ///
+ /// Setup before each unit test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ instance = new AllApi();
+ }
+
+ ///
+ /// Clean up after each unit test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of AllApi
+ ///
+ [Test]
+ public void InstanceTest()
+ {
+ // TODO uncomment below to test 'IsInstanceOfType' AllApi
+ //Assert.IsInstanceOfType(typeof(AllApi), instance, "instance is a AllApi");
+ }
+
+
+ ///
+ /// Test CreateDataSet
+ ///
+ [Test]
+ public void CreateDataSetTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string payload = null;
+ //var response = instance.CreateDataSet(payload);
+ //Assert.IsInstanceOf (response, "response is DataSetResponse");
+ }
+
+ ///
+ /// Test CreateTemplateContext
+ ///
+ [Test]
+ public void CreateTemplateContextTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //TemplateContextRequest templateRequest = null;
+ //var response = instance.CreateTemplateContext(templateRequest);
+ //Assert.IsInstanceOf (response, "response is TemplateContextResponse");
+ }
+
+ ///
+ /// Test DeleteDataSet
+ ///
+ [Test]
+ public void DeleteDataSetTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string dataSetId = null;
+ //var response = instance.DeleteDataSet(dataSetId);
+ //Assert.IsInstanceOf (response, "response is DataSetResponse");
+ }
+
+ ///
+ /// Test DeleteJob
+ ///
+ [Test]
+ public void DeleteJobTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string jobId = null;
+ //var response = instance.DeleteJob(jobId);
+ //Assert.IsInstanceOf (response, "response is MergeJobResponse");
+ }
+
+ ///
+ /// Test DeleteTemplateContext
+ ///
+ [Test]
+ public void DeleteTemplateContextTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string templateId = null;
+ //var response = instance.DeleteTemplateContext(templateId);
+ //Assert.IsInstanceOf (response, "response is TemplateContextResponse");
+ }
+
+ ///
+ /// Test GetJob
+ ///
+ [Test]
+ public void GetJobTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string jobId = null;
+ //var response = instance.GetJob(jobId);
+ //Assert.IsInstanceOf (response, "response is MergeJobResponse");
+ }
+
+ ///
+ /// Test GetJobs
+ ///
+ [Test]
+ public void GetJobsTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //List status = null;
+ //var response = instance.GetJobs(status);
+ //Assert.IsInstanceOf> (response, "response is List");
+ }
+
+ ///
+ /// Test GetResultStream
+ ///
+ [Test]
+ public void GetResultStreamTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string jobId = null;
+ //ResultStreamRequest resultStreamRequest = null;
+ //var response = instance.GetResultStream(jobId, resultStreamRequest);
+ //Assert.IsInstanceOf (response, "response is byte[]");
+ }
+
+ ///
+ /// Test GetResultStreamsAsContainer
+ ///
+ [Test]
+ public void GetResultStreamsAsContainerTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string jobId = null;
+ //OutputSettings outputSettings = null;
+ //var response = instance.GetResultStreamsAsContainer(jobId, outputSettings);
+ //Assert.IsInstanceOf (response, "response is byte[]");
+ }
+
+ ///
+ /// Test GetTemplateContext
+ ///
+ [Test]
+ public void GetTemplateContextTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string templateId = null;
+ //var response = instance.GetTemplateContext(templateId);
+ //Assert.IsInstanceOf (response, "response is TemplateContextResponse");
+ }
+
+ ///
+ /// Test SubmitJob
+ ///
+ [Test]
+ public void SubmitJobTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //MergeSettings mergesettings = null;
+ //var response = instance.SubmitJob(mergesettings);
+ //Assert.IsInstanceOf (response, "response is MergeJobResponse");
+ }
+
+ ///
+ /// Test UpdateTemplateContext
+ ///
+ [Test]
+ public void UpdateTemplateContextTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //TemplateContext templateContext = null;
+ //var response = instance.UpdateTemplateContext(templateContext);
+ //Assert.IsInstanceOf (response, "response is TemplateContextResponse");
+ }
+
+ ///
+ /// Test UploadTemplateFile
+ ///
+ [Test]
+ public void UploadTemplateFileTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string templateId = null;
+ //System.IO.Stream stream = null;
+ //var response = instance.UploadTemplateFile(templateId, stream);
+ //Assert.IsInstanceOf (response, "response is TemplateContextResponse");
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Api/DataSetApiTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Api/DataSetApiTests.cs
new file mode 100644
index 0000000..8a6a2bc
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Api/DataSetApiTests.cs
@@ -0,0 +1,93 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+using System;
+using System.IO;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.Reflection;
+using RestSharp;
+using NUnit.Framework;
+
+using Sphereon.SDK.TemplateProcessor.Client;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing DataSetApi
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the API endpoint.
+ ///
+ [TestFixture]
+ public class DataSetApiTests
+ {
+ private DataSetApi instance;
+
+ ///
+ /// Setup before each unit test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ instance = new DataSetApi();
+ }
+
+ ///
+ /// Clean up after each unit test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of DataSetApi
+ ///
+ [Test]
+ public void InstanceTest()
+ {
+ // TODO uncomment below to test 'IsInstanceOfType' DataSetApi
+ //Assert.IsInstanceOfType(typeof(DataSetApi), instance, "instance is a DataSetApi");
+ }
+
+
+ ///
+ /// Test CreateDataSet
+ ///
+ [Test]
+ public void CreateDataSetTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string payload = null;
+ //var response = instance.CreateDataSet(payload);
+ //Assert.IsInstanceOf (response, "response is DataSetResponse");
+ }
+
+ ///
+ /// Test DeleteDataSet
+ ///
+ [Test]
+ public void DeleteDataSetTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string dataSetId = null;
+ //var response = instance.DeleteDataSet(dataSetId);
+ //Assert.IsInstanceOf (response, "response is DataSetResponse");
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Api/JobApiTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Api/JobApiTests.cs
new file mode 100644
index 0000000..c41db53
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Api/JobApiTests.cs
@@ -0,0 +1,131 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+using System;
+using System.IO;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.Reflection;
+using RestSharp;
+using NUnit.Framework;
+
+using Sphereon.SDK.TemplateProcessor.Client;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing JobApi
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the API endpoint.
+ ///
+ [TestFixture]
+ public class JobApiTests
+ {
+ private JobApi instance;
+
+ ///
+ /// Setup before each unit test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ instance = new JobApi();
+ }
+
+ ///
+ /// Clean up after each unit test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of JobApi
+ ///
+ [Test]
+ public void InstanceTest()
+ {
+ // TODO uncomment below to test 'IsInstanceOfType' JobApi
+ //Assert.IsInstanceOfType(typeof(JobApi), instance, "instance is a JobApi");
+ }
+
+
+ ///
+ /// Test GetJob
+ ///
+ [Test]
+ public void GetJobTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string jobId = null;
+ //var response = instance.GetJob(jobId);
+ //Assert.IsInstanceOf (response, "response is MergeJobResponse");
+ }
+
+ ///
+ /// Test GetJobs
+ ///
+ [Test]
+ public void GetJobsTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //List status = null;
+ //var response = instance.GetJobs(status);
+ //Assert.IsInstanceOf> (response, "response is List");
+ }
+
+ ///
+ /// Test GetResultStream
+ ///
+ [Test]
+ public void GetResultStreamTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string jobId = null;
+ //ResultStreamRequest resultStreamRequest = null;
+ //var response = instance.GetResultStream(jobId, resultStreamRequest);
+ //Assert.IsInstanceOf (response, "response is byte[]");
+ }
+
+ ///
+ /// Test GetResultStreamsAsContainer
+ ///
+ [Test]
+ public void GetResultStreamsAsContainerTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string jobId = null;
+ //OutputSettings outputSettings = null;
+ //var response = instance.GetResultStreamsAsContainer(jobId, outputSettings);
+ //Assert.IsInstanceOf (response, "response is byte[]");
+ }
+
+ ///
+ /// Test SubmitJob
+ ///
+ [Test]
+ public void SubmitJobTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //MergeSettings mergesettings = null;
+ //var response = instance.SubmitJob(mergesettings);
+ //Assert.IsInstanceOf (response, "response is MergeJobResponse");
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Api/TemplateApiTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Api/TemplateApiTests.cs
new file mode 100644
index 0000000..db43f20
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Api/TemplateApiTests.cs
@@ -0,0 +1,130 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+using System;
+using System.IO;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.Reflection;
+using RestSharp;
+using NUnit.Framework;
+
+using Sphereon.SDK.TemplateProcessor.Client;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing TemplateApi
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the API endpoint.
+ ///
+ [TestFixture]
+ public class TemplateApiTests
+ {
+ private TemplateApi instance;
+
+ ///
+ /// Setup before each unit test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ instance = new TemplateApi();
+ }
+
+ ///
+ /// Clean up after each unit test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of TemplateApi
+ ///
+ [Test]
+ public void InstanceTest()
+ {
+ // TODO uncomment below to test 'IsInstanceOfType' TemplateApi
+ //Assert.IsInstanceOfType(typeof(TemplateApi), instance, "instance is a TemplateApi");
+ }
+
+
+ ///
+ /// Test CreateTemplateContext
+ ///
+ [Test]
+ public void CreateTemplateContextTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //TemplateContextRequest templateRequest = null;
+ //var response = instance.CreateTemplateContext(templateRequest);
+ //Assert.IsInstanceOf (response, "response is TemplateContextResponse");
+ }
+
+ ///
+ /// Test DeleteTemplateContext
+ ///
+ [Test]
+ public void DeleteTemplateContextTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string templateId = null;
+ //var response = instance.DeleteTemplateContext(templateId);
+ //Assert.IsInstanceOf (response, "response is TemplateContextResponse");
+ }
+
+ ///
+ /// Test GetTemplateContext
+ ///
+ [Test]
+ public void GetTemplateContextTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string templateId = null;
+ //var response = instance.GetTemplateContext(templateId);
+ //Assert.IsInstanceOf (response, "response is TemplateContextResponse");
+ }
+
+ ///
+ /// Test UpdateTemplateContext
+ ///
+ [Test]
+ public void UpdateTemplateContextTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //TemplateContext templateContext = null;
+ //var response = instance.UpdateTemplateContext(templateContext);
+ //Assert.IsInstanceOf (response, "response is TemplateContextResponse");
+ }
+
+ ///
+ /// Test UploadTemplateFile
+ ///
+ [Test]
+ public void UploadTemplateFileTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string templateId = null;
+ //System.IO.Stream stream = null;
+ //var response = instance.UploadTemplateFile(templateId, stream);
+ //Assert.IsInstanceOf (response, "response is TemplateContextResponse");
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/ClaimParametersTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/ClaimParametersTests.cs
new file mode 100644
index 0000000..0a150b3
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/ClaimParametersTests.cs
@@ -0,0 +1,112 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing ClaimParameters
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class ClaimParametersTests
+ {
+ // TODO uncomment below to declare an instance variable for ClaimParameters
+ //private ClaimParameters instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of ClaimParameters
+ //instance = new ClaimParameters();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of ClaimParameters
+ ///
+ [Test]
+ public void ClaimParametersInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" ClaimParameters
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a ClaimParameters");
+ }
+
+
+ ///
+ /// Test the property 'ApiEndUser'
+ ///
+ [Test]
+ public void ApiEndUserTest()
+ {
+ // TODO unit test for the property 'ApiEndUser'
+ }
+ ///
+ /// Test the property 'ApplicationId'
+ ///
+ [Test]
+ public void ApplicationIdTest()
+ {
+ // TODO unit test for the property 'ApplicationId'
+ }
+ ///
+ /// Test the property 'KeyType'
+ ///
+ [Test]
+ public void KeyTypeTest()
+ {
+ // TODO unit test for the property 'KeyType'
+ }
+ ///
+ /// Test the property 'SphereonIdentifier'
+ ///
+ [Test]
+ public void SphereonIdentifierTest()
+ {
+ // TODO unit test for the property 'SphereonIdentifier'
+ }
+ ///
+ /// Test the property 'ApiSupplierTenantId'
+ ///
+ [Test]
+ public void ApiSupplierTenantIdTest()
+ {
+ // TODO unit test for the property 'ApiSupplierTenantId'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/DataSetResponseTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/DataSetResponseTests.cs
new file mode 100644
index 0000000..1284c80
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/DataSetResponseTests.cs
@@ -0,0 +1,102 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing DataSetResponse
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class DataSetResponseTests
+ {
+ // TODO uncomment below to declare an instance variable for DataSetResponse
+ //private DataSetResponse instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of DataSetResponse
+ //instance = new DataSetResponse();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of DataSetResponse
+ ///
+ [Test]
+ public void DataSetResponseInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" DataSetResponse
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a DataSetResponse");
+ }
+
+ ///
+ /// Test the property 'CompletionTime'
+ ///
+ [Test]
+ public void CompletionTimeTest()
+ {
+ // TODO unit test for the property 'CompletionTime'
+ }
+ ///
+ /// Test the property 'CreationTime'
+ ///
+ [Test]
+ public void CreationTimeTest()
+ {
+ // TODO unit test for the property 'CreationTime'
+ }
+ ///
+ /// Test the property 'Id'
+ ///
+ [Test]
+ public void IdTest()
+ {
+ // TODO unit test for the property 'Id'
+ }
+ ///
+ /// Test the property 'Status'
+ ///
+ [Test]
+ public void StatusTest()
+ {
+ // TODO unit test for the property 'Status'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/ErrorResponseTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/ErrorResponseTests.cs
new file mode 100644
index 0000000..96404c2
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/ErrorResponseTests.cs
@@ -0,0 +1,78 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing ErrorResponse
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class ErrorResponseTests
+ {
+ // TODO uncomment below to declare an instance variable for ErrorResponse
+ //private ErrorResponse instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of ErrorResponse
+ //instance = new ErrorResponse();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of ErrorResponse
+ ///
+ [Test]
+ public void ErrorResponseInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" ErrorResponse
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a ErrorResponse");
+ }
+
+ ///
+ /// Test the property 'Errors'
+ ///
+ [Test]
+ public void ErrorsTest()
+ {
+ // TODO unit test for the property 'Errors'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/ErrorTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/ErrorTests.cs
new file mode 100644
index 0000000..bfd1f3f
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/ErrorTests.cs
@@ -0,0 +1,102 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing Error
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class ErrorTests
+ {
+ // TODO uncomment below to declare an instance variable for Error
+ //private Error instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of Error
+ //instance = new Error();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of Error
+ ///
+ [Test]
+ public void ErrorInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" Error
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a Error");
+ }
+
+ ///
+ /// Test the property 'Code'
+ ///
+ [Test]
+ public void CodeTest()
+ {
+ // TODO unit test for the property 'Code'
+ }
+ ///
+ /// Test the property 'Level'
+ ///
+ [Test]
+ public void LevelTest()
+ {
+ // TODO unit test for the property 'Level'
+ }
+ ///
+ /// Test the property 'Cause'
+ ///
+ [Test]
+ public void CauseTest()
+ {
+ // TODO unit test for the property 'Cause'
+ }
+ ///
+ /// Test the property 'Message'
+ ///
+ [Test]
+ public void MessageTest()
+ {
+ // TODO unit test for the property 'Message'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/LifecycleTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/LifecycleTests.cs
new file mode 100644
index 0000000..fa03e6a
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/LifecycleTests.cs
@@ -0,0 +1,94 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing Lifecycle
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class LifecycleTests
+ {
+ // TODO uncomment below to declare an instance variable for Lifecycle
+ //private Lifecycle instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of Lifecycle
+ //instance = new Lifecycle();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of Lifecycle
+ ///
+ [Test]
+ public void LifecycleInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" Lifecycle
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a Lifecycle");
+ }
+
+ ///
+ /// Test the property 'ActionTime'
+ ///
+ [Test]
+ public void ActionTimeTest()
+ {
+ // TODO unit test for the property 'ActionTime'
+ }
+ ///
+ /// Test the property 'Action'
+ ///
+ [Test]
+ public void ActionTest()
+ {
+ // TODO unit test for the property 'Action'
+ }
+ ///
+ /// Test the property 'Type'
+ ///
+ [Test]
+ public void TypeTest()
+ {
+ // TODO unit test for the property 'Type'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/MergeJobResponseTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/MergeJobResponseTests.cs
new file mode 100644
index 0000000..93fdf24
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/MergeJobResponseTests.cs
@@ -0,0 +1,102 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing MergeJobResponse
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class MergeJobResponseTests
+ {
+ // TODO uncomment below to declare an instance variable for MergeJobResponse
+ //private MergeJobResponse instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of MergeJobResponse
+ //instance = new MergeJobResponse();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of MergeJobResponse
+ ///
+ [Test]
+ public void MergeJobResponseInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" MergeJobResponse
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a MergeJobResponse");
+ }
+
+ ///
+ /// Test the property 'JobId'
+ ///
+ [Test]
+ public void JobIdTest()
+ {
+ // TODO unit test for the property 'JobId'
+ }
+ ///
+ /// Test the property 'Job'
+ ///
+ [Test]
+ public void JobTest()
+ {
+ // TODO unit test for the property 'Job'
+ }
+ ///
+ /// Test the property 'StatusMessage'
+ ///
+ [Test]
+ public void StatusMessageTest()
+ {
+ // TODO unit test for the property 'StatusMessage'
+ }
+ ///
+ /// Test the property 'Status'
+ ///
+ [Test]
+ public void StatusTest()
+ {
+ // TODO unit test for the property 'Status'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/MergeJobTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/MergeJobTests.cs
new file mode 100644
index 0000000..2c8cecd
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/MergeJobTests.cs
@@ -0,0 +1,150 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing MergeJob
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class MergeJobTests
+ {
+ // TODO uncomment below to declare an instance variable for MergeJob
+ //private MergeJob instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of MergeJob
+ //instance = new MergeJob();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of MergeJob
+ ///
+ [Test]
+ public void MergeJobInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" MergeJob
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a MergeJob");
+ }
+
+ ///
+ /// Test the property 'CompletionTime'
+ ///
+ [Test]
+ public void CompletionTimeTest()
+ {
+ // TODO unit test for the property 'CompletionTime'
+ }
+ ///
+ /// Test the property 'JobId'
+ ///
+ [Test]
+ public void JobIdTest()
+ {
+ // TODO unit test for the property 'JobId'
+ }
+ ///
+ /// Test the property 'CreationTime'
+ ///
+ [Test]
+ public void CreationTimeTest()
+ {
+ // TODO unit test for the property 'CreationTime'
+ }
+ ///
+ /// Test the property 'DataSetId'
+ ///
+ [Test]
+ public void DataSetIdTest()
+ {
+ // TODO unit test for the property 'DataSetId'
+ }
+ ///
+ /// Test the property 'ResultStreams'
+ ///
+ [Test]
+ public void ResultStreamsTest()
+ {
+ // TODO unit test for the property 'ResultStreams'
+ }
+ ///
+ /// Test the property 'HeaderDataSetIds'
+ ///
+ [Test]
+ public void HeaderDataSetIdsTest()
+ {
+ // TODO unit test for the property 'HeaderDataSetIds'
+ }
+ ///
+ /// Test the property 'ResultStorageLocation'
+ ///
+ [Test]
+ public void ResultStorageLocationTest()
+ {
+ // TODO unit test for the property 'ResultStorageLocation'
+ }
+ ///
+ /// Test the property 'MergeSettings'
+ ///
+ [Test]
+ public void MergeSettingsTest()
+ {
+ // TODO unit test for the property 'MergeSettings'
+ }
+ ///
+ /// Test the property 'StatusMessage'
+ ///
+ [Test]
+ public void StatusMessageTest()
+ {
+ // TODO unit test for the property 'StatusMessage'
+ }
+ ///
+ /// Test the property 'Status'
+ ///
+ [Test]
+ public void StatusTest()
+ {
+ // TODO unit test for the property 'Status'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/MergeSettingsTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/MergeSettingsTests.cs
new file mode 100644
index 0000000..cab853c
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/MergeSettingsTests.cs
@@ -0,0 +1,142 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing MergeSettings
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class MergeSettingsTests
+ {
+ // TODO uncomment below to declare an instance variable for MergeSettings
+ //private MergeSettings instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of MergeSettings
+ //instance = new MergeSettings();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of MergeSettings
+ ///
+ [Test]
+ public void MergeSettingsInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" MergeSettings
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a MergeSettings");
+ }
+
+ ///
+ /// Test the property 'Lifecycle'
+ ///
+ [Test]
+ public void LifecycleTest()
+ {
+ // TODO unit test for the property 'Lifecycle'
+ }
+ ///
+ /// Test the property 'MergeResult'
+ ///
+ [Test]
+ public void MergeResultTest()
+ {
+ // TODO unit test for the property 'MergeResult'
+ }
+ ///
+ /// Test the property 'DataSetId'
+ ///
+ [Test]
+ public void DataSetIdTest()
+ {
+ // TODO unit test for the property 'DataSetId'
+ }
+ ///
+ /// Test the property 'Engine'
+ ///
+ [Test]
+ public void EngineTest()
+ {
+ // TODO unit test for the property 'Engine'
+ }
+ ///
+ /// Test the property 'HeaderDataSetIds'
+ ///
+ [Test]
+ public void HeaderDataSetIdsTest()
+ {
+ // TODO unit test for the property 'HeaderDataSetIds'
+ }
+ ///
+ /// Test the property 'ResultStorageLocation'
+ ///
+ [Test]
+ public void ResultStorageLocationTest()
+ {
+ // TODO unit test for the property 'ResultStorageLocation'
+ }
+ ///
+ /// Test the property 'TemplateVersion'
+ ///
+ [Test]
+ public void TemplateVersionTest()
+ {
+ // TODO unit test for the property 'TemplateVersion'
+ }
+ ///
+ /// Test the property 'TemplateId'
+ ///
+ [Test]
+ public void TemplateIdTest()
+ {
+ // TODO unit test for the property 'TemplateId'
+ }
+ ///
+ /// Test the property 'OutputSettings'
+ ///
+ [Test]
+ public void OutputSettingsTest()
+ {
+ // TODO unit test for the property 'OutputSettings'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/OutputSettingsTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/OutputSettingsTests.cs
new file mode 100644
index 0000000..dea791e
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/OutputSettingsTests.cs
@@ -0,0 +1,86 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing OutputSettings
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class OutputSettingsTests
+ {
+ // TODO uncomment below to declare an instance variable for OutputSettings
+ //private OutputSettings instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of OutputSettings
+ //instance = new OutputSettings();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of OutputSettings
+ ///
+ [Test]
+ public void OutputSettingsInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" OutputSettings
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a OutputSettings");
+ }
+
+ ///
+ /// Test the property 'DeliveryFormat'
+ ///
+ [Test]
+ public void DeliveryFormatTest()
+ {
+ // TODO unit test for the property 'DeliveryFormat'
+ }
+ ///
+ /// Test the property 'OutputFormat'
+ ///
+ [Test]
+ public void OutputFormatTest()
+ {
+ // TODO unit test for the property 'OutputFormat'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/OwnerInfoTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/OwnerInfoTests.cs
new file mode 100644
index 0000000..6db728f
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/OwnerInfoTests.cs
@@ -0,0 +1,102 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing OwnerInfo
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class OwnerInfoTests
+ {
+ // TODO uncomment below to declare an instance variable for OwnerInfo
+ //private OwnerInfo instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of OwnerInfo
+ //instance = new OwnerInfo();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of OwnerInfo
+ ///
+ [Test]
+ public void OwnerInfoInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" OwnerInfo
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a OwnerInfo");
+ }
+
+ ///
+ /// Test the property 'Phone'
+ ///
+ [Test]
+ public void PhoneTest()
+ {
+ // TODO unit test for the property 'Phone'
+ }
+ ///
+ /// Test the property 'CompanyDepartment'
+ ///
+ [Test]
+ public void CompanyDepartmentTest()
+ {
+ // TODO unit test for the property 'CompanyDepartment'
+ }
+ ///
+ /// Test the property 'Name'
+ ///
+ [Test]
+ public void NameTest()
+ {
+ // TODO unit test for the property 'Name'
+ }
+ ///
+ /// Test the property 'Email'
+ ///
+ [Test]
+ public void EmailTest()
+ {
+ // TODO unit test for the property 'Email'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/ResultStreamRequestTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/ResultStreamRequestTests.cs
new file mode 100644
index 0000000..f2639a9
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/ResultStreamRequestTests.cs
@@ -0,0 +1,86 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing ResultStreamRequest
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class ResultStreamRequestTests
+ {
+ // TODO uncomment below to declare an instance variable for ResultStreamRequest
+ //private ResultStreamRequest instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of ResultStreamRequest
+ //instance = new ResultStreamRequest();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of ResultStreamRequest
+ ///
+ [Test]
+ public void ResultStreamRequestInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" ResultStreamRequest
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a ResultStreamRequest");
+ }
+
+ ///
+ /// Test the property 'StreamLocation'
+ ///
+ [Test]
+ public void StreamLocationTest()
+ {
+ // TODO unit test for the property 'StreamLocation'
+ }
+ ///
+ /// Test the property 'OutputSettings'
+ ///
+ [Test]
+ public void OutputSettingsTest()
+ {
+ // TODO unit test for the property 'OutputSettings'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/StorageLocationTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/StorageLocationTests.cs
new file mode 100644
index 0000000..ed9d640
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/StorageLocationTests.cs
@@ -0,0 +1,86 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing StorageLocation
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class StorageLocationTests
+ {
+ // TODO uncomment below to declare an instance variable for StorageLocation
+ //private StorageLocation instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of StorageLocation
+ //instance = new StorageLocation();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of StorageLocation
+ ///
+ [Test]
+ public void StorageLocationInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" StorageLocation
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a StorageLocation");
+ }
+
+ ///
+ /// Test the property 'FolderPath'
+ ///
+ [Test]
+ public void FolderPathTest()
+ {
+ // TODO unit test for the property 'FolderPath'
+ }
+ ///
+ /// Test the property 'ContainerId'
+ ///
+ [Test]
+ public void ContainerIdTest()
+ {
+ // TODO unit test for the property 'ContainerId'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/StreamLocationTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/StreamLocationTests.cs
new file mode 100644
index 0000000..50b14bc
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/StreamLocationTests.cs
@@ -0,0 +1,102 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing StreamLocation
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class StreamLocationTests
+ {
+ // TODO uncomment below to declare an instance variable for StreamLocation
+ //private StreamLocation instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of StreamLocation
+ //instance = new StreamLocation();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of StreamLocation
+ ///
+ [Test]
+ public void StreamLocationInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" StreamLocation
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a StreamLocation");
+ }
+
+ ///
+ /// Test the property 'FolderPath'
+ ///
+ [Test]
+ public void FolderPathTest()
+ {
+ // TODO unit test for the property 'FolderPath'
+ }
+ ///
+ /// Test the property 'OriginalFileName'
+ ///
+ [Test]
+ public void OriginalFileNameTest()
+ {
+ // TODO unit test for the property 'OriginalFileName'
+ }
+ ///
+ /// Test the property 'FileName'
+ ///
+ [Test]
+ public void FileNameTest()
+ {
+ // TODO unit test for the property 'FileName'
+ }
+ ///
+ /// Test the property 'ContainerId'
+ ///
+ [Test]
+ public void ContainerIdTest()
+ {
+ // TODO unit test for the property 'ContainerId'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/TemplateContextRequestTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/TemplateContextRequestTests.cs
new file mode 100644
index 0000000..99f6b69
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/TemplateContextRequestTests.cs
@@ -0,0 +1,102 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing TemplateContextRequest
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class TemplateContextRequestTests
+ {
+ // TODO uncomment below to declare an instance variable for TemplateContextRequest
+ //private TemplateContextRequest instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of TemplateContextRequest
+ //instance = new TemplateContextRequest();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of TemplateContextRequest
+ ///
+ [Test]
+ public void TemplateContextRequestInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" TemplateContextRequest
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a TemplateContextRequest");
+ }
+
+ ///
+ /// Test the property 'TemplateType'
+ ///
+ [Test]
+ public void TemplateTypeTest()
+ {
+ // TODO unit test for the property 'TemplateType'
+ }
+ ///
+ /// Test the property 'Description'
+ ///
+ [Test]
+ public void DescriptionTest()
+ {
+ // TODO unit test for the property 'Description'
+ }
+ ///
+ /// Test the property 'OwnerInfo'
+ ///
+ [Test]
+ public void OwnerInfoTest()
+ {
+ // TODO unit test for the property 'OwnerInfo'
+ }
+ ///
+ /// Test the property 'TemplateId'
+ ///
+ [Test]
+ public void TemplateIdTest()
+ {
+ // TODO unit test for the property 'TemplateId'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/TemplateContextResponseTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/TemplateContextResponseTests.cs
new file mode 100644
index 0000000..d9ff836
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/TemplateContextResponseTests.cs
@@ -0,0 +1,102 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing TemplateContextResponse
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class TemplateContextResponseTests
+ {
+ // TODO uncomment below to declare an instance variable for TemplateContextResponse
+ //private TemplateContextResponse instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of TemplateContextResponse
+ //instance = new TemplateContextResponse();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of TemplateContextResponse
+ ///
+ [Test]
+ public void TemplateContextResponseInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" TemplateContextResponse
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a TemplateContextResponse");
+ }
+
+ ///
+ /// Test the property 'CreationTime'
+ ///
+ [Test]
+ public void CreationTimeTest()
+ {
+ // TODO unit test for the property 'CreationTime'
+ }
+ ///
+ /// Test the property 'Context'
+ ///
+ [Test]
+ public void ContextTest()
+ {
+ // TODO unit test for the property 'Context'
+ }
+ ///
+ /// Test the property 'Id'
+ ///
+ [Test]
+ public void IdTest()
+ {
+ // TODO unit test for the property 'Id'
+ }
+ ///
+ /// Test the property 'Status'
+ ///
+ [Test]
+ public void StatusTest()
+ {
+ // TODO unit test for the property 'Status'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/TemplateContextTests.cs b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/TemplateContextTests.cs
new file mode 100644
index 0000000..b4dfe48
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Model/TemplateContextTests.cs
@@ -0,0 +1,126 @@
+/*
+ * Template-Processor
+ *
+ * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
+ *
+ * OpenAPI spec version: 0.1
+ * Contact: dev@sphereon.com
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+
+using NUnit.Framework;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Model;
+using Sphereon.SDK.TemplateProcessor.Client;
+using System.Reflection;
+
+namespace Sphereon.SDK.TemplateProcessor.Test
+{
+ ///
+ /// Class for testing TemplateContext
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class TemplateContextTests
+ {
+ // TODO uncomment below to declare an instance variable for TemplateContext
+ //private TemplateContext instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of TemplateContext
+ //instance = new TemplateContext();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of TemplateContext
+ ///
+ [Test]
+ public void TemplateContextInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" TemplateContext
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a TemplateContext");
+ }
+
+ ///
+ /// Test the property 'TemplateType'
+ ///
+ [Test]
+ public void TemplateTypeTest()
+ {
+ // TODO unit test for the property 'TemplateType'
+ }
+ ///
+ /// Test the property 'TemplateFileLocations'
+ ///
+ [Test]
+ public void TemplateFileLocationsTest()
+ {
+ // TODO unit test for the property 'TemplateFileLocations'
+ }
+ ///
+ /// Test the property 'Description'
+ ///
+ [Test]
+ public void DescriptionTest()
+ {
+ // TODO unit test for the property 'Description'
+ }
+ ///
+ /// Test the property 'OwnerInfo'
+ ///
+ [Test]
+ public void OwnerInfoTest()
+ {
+ // TODO unit test for the property 'OwnerInfo'
+ }
+ ///
+ /// Test the property 'StorageLocation'
+ ///
+ [Test]
+ public void StorageLocationTest()
+ {
+ // TODO unit test for the property 'StorageLocation'
+ }
+ ///
+ /// Test the property 'Id'
+ ///
+ [Test]
+ public void IdTest()
+ {
+ // TODO unit test for the property 'Id'
+ }
+ ///
+ /// Test the property 'TemplateId'
+ ///
+ [Test]
+ public void TemplateIdTest()
+ {
+ // TODO unit test for the property 'TemplateId'
+ }
+
+ }
+
+}
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Sphereon.SDK.TemplateProcessor.Test.csproj b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Sphereon.SDK.TemplateProcessor.Test.csproj
new file mode 100644
index 0000000..7cb0c44
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/Sphereon.SDK.TemplateProcessor.Test.csproj
@@ -0,0 +1,89 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {19F1DEBC-DE5E-4517-8062-F000CD499087}
+ Library
+ Properties
+ Sphereon.SDK.TemplateProcessor.Test
+ Sphereon.SDK.TemplateProcessor.Test
+ v3.5
+ 512
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+ $(SolutionDir)\packages\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll
+ ..\packages\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll
+ ..\..\packages\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll
+ ..\..\vendor\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll
+
+
+ $(SolutionDir)\packages\JsonSubTypes.1.2.0\lib\net35\JsonSubTypes.dll
+ ..\packages\JsonSubTypes.1.2.0\lib\net35\JsonSubTypes.dll
+ ..\..\packages\JsonSubTypes.1.2.0\lib\net35\JsonSubTypes.dll
+ ..\..\vendor\JsonSubTypes.1.2.0\lib\net35\JsonSubTypes.dll
+
+
+ $(SolutionDir)\packages\RestSharp.105.1.0\lib\net35\RestSharp.dll
+ ..\packages\RestSharp.105.1.0\lib\net35\RestSharp.dll
+ ..\..\packages\RestSharp.105.1.0\lib\net35\RestSharp.dll
+ ..\..\vendor\RestSharp.105.1.0\lib\net35\RestSharp.dll
+
+
+ $(SolutionDir)\packages\NUnit.2.6.4\lib\nunit.framework.dll
+ ..\packages\NUnit.2.6.4\lib\nunit.framework.dll
+ ..\..\packages\NUnit.2.6.4\lib\nunit.framework.dll
+ ..\..\vendor\NUnit.2.6.4\lib\nunit.framework.dll
+
+
+
+
+
+
+
+
+
+
+
+ {D69606FB-2A3F-4363-A33C-4FAD5967BB66}
+ Sphereon.SDK.TemplateProcessor
+
+
+
+
diff --git a/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/packages.config b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/packages.config
new file mode 100644
index 0000000..403ae20
--- /dev/null
+++ b/csharp-net35/src/Sphereon.SDK.TemplateProcessor.Test/packages.config
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/csharp-net45/.swagger-codegen/VERSION b/csharp-net45/.swagger-codegen/VERSION
new file mode 100644
index 0000000..a625450
--- /dev/null
+++ b/csharp-net45/.swagger-codegen/VERSION
@@ -0,0 +1 @@
+2.3.1
\ No newline at end of file
diff --git a/csharp-net45/.travis.yml b/csharp-net45/.travis.yml
index c4e7368..e6b6dff 100644
--- a/csharp-net45/.travis.yml
+++ b/csharp-net45/.travis.yml
@@ -1,21 +1,9 @@
#
# Generated by: https://github.com/swagger-api/swagger-codegen.git
#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
language: csharp
mono:
- latest
-solution: Sphereon.SDK.Template.Processor.sln
+solution: Sphereon.SDK.TemplateProcessor.sln
script:
- /bin/sh ./mono_nunit_test.sh
diff --git a/csharp-net45/README.md b/csharp-net45/README.md
index bbf6872..6a10ce9 100644
--- a/csharp-net45/README.md
+++ b/csharp-net45/README.md
@@ -1,24 +1,25 @@
-# Sphereon.SDK.Template.Processor - the C# library for the Template-Processor
+# Sphereon.SDK.TemplateProcessor - the C# library for the Template-Processor
The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
This C# SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
- API version: 0.1
-- SDK version: 1.0.0
-- Build date: 2017-08-07T23:35:17.121+02:00
-- Build package: class io.swagger.codegen.languages.CSharpClientCodegen
+- SDK version: 0.1.1
+- Build package: io.swagger.codegen.languages.CSharpClientCodegen
For more information, please visit [https://sphereon.com](https://sphereon.com)
+
## Frameworks supported
- .NET 4.0 or later
- Windows Phone 7.1 (Mango)
+
## Dependencies
- [RestSharp](https://www.nuget.org/packages/RestSharp) - 105.1.0 or later
- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 7.0.0 or later
-The DLLs included in the package may not be the latest version. We recommned using [NuGet] (https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:
+The DLLs included in the package may not be the latest version. We recommend using [NuGet] (https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:
```
Install-Package RestSharp
Install-Package Newtonsoft.Json
@@ -26,6 +27,7 @@ Install-Package Newtonsoft.Json
NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See [RestSharp#742](https://github.com/restsharp/RestSharp/issues/742)
+
## Installation
Run the following command to generate the DLL
- [Mac/Linux] `/bin/sh build.sh`
@@ -33,19 +35,32 @@ Run the following command to generate the DLL
Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces:
```csharp
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Model;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Client;
+using Sphereon.SDK.TemplateProcessor.Model;
```
+
+## Packaging
+A `.nuspec` is included with the project. You can follow the Nuget quickstart to [create](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#create-the-package) and [publish](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#publish-the-package) packages.
+
+This `.nuspec` uses placeholders from the `.csproj`, so build the `.csproj` directly:
+
+```
+nuget pack -Build -OutputDirectory out Sphereon.SDK.TemplateProcessor.csproj
+```
+
+Then, publish to a [local feed](https://docs.microsoft.com/en-us/nuget/hosting-packages/local-feeds) or [other host](https://docs.microsoft.com/en-us/nuget/hosting-packages/overview) and consume the new package via Nuget as usual.
+
+
## Getting Started
```csharp
using System;
using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Model;
+using Sphereon.SDK.TemplateProcessor.Api;
+using Sphereon.SDK.TemplateProcessor.Client;
+using Sphereon.SDK.TemplateProcessor.Model;
namespace Example
{
@@ -53,7 +68,7 @@ namespace Example
{
public void main()
{
-
+
// Configure OAuth2 access token for authorization: oauth2schema
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
@@ -70,6 +85,7 @@ namespace Example
{
Debug.Print("Exception when calling AllApi.CreateDataSet: " + e.Message );
}
+
}
}
}
@@ -78,40 +94,41 @@ namespace Example
## Documentation for API Endpoints
-All URIs are relative to *https://gw.api.cloud.sphereon.com/*
+All URIs are relative to *https://gw.api.cloud.sphereon.com/template/processor/0.1*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
-*AllApi* | [**CreateDataSet**](docs/AllApi.md#createdataset) | **POST** /template/processor/0.1/datasets | Store dataset
-*AllApi* | [**CreateTemplateContext**](docs/AllApi.md#createtemplatecontext) | **POST** /template/processor/0.1/templates | Create template context
-*AllApi* | [**DeleteDataSet**](docs/AllApi.md#deletedataset) | **DELETE** /template/processor/0.1/datasets/{dataSetId} | Delete a stored data set
-*AllApi* | [**DeleteJob**](docs/AllApi.md#deletejob) | **DELETE** /template/processor/0.1/jobs/{jobId} | Delete a job manually
-*AllApi* | [**DeleteTemplateContext**](docs/AllApi.md#deletetemplatecontext) | **DELETE** /template/processor/0.1/templates/{templateId} | Delete template context
-*AllApi* | [**GetJob**](docs/AllApi.md#getjob) | **GET** /template/processor/0.1/jobs/{jobId} | Job definition and state
-*AllApi* | [**GetJobs**](docs/AllApi.md#getjobs) | **GET** /template/processor/0.1/jobs | Get all jobs
-*AllApi* | [**GetResultStreamById**](docs/AllApi.md#getresultstreambyid) | **PUT** /template/processor/0.1/jobs/{jobId}/result/file/{streamId} | Get the result file
-*AllApi* | [**GetResultStreamsAsContainer**](docs/AllApi.md#getresultstreamsascontainer) | **PUT** /template/processor/0.1/jobs/{jobId}/result/container | Get the result file
-*AllApi* | [**GetTemplateContext**](docs/AllApi.md#gettemplatecontext) | **GET** /template/processor/0.1/templates/{templateId} | Get template context
-*AllApi* | [**SubmitJob**](docs/AllApi.md#submitjob) | **PUT** /template/processor/0.1/jobs | Submit merge job for processing
-*AllApi* | [**UpdateTemplateContext**](docs/AllApi.md#updatetemplatecontext) | **PUT** /template/processor/0.1/templates | Update template context
-*AllApi* | [**UploadTemplateFile**](docs/AllApi.md#uploadtemplatefile) | **POST** /template/processor/0.1/templates/{templateId} | Upload template file
-*DataSetApi* | [**CreateDataSet**](docs/DataSetApi.md#createdataset) | **POST** /template/processor/0.1/datasets | Store dataset
-*DataSetApi* | [**DeleteDataSet**](docs/DataSetApi.md#deletedataset) | **DELETE** /template/processor/0.1/datasets/{dataSetId} | Delete a stored data set
-*JobApi* | [**GetJob**](docs/JobApi.md#getjob) | **GET** /template/processor/0.1/jobs/{jobId} | Job definition and state
-*JobApi* | [**GetJobs**](docs/JobApi.md#getjobs) | **GET** /template/processor/0.1/jobs | Get all jobs
-*JobApi* | [**GetResultStreamById**](docs/JobApi.md#getresultstreambyid) | **PUT** /template/processor/0.1/jobs/{jobId}/result/file/{streamId} | Get the result file
-*JobApi* | [**GetResultStreamsAsContainer**](docs/JobApi.md#getresultstreamsascontainer) | **PUT** /template/processor/0.1/jobs/{jobId}/result/container | Get the result file
-*JobApi* | [**SubmitJob**](docs/JobApi.md#submitjob) | **PUT** /template/processor/0.1/jobs | Submit merge job for processing
-*TemplateApi* | [**CreateTemplateContext**](docs/TemplateApi.md#createtemplatecontext) | **POST** /template/processor/0.1/templates | Create template context
-*TemplateApi* | [**DeleteTemplateContext**](docs/TemplateApi.md#deletetemplatecontext) | **DELETE** /template/processor/0.1/templates/{templateId} | Delete template context
-*TemplateApi* | [**GetTemplateContext**](docs/TemplateApi.md#gettemplatecontext) | **GET** /template/processor/0.1/templates/{templateId} | Get template context
-*TemplateApi* | [**UpdateTemplateContext**](docs/TemplateApi.md#updatetemplatecontext) | **PUT** /template/processor/0.1/templates | Update template context
-*TemplateApi* | [**UploadTemplateFile**](docs/TemplateApi.md#uploadtemplatefile) | **POST** /template/processor/0.1/templates/{templateId} | Upload template file
+*AllApi* | [**CreateDataSet**](docs/AllApi.md#createdataset) | **POST** /datasets | Store dataset
+*AllApi* | [**CreateTemplateContext**](docs/AllApi.md#createtemplatecontext) | **POST** /templates | Create template context
+*AllApi* | [**DeleteDataSet**](docs/AllApi.md#deletedataset) | **DELETE** /datasets/{dataSetId} | Delete a stored data set
+*AllApi* | [**DeleteJob**](docs/AllApi.md#deletejob) | **DELETE** /jobs/{jobId} | Delete a job manually
+*AllApi* | [**DeleteTemplateContext**](docs/AllApi.md#deletetemplatecontext) | **DELETE** /templates/{templateId} | Delete template context
+*AllApi* | [**GetJob**](docs/AllApi.md#getjob) | **GET** /jobs/{jobId} | Job definition and state
+*AllApi* | [**GetJobs**](docs/AllApi.md#getjobs) | **GET** /jobs | Get all jobs
+*AllApi* | [**GetResultStream**](docs/AllApi.md#getresultstream) | **PUT** /jobs/{jobId}/result/stream | Get the result file
+*AllApi* | [**GetResultStreamsAsContainer**](docs/AllApi.md#getresultstreamsascontainer) | **PUT** /jobs/{jobId}/result/container | Get the result file
+*AllApi* | [**GetTemplateContext**](docs/AllApi.md#gettemplatecontext) | **GET** /templates/{templateId} | Get template context
+*AllApi* | [**SubmitJob**](docs/AllApi.md#submitjob) | **PUT** /jobs | Submit merge job for processing
+*AllApi* | [**UpdateTemplateContext**](docs/AllApi.md#updatetemplatecontext) | **PUT** /templates | Update template context
+*AllApi* | [**UploadTemplateFile**](docs/AllApi.md#uploadtemplatefile) | **POST** /templates/{templateId} | Upload template file
+*DataSetApi* | [**CreateDataSet**](docs/DataSetApi.md#createdataset) | **POST** /datasets | Store dataset
+*DataSetApi* | [**DeleteDataSet**](docs/DataSetApi.md#deletedataset) | **DELETE** /datasets/{dataSetId} | Delete a stored data set
+*JobApi* | [**GetJob**](docs/JobApi.md#getjob) | **GET** /jobs/{jobId} | Job definition and state
+*JobApi* | [**GetJobs**](docs/JobApi.md#getjobs) | **GET** /jobs | Get all jobs
+*JobApi* | [**GetResultStream**](docs/JobApi.md#getresultstream) | **PUT** /jobs/{jobId}/result/stream | Get the result file
+*JobApi* | [**GetResultStreamsAsContainer**](docs/JobApi.md#getresultstreamsascontainer) | **PUT** /jobs/{jobId}/result/container | Get the result file
+*JobApi* | [**SubmitJob**](docs/JobApi.md#submitjob) | **PUT** /jobs | Submit merge job for processing
+*TemplateApi* | [**CreateTemplateContext**](docs/TemplateApi.md#createtemplatecontext) | **POST** /templates | Create template context
+*TemplateApi* | [**DeleteTemplateContext**](docs/TemplateApi.md#deletetemplatecontext) | **DELETE** /templates/{templateId} | Delete template context
+*TemplateApi* | [**GetTemplateContext**](docs/TemplateApi.md#gettemplatecontext) | **GET** /templates/{templateId} | Get template context
+*TemplateApi* | [**UpdateTemplateContext**](docs/TemplateApi.md#updatetemplatecontext) | **PUT** /templates | Update template context
+*TemplateApi* | [**UploadTemplateFile**](docs/TemplateApi.md#uploadtemplatefile) | **POST** /templates/{templateId} | Upload template file
## Documentation for Models
+ - [Model.ClaimParameters](docs/ClaimParameters.md)
- [Model.DataSetResponse](docs/DataSetResponse.md)
- [Model.Error](docs/Error.md)
- [Model.ErrorResponse](docs/ErrorResponse.md)
@@ -121,14 +138,18 @@ Class | Method | HTTP request | Description
- [Model.MergeSettings](docs/MergeSettings.md)
- [Model.OutputSettings](docs/OutputSettings.md)
- [Model.OwnerInfo](docs/OwnerInfo.md)
+ - [Model.ResultStreamRequest](docs/ResultStreamRequest.md)
+ - [Model.StorageLocation](docs/StorageLocation.md)
- [Model.StreamLocation](docs/StreamLocation.md)
- [Model.TemplateContext](docs/TemplateContext.md)
- [Model.TemplateContextRequest](docs/TemplateContextRequest.md)
- [Model.TemplateContextResponse](docs/TemplateContextResponse.md)
+
## Documentation for Authorization
+
### oauth2schema
- **Type**: OAuth
diff --git a/csharp-net45/Sphereon.SDK.TemplateProcessor.sln b/csharp-net45/Sphereon.SDK.TemplateProcessor.sln
new file mode 100644
index 0000000..4474961
--- /dev/null
+++ b/csharp-net45/Sphereon.SDK.TemplateProcessor.sln
@@ -0,0 +1,27 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2012
+VisualStudioVersion = 12.0.0.0
+MinimumVisualStudioVersion = 10.0.0.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sphereon.SDK.TemplateProcessor", "src\Sphereon.SDK.TemplateProcessor\Sphereon.SDK.TemplateProcessor.csproj", "{AADC8EF1-2461-4634-BC88-69AE7CD89B3E}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sphereon.SDK.TemplateProcessor.Test", "src\Sphereon.SDK.TemplateProcessor.Test\Sphereon.SDK.TemplateProcessor.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
+EndProject
+Global
+GlobalSection(SolutionConfigurationPlatforms) = preSolution
+Debug|Any CPU = Debug|Any CPU
+Release|Any CPU = Release|Any CPU
+EndGlobalSection
+GlobalSection(ProjectConfigurationPlatforms) = postSolution
+{AADC8EF1-2461-4634-BC88-69AE7CD89B3E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+{AADC8EF1-2461-4634-BC88-69AE7CD89B3E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+{AADC8EF1-2461-4634-BC88-69AE7CD89B3E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+{AADC8EF1-2461-4634-BC88-69AE7CD89B3E}.Release|Any CPU.Build.0 = Release|Any CPU
+{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
+{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
+{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.Build.0 = Release|Any CPU
+EndGlobalSection
+GlobalSection(SolutionProperties) = preSolution
+HideSolutionNode = FALSE
+EndGlobalSection
+EndGlobal
\ No newline at end of file
diff --git a/csharp-net45/build.bat b/csharp-net45/build.bat
index 681f16a..552f3f1 100644
--- a/csharp-net45/build.bat
+++ b/csharp-net45/build.bat
@@ -1,28 +1,16 @@
:: Generated by: https://github.com/swagger-api/swagger-codegen.git
::
-:: Licensed under the Apache License, Version 2.0 (the "License");
-:: you may not use this file except in compliance with the License.
-:: You may obtain a copy of the License at
-::
-:: http://www.apache.org/licenses/LICENSE-2.0
-::
-:: Unless required by applicable law or agreed to in writing, software
-:: distributed under the License is distributed on an "AS IS" BASIS,
-:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-:: See the License for the specific language governing permissions and
-:: limitations under the License.
@echo off
SET CSCPATH=%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319
-
-if not exist ".\nuget.exe" powershell -Command "(new-object System.Net.WebClient).DownloadFile('https://nuget.org/nuget.exe', '.\nuget.exe')"
-.\nuget.exe install src\Sphereon.SDK.Template.Processor\packages.config -o packages
+if not exist ".\nuget.exe" powershell -Command "(new-object System.Net.WebClient).DownloadFile('https://dist.nuget.org/win-x86-commandline/latest/nuget.exe', '.\nuget.exe')"
+.\nuget.exe install src\Sphereon.SDK.TemplateProcessor\packages.config -o packages
if not exist ".\bin" mkdir bin
-copy packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll
+copy packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll
copy packages\RestSharp.105.1.0\lib\net45\RestSharp.dll bin\RestSharp.dll
+%CSCPATH%\csc /reference:bin\Newtonsoft.Json.dll;bin\RestSharp.dll;System.ComponentModel.DataAnnotations.dll /target:library /out:bin\Sphereon.SDK.TemplateProcessor.dll /recurse:src\Sphereon.SDK.TemplateProcessor\*.cs /doc:bin\Sphereon.SDK.TemplateProcessor.xml
-%CSCPATH%\csc /reference:bin\Newtonsoft.Json.dll;bin\RestSharp.dll /target:library /out:bin\Sphereon.SDK.Template.Processor.dll /recurse:src\Sphereon.SDK.Template.Processor\*.cs /doc:bin\Sphereon.SDK.Template.Processor.xml
diff --git a/csharp-net45/build.sh b/csharp-net45/build.sh
index 193895e..9e9b257 100644
--- a/csharp-net45/build.sh
+++ b/csharp-net45/build.sh
@@ -2,17 +2,6 @@
#
# Generated by: https://github.com/swagger-api/swagger-codegen.git
#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
frameworkVersion=net45
netfx=${frameworkVersion#net}
@@ -20,23 +9,24 @@ netfx=${frameworkVersion#net}
echo "[INFO] Target framework: ${frameworkVersion}"
echo "[INFO] Download nuget and packages"
-wget -nc https://nuget.org/nuget.exe;
+wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe;
mozroots --import --sync
-mono nuget.exe install src/Sphereon.SDK.Template.Processor/packages.config -o packages;
+mono nuget.exe install src/Sphereon.SDK.TemplateProcessor/packages.config -o packages;
echo "[INFO] Copy DLLs to the 'bin' folder"
mkdir -p bin;
-cp packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.dll bin/Newtonsoft.Json.dll;
+cp packages/Newtonsoft.Json.10.0.3/lib/net45/Newtonsoft.Json.dll bin/Newtonsoft.Json.dll;
cp packages/RestSharp.105.1.0/lib/net45/RestSharp.dll bin/RestSharp.dll;
-echo "[INFO] Run 'mcs' to build bin/Sphereon.SDK.Template.Processor.dll"
+echo "[INFO] Run 'mcs' to build bin/Sphereon.SDK.TemplateProcessor.dll"
mcs -sdk:${netfx} -r:bin/Newtonsoft.Json.dll,\
bin/RestSharp.dll,\
+System.ComponentModel.DataAnnotations.dll,\
System.Runtime.Serialization.dll \
-target:library \
--out:bin/Sphereon.SDK.Template.Processor.dll \
--recurse:'src/Sphereon.SDK.Template.Processor/*.cs' \
--doc:bin/Sphereon.SDK.Template.Processor.xml \
+-out:bin/Sphereon.SDK.TemplateProcessor.dll \
+-recurse:'src/Sphereon.SDK.TemplateProcessor/*.cs' \
+-doc:bin/Sphereon.SDK.TemplateProcessor.xml \
-platform:anycpu
if [ $? -ne 0 ]
@@ -44,5 +34,5 @@ then
echo "[ERROR] Compilation failed with exit code $?"
exit 1
else
- echo "[INFO] bin/Sphereon.SDK.Template.Processor.dll was created successfully"
+ echo "[INFO] bin/Sphereon.SDK.TemplateProcessor.dll was created successfully"
fi
diff --git a/csharp-net45/docs/AllApi.md b/csharp-net45/docs/AllApi.md
deleted file mode 100644
index 79b749a..0000000
--- a/csharp-net45/docs/AllApi.md
+++ /dev/null
@@ -1,874 +0,0 @@
-# Sphereon.SDK.Template.Processor.Api.AllApi
-
-All URIs are relative to *https://gw.api.cloud.sphereon.com/*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**CreateDataSet**](AllApi.md#createdataset) | **POST** /template/processor/0.1/datasets | Store dataset
-[**CreateTemplateContext**](AllApi.md#createtemplatecontext) | **POST** /template/processor/0.1/templates | Create template context
-[**DeleteDataSet**](AllApi.md#deletedataset) | **DELETE** /template/processor/0.1/datasets/{dataSetId} | Delete a stored data set
-[**DeleteJob**](AllApi.md#deletejob) | **DELETE** /template/processor/0.1/jobs/{jobId} | Delete a job manually
-[**DeleteTemplateContext**](AllApi.md#deletetemplatecontext) | **DELETE** /template/processor/0.1/templates/{templateId} | Delete template context
-[**GetJob**](AllApi.md#getjob) | **GET** /template/processor/0.1/jobs/{jobId} | Job definition and state
-[**GetJobs**](AllApi.md#getjobs) | **GET** /template/processor/0.1/jobs | Get all jobs
-[**GetResultStreamById**](AllApi.md#getresultstreambyid) | **PUT** /template/processor/0.1/jobs/{jobId}/result/file/{streamId} | Get the result file
-[**GetResultStreamsAsContainer**](AllApi.md#getresultstreamsascontainer) | **PUT** /template/processor/0.1/jobs/{jobId}/result/container | Get the result file
-[**GetTemplateContext**](AllApi.md#gettemplatecontext) | **GET** /template/processor/0.1/templates/{templateId} | Get template context
-[**SubmitJob**](AllApi.md#submitjob) | **PUT** /template/processor/0.1/jobs | Submit merge job for processing
-[**UpdateTemplateContext**](AllApi.md#updatetemplatecontext) | **PUT** /template/processor/0.1/templates | Update template context
-[**UploadTemplateFile**](AllApi.md#uploadtemplatefile) | **POST** /template/processor/0.1/templates/{templateId} | Upload template file
-
-
-
-# **CreateDataSet**
-> DataSetResponse CreateDataSet (string payload)
-
-Store dataset
-
-Upload and store a data set. Currently only JSON is supported. This call returns an id which can be specified when submitting a merge job.
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class CreateDataSetExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new AllApi();
- var payload = payload_example; // string | The dates for the merge [ { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", }, { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", } ]
-
- try
- {
- // Store dataset
- DataSetResponse result = apiInstance.CreateDataSet(payload);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AllApi.CreateDataSet: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **payload** | **string**| The dates for the merge [ { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", }, { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", } ] |
-
-### Return type
-
-[**DataSetResponse**](DataSetResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json;charset=UTF-8
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **CreateTemplateContext**
-> TemplateContextResponse CreateTemplateContext (TemplateContextRequest templateRequest)
-
-Create template context
-
-Create a unique template context for your environment
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class CreateTemplateContextExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new AllApi();
- var templateRequest = new TemplateContextRequest(); // TemplateContextRequest | The template request
-
- try
- {
- // Create template context
- TemplateContextResponse result = apiInstance.CreateTemplateContext(templateRequest);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AllApi.CreateTemplateContext: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **templateRequest** | [**TemplateContextRequest**](TemplateContextRequest.md)| The template request |
-
-### Return type
-
-[**TemplateContextResponse**](TemplateContextResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json;charset=UTF-8
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **DeleteDataSet**
-> DataSetResponse DeleteDataSet (string dataSetId)
-
-Delete a stored data set
-
-Delete a stored data set
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class DeleteDataSetExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new AllApi();
- var dataSetId = dataSetId_example; // string | dataSetId
-
- try
- {
- // Delete a stored data set
- DataSetResponse result = apiInstance.DeleteDataSet(dataSetId);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AllApi.DeleteDataSet: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **dataSetId** | **string**| dataSetId |
-
-### Return type
-
-[**DataSetResponse**](DataSetResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **DeleteJob**
-> MergeJobResponse DeleteJob (string jobId)
-
-Delete a job manually
-
-Delete the merge job and all related files
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class DeleteJobExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new AllApi();
- var jobId = jobId_example; // string | jobId
-
- try
- {
- // Delete a job manually
- MergeJobResponse result = apiInstance.DeleteJob(jobId);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AllApi.DeleteJob: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **jobId** | **string**| jobId |
-
-### Return type
-
-[**MergeJobResponse**](MergeJobResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **DeleteTemplateContext**
-> TemplateContextResponse DeleteTemplateContext (string templateId)
-
-Delete template context
-
-Delete a template context with all history
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class DeleteTemplateContextExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new AllApi();
- var templateId = templateId_example; // string | templateId
-
- try
- {
- // Delete template context
- TemplateContextResponse result = apiInstance.DeleteTemplateContext(templateId);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AllApi.DeleteTemplateContext: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **templateId** | **string**| templateId |
-
-### Return type
-
-[**TemplateContextResponse**](TemplateContextResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **GetJob**
-> MergeJobResponse GetJob (string jobId)
-
-Job definition and state
-
-Get the merge job definition and current state. Please not that you can differentiate based on http response status
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class GetJobExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new AllApi();
- var jobId = jobId_example; // string | jobId
-
- try
- {
- // Job definition and state
- MergeJobResponse result = apiInstance.GetJob(jobId);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AllApi.GetJob: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **jobId** | **string**| jobId |
-
-### Return type
-
-[**MergeJobResponse**](MergeJobResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **GetJobs**
-> List GetJobs (List status = null)
-
-Get all jobs
-
-Get all office text job definitions and their current state.
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class GetJobsExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new AllApi();
- var status = new List(); // List | A list of status to filter on. (optional)
-
- try
- {
- // Get all jobs
- List<MergeJobResponse> result = apiInstance.GetJobs(status);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AllApi.GetJobs: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**List**](string.md)| A list of status to filter on. | [optional]
-
-### Return type
-
-[**List**](MergeJobResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **GetResultStreamById**
-> byte[] GetResultStreamById (string jobId, string streamId, OutputSettings outputSettings = null)
-
-Get the result file
-
-Get a merge result document as a binary stream.
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class GetResultStreamByIdExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new AllApi();
- var jobId = jobId_example; // string | jobId
- var streamId = streamId_example; // string | streamId
- var outputSettings = new OutputSettings(); // OutputSettings | outputSettings (optional)
-
- try
- {
- // Get the result file
- byte[] result = apiInstance.GetResultStreamById(jobId, streamId, outputSettings);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AllApi.GetResultStreamById: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **jobId** | **string**| jobId |
- **streamId** | **string**| streamId |
- **outputSettings** | [**OutputSettings**](OutputSettings.md)| outputSettings | [optional]
-
-### Return type
-
-**byte[]**
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json;charset=UTF-8
- - **Accept**: application/octet-stream
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **GetResultStreamsAsContainer**
-> byte[] GetResultStreamsAsContainer (string jobId, OutputSettings outputSettings = null)
-
-Get the result file
-
-Get all documents inside a compressed container as a binary stream.
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class GetResultStreamsAsContainerExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new AllApi();
- var jobId = jobId_example; // string | jobId
- var outputSettings = new OutputSettings(); // OutputSettings | outputSettings (optional)
-
- try
- {
- // Get the result file
- byte[] result = apiInstance.GetResultStreamsAsContainer(jobId, outputSettings);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AllApi.GetResultStreamsAsContainer: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **jobId** | **string**| jobId |
- **outputSettings** | [**OutputSettings**](OutputSettings.md)| outputSettings | [optional]
-
-### Return type
-
-**byte[]**
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json;charset=UTF-8
- - **Accept**: application/octet-stream
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **GetTemplateContext**
-> TemplateContextResponse GetTemplateContext (string templateId)
-
-Get template context
-
-Get an existing template context
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class GetTemplateContextExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new AllApi();
- var templateId = templateId_example; // string | The template context name unique for your environment
-
- try
- {
- // Get template context
- TemplateContextResponse result = apiInstance.GetTemplateContext(templateId);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AllApi.GetTemplateContext: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **templateId** | **string**| The template context name unique for your environment |
-
-### Return type
-
-[**TemplateContextResponse**](TemplateContextResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **SubmitJob**
-> MergeJobResponse SubmitJob (MergeSettings mergesettings)
-
-Submit merge job for processing
-
-Submit merge job run.
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class SubmitJobExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new AllApi();
- var mergesettings = new MergeSettings(); // MergeSettings | The merge- and output settings
-
- try
- {
- // Submit merge job for processing
- MergeJobResponse result = apiInstance.SubmitJob(mergesettings);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AllApi.SubmitJob: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **mergesettings** | [**MergeSettings**](MergeSettings.md)| The merge- and output settings |
-
-### Return type
-
-[**MergeJobResponse**](MergeJobResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json;charset=UTF-8
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **UpdateTemplateContext**
-> TemplateContextResponse UpdateTemplateContext (TemplateContextRequest templateContextRequest)
-
-Update template context
-
-Update an existing template context for your environment
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class UpdateTemplateContextExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new AllApi();
- var templateContextRequest = new TemplateContextRequest(); // TemplateContextRequest | templateContextRequest
-
- try
- {
- // Update template context
- TemplateContextResponse result = apiInstance.UpdateTemplateContext(templateContextRequest);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AllApi.UpdateTemplateContext: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **templateContextRequest** | [**TemplateContextRequest**](TemplateContextRequest.md)| templateContextRequest |
-
-### Return type
-
-[**TemplateContextResponse**](TemplateContextResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json;charset=UTF-8
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **UploadTemplateFile**
-> TemplateContextResponse UploadTemplateFile (string templateId, System.IO.Stream stream)
-
-Upload template file
-
-Upload the Office template file
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class UploadTemplateFileExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new AllApi();
- var templateId = templateId_example; // string | The template context name unique for your environment
- var stream = new System.IO.Stream(); // System.IO.Stream | The template (file/inputstream) to store
-
- try
- {
- // Upload template file
- TemplateContextResponse result = apiInstance.UploadTemplateFile(templateId, stream);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling AllApi.UploadTemplateFile: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **templateId** | **string**| The template context name unique for your environment |
- **stream** | **System.IO.Stream**| The template (file/inputstream) to store |
-
-### Return type
-
-[**TemplateContextResponse**](TemplateContextResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: multipart/form-data
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/DataSetApi.md b/csharp-net45/docs/DataSetApi.md
deleted file mode 100644
index d524a2d..0000000
--- a/csharp-net45/docs/DataSetApi.md
+++ /dev/null
@@ -1,140 +0,0 @@
-# Sphereon.SDK.Template.Processor.Api.DataSetApi
-
-All URIs are relative to *https://gw.api.cloud.sphereon.com/*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**CreateDataSet**](DataSetApi.md#createdataset) | **POST** /template/processor/0.1/datasets | Store dataset
-[**DeleteDataSet**](DataSetApi.md#deletedataset) | **DELETE** /template/processor/0.1/datasets/{dataSetId} | Delete a stored data set
-
-
-
-# **CreateDataSet**
-> DataSetResponse CreateDataSet (string payload)
-
-Store dataset
-
-Upload and store a data set. Currently only JSON is supported. This call returns an id which can be specified when submitting a merge job.
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class CreateDataSetExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new DataSetApi();
- var payload = payload_example; // string | The dates for the merge [ { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", }, { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", } ]
-
- try
- {
- // Store dataset
- DataSetResponse result = apiInstance.CreateDataSet(payload);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling DataSetApi.CreateDataSet: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **payload** | **string**| The dates for the merge [ { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", }, { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", } ] |
-
-### Return type
-
-[**DataSetResponse**](DataSetResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json;charset=UTF-8
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **DeleteDataSet**
-> DataSetResponse DeleteDataSet (string dataSetId)
-
-Delete a stored data set
-
-Delete a stored data set
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class DeleteDataSetExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new DataSetApi();
- var dataSetId = dataSetId_example; // string | dataSetId
-
- try
- {
- // Delete a stored data set
- DataSetResponse result = apiInstance.DeleteDataSet(dataSetId);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling DataSetApi.DeleteDataSet: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **dataSetId** | **string**| dataSetId |
-
-### Return type
-
-[**DataSetResponse**](DataSetResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/DataSetResponse.md b/csharp-net45/docs/DataSetResponse.md
deleted file mode 100644
index 84d999b..0000000
--- a/csharp-net45/docs/DataSetResponse.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Sphereon.SDK.Template.Processor.Model.DataSetResponse
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**CompletionTime** | **DateTime?** | The completion date/time of this template in ISO 8601 format | [optional]
-**CreationTime** | **DateTime?** | The creation date/time of this template in ISO 8601 format | [optional]
-**Id** | **string** | Unique dataset id |
-**Status** | **string** | The status of the template |
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/Error.md b/csharp-net45/docs/Error.md
deleted file mode 100644
index 65b6b8f..0000000
--- a/csharp-net45/docs/Error.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Sphereon.SDK.Template.Processor.Model.Error
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | **string** | |
-**Level** | **string** | |
-**Cause** | [**Error**](Error.md) | | [optional]
-**Message** | **string** | |
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/ErrorResponse.md b/csharp-net45/docs/ErrorResponse.md
deleted file mode 100644
index 058e42f..0000000
--- a/csharp-net45/docs/ErrorResponse.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# Sphereon.SDK.Template.Processor.Model.ErrorResponse
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Errors** | [**List<Error>**](Error.md) | | [optional]
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/JobApi.md b/csharp-net45/docs/JobApi.md
deleted file mode 100644
index c9f5b2c..0000000
--- a/csharp-net45/docs/JobApi.md
+++ /dev/null
@@ -1,344 +0,0 @@
-# Sphereon.SDK.Template.Processor.Api.JobApi
-
-All URIs are relative to *https://gw.api.cloud.sphereon.com/*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**GetJob**](JobApi.md#getjob) | **GET** /template/processor/0.1/jobs/{jobId} | Job definition and state
-[**GetJobs**](JobApi.md#getjobs) | **GET** /template/processor/0.1/jobs | Get all jobs
-[**GetResultStreamById**](JobApi.md#getresultstreambyid) | **PUT** /template/processor/0.1/jobs/{jobId}/result/file/{streamId} | Get the result file
-[**GetResultStreamsAsContainer**](JobApi.md#getresultstreamsascontainer) | **PUT** /template/processor/0.1/jobs/{jobId}/result/container | Get the result file
-[**SubmitJob**](JobApi.md#submitjob) | **PUT** /template/processor/0.1/jobs | Submit merge job for processing
-
-
-
-# **GetJob**
-> MergeJobResponse GetJob (string jobId)
-
-Job definition and state
-
-Get the merge job definition and current state. Please not that you can differentiate based on http response status
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class GetJobExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new JobApi();
- var jobId = jobId_example; // string | jobId
-
- try
- {
- // Job definition and state
- MergeJobResponse result = apiInstance.GetJob(jobId);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling JobApi.GetJob: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **jobId** | **string**| jobId |
-
-### Return type
-
-[**MergeJobResponse**](MergeJobResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **GetJobs**
-> List GetJobs (List status = null)
-
-Get all jobs
-
-Get all office text job definitions and their current state.
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class GetJobsExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new JobApi();
- var status = new List(); // List | A list of status to filter on. (optional)
-
- try
- {
- // Get all jobs
- List<MergeJobResponse> result = apiInstance.GetJobs(status);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling JobApi.GetJobs: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**List**](string.md)| A list of status to filter on. | [optional]
-
-### Return type
-
-[**List**](MergeJobResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **GetResultStreamById**
-> byte[] GetResultStreamById (string jobId, string streamId, OutputSettings outputSettings = null)
-
-Get the result file
-
-Get a merge result document as a binary stream.
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class GetResultStreamByIdExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new JobApi();
- var jobId = jobId_example; // string | jobId
- var streamId = streamId_example; // string | streamId
- var outputSettings = new OutputSettings(); // OutputSettings | outputSettings (optional)
-
- try
- {
- // Get the result file
- byte[] result = apiInstance.GetResultStreamById(jobId, streamId, outputSettings);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling JobApi.GetResultStreamById: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **jobId** | **string**| jobId |
- **streamId** | **string**| streamId |
- **outputSettings** | [**OutputSettings**](OutputSettings.md)| outputSettings | [optional]
-
-### Return type
-
-**byte[]**
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json;charset=UTF-8
- - **Accept**: application/octet-stream
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **GetResultStreamsAsContainer**
-> byte[] GetResultStreamsAsContainer (string jobId, OutputSettings outputSettings = null)
-
-Get the result file
-
-Get all documents inside a compressed container as a binary stream.
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class GetResultStreamsAsContainerExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new JobApi();
- var jobId = jobId_example; // string | jobId
- var outputSettings = new OutputSettings(); // OutputSettings | outputSettings (optional)
-
- try
- {
- // Get the result file
- byte[] result = apiInstance.GetResultStreamsAsContainer(jobId, outputSettings);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling JobApi.GetResultStreamsAsContainer: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **jobId** | **string**| jobId |
- **outputSettings** | [**OutputSettings**](OutputSettings.md)| outputSettings | [optional]
-
-### Return type
-
-**byte[]**
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json;charset=UTF-8
- - **Accept**: application/octet-stream
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **SubmitJob**
-> MergeJobResponse SubmitJob (MergeSettings mergesettings)
-
-Submit merge job for processing
-
-Submit merge job run.
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class SubmitJobExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new JobApi();
- var mergesettings = new MergeSettings(); // MergeSettings | The merge- and output settings
-
- try
- {
- // Submit merge job for processing
- MergeJobResponse result = apiInstance.SubmitJob(mergesettings);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling JobApi.SubmitJob: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **mergesettings** | [**MergeSettings**](MergeSettings.md)| The merge- and output settings |
-
-### Return type
-
-[**MergeJobResponse**](MergeJobResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json;charset=UTF-8
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/Lifecycle.md b/csharp-net45/docs/Lifecycle.md
deleted file mode 100644
index bbaef4b..0000000
--- a/csharp-net45/docs/Lifecycle.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Sphereon.SDK.Template.Processor.Model.Lifecycle
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ActionTime** | **DateTime?** | The time at which the job and files will be deleted, regardless of whether it has been retrieved or not. Maximal time is 1 day from job creation | [optional]
-**Action** | **string** | | [optional]
-**Type** | **string** | | [optional]
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/MergeJob.md b/csharp-net45/docs/MergeJob.md
deleted file mode 100644
index 4bd146b..0000000
--- a/csharp-net45/docs/MergeJob.md
+++ /dev/null
@@ -1,19 +0,0 @@
-# Sphereon.SDK.Template.Processor.Model.MergeJob
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ResultFolderPath** | **string** | The target folder path of result files | [optional]
-**CompletionTime** | **DateTime?** | The completion date/time of this job in ISO 8601 format | [optional]
-**JobId** | **string** | The server generated job jobId. This jobId is checked against the jobId in the request path on every invocation |
-**ResultContainerId** | **string** | The target container id of result files | [optional]
-**CreationTime** | **DateTime?** | The creation date/time of this job in ISO 8601 format | [optional]
-**DataSetId** | **string** | Data set id | [optional]
-**ResultStreams** | [**List<StreamLocation>**](StreamLocation.md) | The storage locations of the result files. |
-**HeaderDataSetIds** | **List<string>** | Header data set ids | [optional]
-**MergeSettings** | [**MergeSettings**](MergeSettings.md) | | [optional]
-**StatusMessage** | **string** | A status message, which can be informational, warning or error. A message here does not indicate an error perse | [optional]
-**Status** | **string** | The status of the job |
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/MergeJobResponse.md b/csharp-net45/docs/MergeJobResponse.md
deleted file mode 100644
index 4380b63..0000000
--- a/csharp-net45/docs/MergeJobResponse.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Sphereon.SDK.Template.Processor.Model.MergeJobResponse
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**JobId** | **string** | The server generated job jobId. This jobId is checked against the jobId in the request path on overy invocation |
-**Job** | [**MergeJob**](MergeJob.md) | | [optional]
-**StatusMessage** | **string** | A status message, which can be informational, warning or error. AA message here does not indicate an error perse | [optional]
-**Status** | **string** | The status of the job |
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/MergeSettings.md b/csharp-net45/docs/MergeSettings.md
deleted file mode 100644
index fa4af60..0000000
--- a/csharp-net45/docs/MergeSettings.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# Sphereon.SDK.Template.Processor.Model.MergeSettings
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Lifecycle** | [**Lifecycle**](Lifecycle.md) | | [optional]
-**MergeResult** | **string** | | [optional]
-**DataSetId** | **string** | Data set id |
-**Engine** | **string** | | [optional]
-**HeaderDataSetIds** | **List<string>** | optional header data set ids | [optional]
-**TemplateVersion** | **int?** | Template version | [optional]
-**ResultStreamLocation** | [**StreamLocation**](StreamLocation.md) | The output location of the result files. |
-**TemplateId** | **string** | Template id |
-**OutputSettings** | [**OutputSettings**](OutputSettings.md) | |
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/OutputSettings.md b/csharp-net45/docs/OutputSettings.md
deleted file mode 100644
index b927a58..0000000
--- a/csharp-net45/docs/OutputSettings.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# Sphereon.SDK.Template.Processor.Model.OutputSettings
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**DeliveryFormat** | **string** | | [optional]
-**OutputFormat** | **string** | | [optional]
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/OwnerInfo.md b/csharp-net45/docs/OwnerInfo.md
deleted file mode 100644
index 8b93489..0000000
--- a/csharp-net45/docs/OwnerInfo.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Sphereon.SDK.Template.Processor.Model.OwnerInfo
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Phone** | **string** | The owner's phone number | [optional]
-**CompanyDepartment** | **string** | The owner's company/department | [optional]
-**Name** | **string** | The owner's name | [optional]
-**Email** | **string** | The owner's email address | [optional]
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/StreamLocation.md b/csharp-net45/docs/StreamLocation.md
deleted file mode 100644
index 6304690..0000000
--- a/csharp-net45/docs/StreamLocation.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Sphereon.SDK.Template.Processor.Model.StreamLocation
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**FolderPath** | **string** | | [optional]
-**OriginalFileName** | **string** | | [optional]
-**ContainerId** | **string** | | [optional]
-**FileId** | **string** | | [optional]
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/TemplateApi.md b/csharp-net45/docs/TemplateApi.md
deleted file mode 100644
index 57ec829..0000000
--- a/csharp-net45/docs/TemplateApi.md
+++ /dev/null
@@ -1,340 +0,0 @@
-# Sphereon.SDK.Template.Processor.Api.TemplateApi
-
-All URIs are relative to *https://gw.api.cloud.sphereon.com/*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**CreateTemplateContext**](TemplateApi.md#createtemplatecontext) | **POST** /template/processor/0.1/templates | Create template context
-[**DeleteTemplateContext**](TemplateApi.md#deletetemplatecontext) | **DELETE** /template/processor/0.1/templates/{templateId} | Delete template context
-[**GetTemplateContext**](TemplateApi.md#gettemplatecontext) | **GET** /template/processor/0.1/templates/{templateId} | Get template context
-[**UpdateTemplateContext**](TemplateApi.md#updatetemplatecontext) | **PUT** /template/processor/0.1/templates | Update template context
-[**UploadTemplateFile**](TemplateApi.md#uploadtemplatefile) | **POST** /template/processor/0.1/templates/{templateId} | Upload template file
-
-
-
-# **CreateTemplateContext**
-> TemplateContextResponse CreateTemplateContext (TemplateContextRequest templateRequest)
-
-Create template context
-
-Create a unique template context for your environment
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class CreateTemplateContextExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new TemplateApi();
- var templateRequest = new TemplateContextRequest(); // TemplateContextRequest | The template request
-
- try
- {
- // Create template context
- TemplateContextResponse result = apiInstance.CreateTemplateContext(templateRequest);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling TemplateApi.CreateTemplateContext: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **templateRequest** | [**TemplateContextRequest**](TemplateContextRequest.md)| The template request |
-
-### Return type
-
-[**TemplateContextResponse**](TemplateContextResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json;charset=UTF-8
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **DeleteTemplateContext**
-> TemplateContextResponse DeleteTemplateContext (string templateId)
-
-Delete template context
-
-Delete a template context with all history
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class DeleteTemplateContextExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new TemplateApi();
- var templateId = templateId_example; // string | templateId
-
- try
- {
- // Delete template context
- TemplateContextResponse result = apiInstance.DeleteTemplateContext(templateId);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling TemplateApi.DeleteTemplateContext: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **templateId** | **string**| templateId |
-
-### Return type
-
-[**TemplateContextResponse**](TemplateContextResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **GetTemplateContext**
-> TemplateContextResponse GetTemplateContext (string templateId)
-
-Get template context
-
-Get an existing template context
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class GetTemplateContextExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new TemplateApi();
- var templateId = templateId_example; // string | The template context name unique for your environment
-
- try
- {
- // Get template context
- TemplateContextResponse result = apiInstance.GetTemplateContext(templateId);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling TemplateApi.GetTemplateContext: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **templateId** | **string**| The template context name unique for your environment |
-
-### Return type
-
-[**TemplateContextResponse**](TemplateContextResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **UpdateTemplateContext**
-> TemplateContextResponse UpdateTemplateContext (TemplateContextRequest templateContextRequest)
-
-Update template context
-
-Update an existing template context for your environment
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class UpdateTemplateContextExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new TemplateApi();
- var templateContextRequest = new TemplateContextRequest(); // TemplateContextRequest | templateContextRequest
-
- try
- {
- // Update template context
- TemplateContextResponse result = apiInstance.UpdateTemplateContext(templateContextRequest);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling TemplateApi.UpdateTemplateContext: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **templateContextRequest** | [**TemplateContextRequest**](TemplateContextRequest.md)| templateContextRequest |
-
-### Return type
-
-[**TemplateContextResponse**](TemplateContextResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: application/json;charset=UTF-8
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **UploadTemplateFile**
-> TemplateContextResponse UploadTemplateFile (string templateId, System.IO.Stream stream)
-
-Upload template file
-
-Upload the Office template file
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using Sphereon.SDK.Template.Processor.Api;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Example
-{
- public class UploadTemplateFileExample
- {
- public void main()
- {
-
- // Configure OAuth2 access token for authorization: oauth2schema
- Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-
- var apiInstance = new TemplateApi();
- var templateId = templateId_example; // string | The template context name unique for your environment
- var stream = new System.IO.Stream(); // System.IO.Stream | The template (file/inputstream) to store
-
- try
- {
- // Upload template file
- TemplateContextResponse result = apiInstance.UploadTemplateFile(templateId, stream);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling TemplateApi.UploadTemplateFile: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **templateId** | **string**| The template context name unique for your environment |
- **stream** | **System.IO.Stream**| The template (file/inputstream) to store |
-
-### Return type
-
-[**TemplateContextResponse**](TemplateContextResponse.md)
-
-### Authorization
-
-[oauth2schema](../README.md#oauth2schema)
-
-### HTTP request headers
-
- - **Content-Type**: multipart/form-data
- - **Accept**: application/json;charset=UTF-8
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/TemplateContext.md b/csharp-net45/docs/TemplateContext.md
deleted file mode 100644
index 4f1c866..0000000
--- a/csharp-net45/docs/TemplateContext.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# Sphereon.SDK.Template.Processor.Model.TemplateContext
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**TemplateType** | **string** | |
-**TemplateFileLocations** | [**Dictionary<string, StreamLocation>**](StreamLocation.md) | The template files (versioned) | [optional]
-**Description** | **string** | The template description | [optional]
-**OwnerInfo** | [**OwnerInfo**](OwnerInfo.md) | | [optional]
-**Id** | **string** | | [optional]
-**TemplateId** | **string** | The template context id | [optional]
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/TemplateContextRequest.md b/csharp-net45/docs/TemplateContextRequest.md
deleted file mode 100644
index 0818dbf..0000000
--- a/csharp-net45/docs/TemplateContextRequest.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Sphereon.SDK.Template.Processor.Model.TemplateContextRequest
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**TemplateType** | **string** | |
-**Description** | **string** | | [optional]
-**OwnerInfo** | [**OwnerInfo**](OwnerInfo.md) | | [optional]
-**TemplateId** | **string** | The template context id | [optional]
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/docs/TemplateContextResponse.md b/csharp-net45/docs/TemplateContextResponse.md
deleted file mode 100644
index 5ac599d..0000000
--- a/csharp-net45/docs/TemplateContextResponse.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Sphereon.SDK.Template.Processor.Model.TemplateContextResponse
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**CreationTime** | **DateTime?** | The creation date/time of this response in ISO 8601 format | [optional]
-**Context** | [**TemplateContext**](TemplateContext.md) | | [optional]
-**Id** | **string** | Unique template context id |
-**Status** | **string** | The status of the template |
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
diff --git a/csharp-net45/mono_nunit_test.sh b/csharp-net45/mono_nunit_test.sh
index 0c4b961..55ec687 100644
--- a/csharp-net45/mono_nunit_test.sh
+++ b/csharp-net45/mono_nunit_test.sh
@@ -2,32 +2,21 @@
#
# Generated by: https://github.com/swagger-api/swagger-codegen.git
#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-wget -nc https://nuget.org/nuget.exe
+wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
mozroots --import --sync
echo "[INFO] remove bin/Debug/SwaggerClientTest.dll"
-rm src/IO.Swagger.Test/bin/Debug/Sphereon.SDK.Template.Processor.Test.dll 2> /dev/null
+rm src/Sphereon.SDK.TemplateProcessor.Test/bin/Debug/Sphereon.SDK.TemplateProcessor.Test.dll 2> /dev/null
echo "[INFO] install NUnit runners via NuGet"
-wget -nc https://nuget.org/nuget.exe
+wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
mozroots --import --sync
-mono nuget.exe install src/Sphereon.SDK.Template.Processor.Test/packages.config -o packages
+mono nuget.exe install src/Sphereon.SDK.TemplateProcessor.Test/packages.config -o packages
echo "[INFO] Install NUnit runners via NuGet"
mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory packages
echo "[INFO] Build the solution and run the unit test"
-xbuild Sphereon.SDK.Template.Processor.sln && \
- mono ./packages/NUnit.Runners.2.6.4/tools/nunit-console.exe src/Sphereon.SDK.Template.Processor.Test/bin/Debug/Sphereon.SDK.Template.Processor.Test.dll
+xbuild Sphereon.SDK.TemplateProcessor.sln && \
+ mono ./packages/NUnit.Runners.2.6.4/tools/nunit-console.exe src/Sphereon.SDK.TemplateProcessor.Test/bin/Debug/Sphereon.SDK.TemplateProcessor.Test.dll
diff --git a/csharp-net45/src/Sphereon.SDK.Template.Processor/Api/AllApi.cs b/csharp-net45/src/Sphereon.SDK.Template.Processor/Api/AllApi.cs
deleted file mode 100644
index b9fd787..0000000
--- a/csharp-net45/src/Sphereon.SDK.Template.Processor/Api/AllApi.cs
+++ /dev/null
@@ -1,2845 +0,0 @@
-/*
- * Template-Processor
- *
- * The Template-Processor API can generate office, xml and json documents from a template and a JSON data file. Supported templates are MS Office files and freemarker files.< The flow is generally as follows: Interactive testing: A web based test console is available in the Sphereon API Store
- *
- * OpenAPI spec version: 0.1
- * Contact: dev@sphereon.com
- * Generated by: https://github.com/swagger-api/swagger-codegen.git
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-using System;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Linq;
-using RestSharp;
-using Sphereon.SDK.Template.Processor.Client;
-using Sphereon.SDK.Template.Processor.Model;
-
-namespace Sphereon.SDK.Template.Processor.Api
-{
- ///
- /// Represents a collection of functions to interact with the API endpoints
- ///
- public interface IAllApi : IApiAccessor
- {
- #region Synchronous Operations
- ///
- /// Store dataset
- ///
- ///
- /// Upload and store a data set. Currently only JSON is supported. This call returns an id which can be specified when submitting a merge job.
- ///
- /// Thrown when fails to make API call
- /// The dates for the merge [ { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", }, { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", } ]
- /// DataSetResponse
- DataSetResponse CreateDataSet (string payload);
-
- ///
- /// Store dataset
- ///
- ///
- /// Upload and store a data set. Currently only JSON is supported. This call returns an id which can be specified when submitting a merge job.
- ///
- /// Thrown when fails to make API call
- /// The dates for the merge [ { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", }, { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", } ]
- /// ApiResponse of DataSetResponse
- ApiResponse CreateDataSetWithHttpInfo (string payload);
- ///
- /// Create template context
- ///
- ///
- /// Create a unique template context for your environment
- ///
- /// Thrown when fails to make API call
- /// The template request
- /// TemplateContextResponse
- TemplateContextResponse CreateTemplateContext (TemplateContextRequest templateRequest);
-
- ///
- /// Create template context
- ///
- ///
- /// Create a unique template context for your environment
- ///
- /// Thrown when fails to make API call
- /// The template request
- /// ApiResponse of TemplateContextResponse
- ApiResponse CreateTemplateContextWithHttpInfo (TemplateContextRequest templateRequest);
- ///
- /// Delete a stored data set
- ///
- ///
- /// Delete a stored data set
- ///
- /// Thrown when fails to make API call
- /// dataSetId
- /// DataSetResponse
- DataSetResponse DeleteDataSet (string dataSetId);
-
- ///
- /// Delete a stored data set
- ///
- ///
- /// Delete a stored data set
- ///
- /// Thrown when fails to make API call
- /// dataSetId
- /// ApiResponse of DataSetResponse
- ApiResponse DeleteDataSetWithHttpInfo (string dataSetId);
- ///
- /// Delete a job manually
- ///
- ///
- /// Delete the merge job and all related files
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// MergeJobResponse
- MergeJobResponse DeleteJob (string jobId);
-
- ///
- /// Delete a job manually
- ///
- ///
- /// Delete the merge job and all related files
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// ApiResponse of MergeJobResponse
- ApiResponse DeleteJobWithHttpInfo (string jobId);
- ///
- /// Delete template context
- ///
- ///
- /// Delete a template context with all history
- ///
- /// Thrown when fails to make API call
- /// templateId
- /// TemplateContextResponse
- TemplateContextResponse DeleteTemplateContext (string templateId);
-
- ///
- /// Delete template context
- ///
- ///
- /// Delete a template context with all history
- ///
- /// Thrown when fails to make API call
- /// templateId
- /// ApiResponse of TemplateContextResponse
- ApiResponse DeleteTemplateContextWithHttpInfo (string templateId);
- ///
- /// Job definition and state
- ///
- ///
- /// Get the merge job definition and current state. Please not that you can differentiate based on http response status
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// MergeJobResponse
- MergeJobResponse GetJob (string jobId);
-
- ///
- /// Job definition and state
- ///
- ///
- /// Get the merge job definition and current state. Please not that you can differentiate based on http response status
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// ApiResponse of MergeJobResponse
- ApiResponse GetJobWithHttpInfo (string jobId);
- ///
- /// Get all jobs
- ///
- ///
- /// Get all office text job definitions and their current state.
- ///
- /// Thrown when fails to make API call
- /// A list of status to filter on. (optional)
- /// List<MergeJobResponse>
- List GetJobs (List status = null);
-
- ///
- /// Get all jobs
- ///
- ///
- /// Get all office text job definitions and their current state.
- ///
- /// Thrown when fails to make API call
- /// A list of status to filter on. (optional)
- /// ApiResponse of List<MergeJobResponse>
- ApiResponse> GetJobsWithHttpInfo (List status = null);
- ///
- /// Get the result file
- ///
- ///
- /// Get a merge result document as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// streamId
- /// outputSettings (optional)
- /// byte[]
- byte[] GetResultStreamById (string jobId, string streamId, OutputSettings outputSettings = null);
-
- ///
- /// Get the result file
- ///
- ///
- /// Get a merge result document as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// streamId
- /// outputSettings (optional)
- /// ApiResponse of byte[]
- ApiResponse GetResultStreamByIdWithHttpInfo (string jobId, string streamId, OutputSettings outputSettings = null);
- ///
- /// Get the result file
- ///
- ///
- /// Get all documents inside a compressed container as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// outputSettings (optional)
- /// byte[]
- byte[] GetResultStreamsAsContainer (string jobId, OutputSettings outputSettings = null);
-
- ///
- /// Get the result file
- ///
- ///
- /// Get all documents inside a compressed container as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// outputSettings (optional)
- /// ApiResponse of byte[]
- ApiResponse GetResultStreamsAsContainerWithHttpInfo (string jobId, OutputSettings outputSettings = null);
- ///
- /// Get template context
- ///
- ///
- /// Get an existing template context
- ///
- /// Thrown when fails to make API call
- /// The template context name unique for your environment
- /// TemplateContextResponse
- TemplateContextResponse GetTemplateContext (string templateId);
-
- ///
- /// Get template context
- ///
- ///
- /// Get an existing template context
- ///
- /// Thrown when fails to make API call
- /// The template context name unique for your environment
- /// ApiResponse of TemplateContextResponse
- ApiResponse GetTemplateContextWithHttpInfo (string templateId);
- ///
- /// Submit merge job for processing
- ///
- ///
- /// Submit merge job run.
- ///
- /// Thrown when fails to make API call
- /// The merge- and output settings
- /// MergeJobResponse
- MergeJobResponse SubmitJob (MergeSettings mergesettings);
-
- ///
- /// Submit merge job for processing
- ///
- ///
- /// Submit merge job run.
- ///
- /// Thrown when fails to make API call
- /// The merge- and output settings
- /// ApiResponse of MergeJobResponse
- ApiResponse SubmitJobWithHttpInfo (MergeSettings mergesettings);
- ///
- /// Update template context
- ///
- ///
- /// Update an existing template context for your environment
- ///
- /// Thrown when fails to make API call
- /// templateContextRequest
- /// TemplateContextResponse
- TemplateContextResponse UpdateTemplateContext (TemplateContextRequest templateContextRequest);
-
- ///
- /// Update template context
- ///
- ///
- /// Update an existing template context for your environment
- ///
- /// Thrown when fails to make API call
- /// templateContextRequest
- /// ApiResponse of TemplateContextResponse
- ApiResponse UpdateTemplateContextWithHttpInfo (TemplateContextRequest templateContextRequest);
- ///
- /// Upload template file
- ///
- ///
- /// Upload the Office template file
- ///
- /// Thrown when fails to make API call
- /// The template context name unique for your environment
- /// The template (file/inputstream) to store
- /// TemplateContextResponse
- TemplateContextResponse UploadTemplateFile (string templateId, System.IO.Stream stream);
-
- ///
- /// Upload template file
- ///
- ///
- /// Upload the Office template file
- ///
- /// Thrown when fails to make API call
- /// The template context name unique for your environment
- /// The template (file/inputstream) to store
- /// ApiResponse of TemplateContextResponse
- ApiResponse UploadTemplateFileWithHttpInfo (string templateId, System.IO.Stream stream);
- #endregion Synchronous Operations
- #region Asynchronous Operations
- ///
- /// Store dataset
- ///
- ///
- /// Upload and store a data set. Currently only JSON is supported. This call returns an id which can be specified when submitting a merge job.
- ///
- /// Thrown when fails to make API call
- /// The dates for the merge [ { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", }, { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", } ]
- /// Task of DataSetResponse
- System.Threading.Tasks.Task CreateDataSetAsync (string payload);
-
- ///
- /// Store dataset
- ///
- ///
- /// Upload and store a data set. Currently only JSON is supported. This call returns an id which can be specified when submitting a merge job.
- ///
- /// Thrown when fails to make API call
- /// The dates for the merge [ { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", }, { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", } ]
- /// Task of ApiResponse (DataSetResponse)
- System.Threading.Tasks.Task> CreateDataSetAsyncWithHttpInfo (string payload);
- ///
- /// Create template context
- ///
- ///
- /// Create a unique template context for your environment
- ///
- /// Thrown when fails to make API call
- /// The template request
- /// Task of TemplateContextResponse
- System.Threading.Tasks.Task CreateTemplateContextAsync (TemplateContextRequest templateRequest);
-
- ///
- /// Create template context
- ///
- ///
- /// Create a unique template context for your environment
- ///
- /// Thrown when fails to make API call
- /// The template request
- /// Task of ApiResponse (TemplateContextResponse)
- System.Threading.Tasks.Task> CreateTemplateContextAsyncWithHttpInfo (TemplateContextRequest templateRequest);
- ///
- /// Delete a stored data set
- ///
- ///
- /// Delete a stored data set
- ///
- /// Thrown when fails to make API call
- /// dataSetId
- /// Task of DataSetResponse
- System.Threading.Tasks.Task DeleteDataSetAsync (string dataSetId);
-
- ///
- /// Delete a stored data set
- ///
- ///
- /// Delete a stored data set
- ///
- /// Thrown when fails to make API call
- /// dataSetId
- /// Task of ApiResponse (DataSetResponse)
- System.Threading.Tasks.Task> DeleteDataSetAsyncWithHttpInfo (string dataSetId);
- ///
- /// Delete a job manually
- ///
- ///
- /// Delete the merge job and all related files
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// Task of MergeJobResponse
- System.Threading.Tasks.Task DeleteJobAsync (string jobId);
-
- ///
- /// Delete a job manually
- ///
- ///
- /// Delete the merge job and all related files
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// Task of ApiResponse (MergeJobResponse)
- System.Threading.Tasks.Task> DeleteJobAsyncWithHttpInfo (string jobId);
- ///
- /// Delete template context
- ///
- ///
- /// Delete a template context with all history
- ///
- /// Thrown when fails to make API call
- /// templateId
- /// Task of TemplateContextResponse
- System.Threading.Tasks.Task DeleteTemplateContextAsync (string templateId);
-
- ///
- /// Delete template context
- ///
- ///
- /// Delete a template context with all history
- ///
- /// Thrown when fails to make API call
- /// templateId
- /// Task of ApiResponse (TemplateContextResponse)
- System.Threading.Tasks.Task> DeleteTemplateContextAsyncWithHttpInfo (string templateId);
- ///
- /// Job definition and state
- ///
- ///
- /// Get the merge job definition and current state. Please not that you can differentiate based on http response status
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// Task of MergeJobResponse
- System.Threading.Tasks.Task GetJobAsync (string jobId);
-
- ///
- /// Job definition and state
- ///
- ///
- /// Get the merge job definition and current state. Please not that you can differentiate based on http response status
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// Task of ApiResponse (MergeJobResponse)
- System.Threading.Tasks.Task> GetJobAsyncWithHttpInfo (string jobId);
- ///
- /// Get all jobs
- ///
- ///
- /// Get all office text job definitions and their current state.
- ///
- /// Thrown when fails to make API call
- /// A list of status to filter on. (optional)
- /// Task of List<MergeJobResponse>
- System.Threading.Tasks.Task> GetJobsAsync (List status = null);
-
- ///
- /// Get all jobs
- ///
- ///
- /// Get all office text job definitions and their current state.
- ///
- /// Thrown when fails to make API call
- /// A list of status to filter on. (optional)
- /// Task of ApiResponse (List<MergeJobResponse>)
- System.Threading.Tasks.Task>> GetJobsAsyncWithHttpInfo (List status = null);
- ///
- /// Get the result file
- ///
- ///
- /// Get a merge result document as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// streamId
- /// outputSettings (optional)
- /// Task of byte[]
- System.Threading.Tasks.Task GetResultStreamByIdAsync (string jobId, string streamId, OutputSettings outputSettings = null);
-
- ///
- /// Get the result file
- ///
- ///
- /// Get a merge result document as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// streamId
- /// outputSettings (optional)
- /// Task of ApiResponse (byte[])
- System.Threading.Tasks.Task> GetResultStreamByIdAsyncWithHttpInfo (string jobId, string streamId, OutputSettings outputSettings = null);
- ///
- /// Get the result file
- ///
- ///
- /// Get all documents inside a compressed container as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// outputSettings (optional)
- /// Task of byte[]
- System.Threading.Tasks.Task GetResultStreamsAsContainerAsync (string jobId, OutputSettings outputSettings = null);
-
- ///
- /// Get the result file
- ///
- ///
- /// Get all documents inside a compressed container as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// outputSettings (optional)
- /// Task of ApiResponse (byte[])
- System.Threading.Tasks.Task> GetResultStreamsAsContainerAsyncWithHttpInfo (string jobId, OutputSettings outputSettings = null);
- ///
- /// Get template context
- ///
- ///
- /// Get an existing template context
- ///
- /// Thrown when fails to make API call
- /// The template context name unique for your environment
- /// Task of TemplateContextResponse
- System.Threading.Tasks.Task GetTemplateContextAsync (string templateId);
-
- ///
- /// Get template context
- ///
- ///
- /// Get an existing template context
- ///
- /// Thrown when fails to make API call
- /// The template context name unique for your environment
- /// Task of ApiResponse (TemplateContextResponse)
- System.Threading.Tasks.Task> GetTemplateContextAsyncWithHttpInfo (string templateId);
- ///
- /// Submit merge job for processing
- ///
- ///
- /// Submit merge job run.
- ///
- /// Thrown when fails to make API call
- /// The merge- and output settings
- /// Task of MergeJobResponse
- System.Threading.Tasks.Task SubmitJobAsync (MergeSettings mergesettings);
-
- ///
- /// Submit merge job for processing
- ///
- ///
- /// Submit merge job run.
- ///
- /// Thrown when fails to make API call
- /// The merge- and output settings
- /// Task of ApiResponse (MergeJobResponse)
- System.Threading.Tasks.Task> SubmitJobAsyncWithHttpInfo (MergeSettings mergesettings);
- ///
- /// Update template context
- ///
- ///
- /// Update an existing template context for your environment
- ///
- /// Thrown when fails to make API call
- /// templateContextRequest
- /// Task of TemplateContextResponse
- System.Threading.Tasks.Task UpdateTemplateContextAsync (TemplateContextRequest templateContextRequest);
-
- ///
- /// Update template context
- ///
- ///
- /// Update an existing template context for your environment
- ///
- /// Thrown when fails to make API call
- /// templateContextRequest
- /// Task of ApiResponse (TemplateContextResponse)
- System.Threading.Tasks.Task> UpdateTemplateContextAsyncWithHttpInfo (TemplateContextRequest templateContextRequest);
- ///
- /// Upload template file
- ///
- ///
- /// Upload the Office template file
- ///
- /// Thrown when fails to make API call
- /// The template context name unique for your environment
- /// The template (file/inputstream) to store
- /// Task of TemplateContextResponse
- System.Threading.Tasks.Task UploadTemplateFileAsync (string templateId, System.IO.Stream stream);
-
- ///
- /// Upload template file
- ///
- ///
- /// Upload the Office template file
- ///
- /// Thrown when fails to make API call
- /// The template context name unique for your environment
- /// The template (file/inputstream) to store
- /// Task of ApiResponse (TemplateContextResponse)
- System.Threading.Tasks.Task> UploadTemplateFileAsyncWithHttpInfo (string templateId, System.IO.Stream stream);
- #endregion Asynchronous Operations
- }
-
- ///
- /// Represents a collection of functions to interact with the API endpoints
- ///
- public partial class AllApi : IAllApi
- {
- private Sphereon.SDK.Template.Processor.Client.ExceptionFactory _exceptionFactory = (name, response) => null;
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- public AllApi(String basePath)
- {
- this.Configuration = new Configuration(new ApiClient(basePath));
-
- ExceptionFactory = Sphereon.SDK.Template.Processor.Client.Configuration.DefaultExceptionFactory;
-
- // ensure API client has configuration ready
- if (Configuration.ApiClient.Configuration == null)
- {
- this.Configuration.ApiClient.Configuration = this.Configuration;
- }
- }
-
- ///
- /// Initializes a new instance of the class
- /// using Configuration object
- ///
- /// An instance of Configuration
- ///
- public AllApi(Configuration configuration = null)
- {
- if (configuration == null) // use the default one in Configuration
- this.Configuration = Configuration.Default;
- else
- this.Configuration = configuration;
-
- ExceptionFactory = Sphereon.SDK.Template.Processor.Client.Configuration.DefaultExceptionFactory;
-
- // ensure API client has configuration ready
- if (Configuration.ApiClient.Configuration == null)
- {
- this.Configuration.ApiClient.Configuration = this.Configuration;
- }
- }
-
- ///
- /// Gets the base path of the API client.
- ///
- /// The base path
- public String GetBasePath()
- {
- return this.Configuration.ApiClient.RestClient.BaseUrl.ToString();
- }
-
- ///
- /// Sets the base path of the API client.
- ///
- /// The base path
- [Obsolete("SetBasePath is deprecated, please do 'Configuration.ApiClient = new ApiClient(\"http://new-path\")' instead.")]
- public void SetBasePath(String basePath)
- {
- // do nothing
- }
-
- ///
- /// Gets or sets the configuration object
- ///
- /// An instance of the Configuration
- public Configuration Configuration {get; set;}
-
- ///
- /// Provides a factory method hook for the creation of exceptions.
- ///
- public Sphereon.SDK.Template.Processor.Client.ExceptionFactory ExceptionFactory
- {
- get
- {
- if (_exceptionFactory != null && _exceptionFactory.GetInvocationList().Length > 1)
- {
- throw new InvalidOperationException("Multicast delegate for ExceptionFactory is unsupported.");
- }
- return _exceptionFactory;
- }
- set { _exceptionFactory = value; }
- }
-
- ///
- /// Gets the default header.
- ///
- /// Dictionary of HTTP header
- [Obsolete("DefaultHeader is deprecated, please use Configuration.DefaultHeader instead.")]
- public Dictionary DefaultHeader()
- {
- return this.Configuration.DefaultHeader;
- }
-
- ///
- /// Add default header.
- ///
- /// Header field name.
- /// Header field value.
- ///
- [Obsolete("AddDefaultHeader is deprecated, please use Configuration.AddDefaultHeader instead.")]
- public void AddDefaultHeader(string key, string value)
- {
- this.Configuration.AddDefaultHeader(key, value);
- }
-
- ///
- /// Store dataset Upload and store a data set. Currently only JSON is supported. This call returns an id which can be specified when submitting a merge job.
- ///
- /// Thrown when fails to make API call
- /// The dates for the merge [ { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", }, { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", } ]
- /// DataSetResponse
- public DataSetResponse CreateDataSet (string payload)
- {
- ApiResponse localVarResponse = CreateDataSetWithHttpInfo(payload);
- return localVarResponse.Data;
- }
-
- ///
- /// Store dataset Upload and store a data set. Currently only JSON is supported. This call returns an id which can be specified when submitting a merge job.
- ///
- /// Thrown when fails to make API call
- /// The dates for the merge [ { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", }, { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", } ]
- /// ApiResponse of DataSetResponse
- public ApiResponse< DataSetResponse > CreateDataSetWithHttpInfo (string payload)
- {
- // verify the required parameter 'payload' is set
- if (payload == null)
- throw new ApiException(400, "Missing required parameter 'payload' when calling AllApi->CreateDataSet");
-
- var localVarPath = "/template/processor/0.1/datasets";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (payload != null && payload.GetType() != typeof(byte[]))
- {
- localVarPostBody = Configuration.ApiClient.Serialize(payload); // http body (model) parameter
- }
- else
- {
- localVarPostBody = payload; // byte array
- }
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath,
- Method.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("CreateDataSet", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (DataSetResponse) Configuration.ApiClient.Deserialize(localVarResponse, typeof(DataSetResponse)));
-
- }
-
- ///
- /// Store dataset Upload and store a data set. Currently only JSON is supported. This call returns an id which can be specified when submitting a merge job.
- ///
- /// Thrown when fails to make API call
- /// The dates for the merge [ { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", }, { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", } ]
- /// Task of DataSetResponse
- public async System.Threading.Tasks.Task CreateDataSetAsync (string payload)
- {
- ApiResponse localVarResponse = await CreateDataSetAsyncWithHttpInfo(payload);
- return localVarResponse.Data;
-
- }
-
- ///
- /// Store dataset Upload and store a data set. Currently only JSON is supported. This call returns an id which can be specified when submitting a merge job.
- ///
- /// Thrown when fails to make API call
- /// The dates for the merge [ { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", }, { \"Field1\": \"Field1 value\", \"Field2\": \"Field2 value\", } ]
- /// Task of ApiResponse (DataSetResponse)
- public async System.Threading.Tasks.Task> CreateDataSetAsyncWithHttpInfo (string payload)
- {
- // verify the required parameter 'payload' is set
- if (payload == null)
- throw new ApiException(400, "Missing required parameter 'payload' when calling AllApi->CreateDataSet");
-
- var localVarPath = "/template/processor/0.1/datasets";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (payload != null && payload.GetType() != typeof(byte[]))
- {
- localVarPostBody = Configuration.ApiClient.Serialize(payload); // http body (model) parameter
- }
- else
- {
- localVarPostBody = payload; // byte array
- }
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,
- Method.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("CreateDataSet", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (DataSetResponse) Configuration.ApiClient.Deserialize(localVarResponse, typeof(DataSetResponse)));
-
- }
-
- ///
- /// Create template context Create a unique template context for your environment
- ///
- /// Thrown when fails to make API call
- /// The template request
- /// TemplateContextResponse
- public TemplateContextResponse CreateTemplateContext (TemplateContextRequest templateRequest)
- {
- ApiResponse localVarResponse = CreateTemplateContextWithHttpInfo(templateRequest);
- return localVarResponse.Data;
- }
-
- ///
- /// Create template context Create a unique template context for your environment
- ///
- /// Thrown when fails to make API call
- /// The template request
- /// ApiResponse of TemplateContextResponse
- public ApiResponse< TemplateContextResponse > CreateTemplateContextWithHttpInfo (TemplateContextRequest templateRequest)
- {
- // verify the required parameter 'templateRequest' is set
- if (templateRequest == null)
- throw new ApiException(400, "Missing required parameter 'templateRequest' when calling AllApi->CreateTemplateContext");
-
- var localVarPath = "/template/processor/0.1/templates";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (templateRequest != null && templateRequest.GetType() != typeof(byte[]))
- {
- localVarPostBody = Configuration.ApiClient.Serialize(templateRequest); // http body (model) parameter
- }
- else
- {
- localVarPostBody = templateRequest; // byte array
- }
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath,
- Method.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("CreateTemplateContext", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (TemplateContextResponse) Configuration.ApiClient.Deserialize(localVarResponse, typeof(TemplateContextResponse)));
-
- }
-
- ///
- /// Create template context Create a unique template context for your environment
- ///
- /// Thrown when fails to make API call
- /// The template request
- /// Task of TemplateContextResponse
- public async System.Threading.Tasks.Task CreateTemplateContextAsync (TemplateContextRequest templateRequest)
- {
- ApiResponse localVarResponse = await CreateTemplateContextAsyncWithHttpInfo(templateRequest);
- return localVarResponse.Data;
-
- }
-
- ///
- /// Create template context Create a unique template context for your environment
- ///
- /// Thrown when fails to make API call
- /// The template request
- /// Task of ApiResponse (TemplateContextResponse)
- public async System.Threading.Tasks.Task> CreateTemplateContextAsyncWithHttpInfo (TemplateContextRequest templateRequest)
- {
- // verify the required parameter 'templateRequest' is set
- if (templateRequest == null)
- throw new ApiException(400, "Missing required parameter 'templateRequest' when calling AllApi->CreateTemplateContext");
-
- var localVarPath = "/template/processor/0.1/templates";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (templateRequest != null && templateRequest.GetType() != typeof(byte[]))
- {
- localVarPostBody = Configuration.ApiClient.Serialize(templateRequest); // http body (model) parameter
- }
- else
- {
- localVarPostBody = templateRequest; // byte array
- }
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,
- Method.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("CreateTemplateContext", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (TemplateContextResponse) Configuration.ApiClient.Deserialize(localVarResponse, typeof(TemplateContextResponse)));
-
- }
-
- ///
- /// Delete a stored data set Delete a stored data set
- ///
- /// Thrown when fails to make API call
- /// dataSetId
- /// DataSetResponse
- public DataSetResponse DeleteDataSet (string dataSetId)
- {
- ApiResponse localVarResponse = DeleteDataSetWithHttpInfo(dataSetId);
- return localVarResponse.Data;
- }
-
- ///
- /// Delete a stored data set Delete a stored data set
- ///
- /// Thrown when fails to make API call
- /// dataSetId
- /// ApiResponse of DataSetResponse
- public ApiResponse< DataSetResponse > DeleteDataSetWithHttpInfo (string dataSetId)
- {
- // verify the required parameter 'dataSetId' is set
- if (dataSetId == null)
- throw new ApiException(400, "Missing required parameter 'dataSetId' when calling AllApi->DeleteDataSet");
-
- var localVarPath = "/template/processor/0.1/datasets/{dataSetId}";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (dataSetId != null) localVarPathParams.Add("dataSetId", Configuration.ApiClient.ParameterToString(dataSetId)); // path parameter
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath,
- Method.DELETE, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("DeleteDataSet", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (DataSetResponse) Configuration.ApiClient.Deserialize(localVarResponse, typeof(DataSetResponse)));
-
- }
-
- ///
- /// Delete a stored data set Delete a stored data set
- ///
- /// Thrown when fails to make API call
- /// dataSetId
- /// Task of DataSetResponse
- public async System.Threading.Tasks.Task DeleteDataSetAsync (string dataSetId)
- {
- ApiResponse localVarResponse = await DeleteDataSetAsyncWithHttpInfo(dataSetId);
- return localVarResponse.Data;
-
- }
-
- ///
- /// Delete a stored data set Delete a stored data set
- ///
- /// Thrown when fails to make API call
- /// dataSetId
- /// Task of ApiResponse (DataSetResponse)
- public async System.Threading.Tasks.Task> DeleteDataSetAsyncWithHttpInfo (string dataSetId)
- {
- // verify the required parameter 'dataSetId' is set
- if (dataSetId == null)
- throw new ApiException(400, "Missing required parameter 'dataSetId' when calling AllApi->DeleteDataSet");
-
- var localVarPath = "/template/processor/0.1/datasets/{dataSetId}";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (dataSetId != null) localVarPathParams.Add("dataSetId", Configuration.ApiClient.ParameterToString(dataSetId)); // path parameter
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,
- Method.DELETE, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("DeleteDataSet", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (DataSetResponse) Configuration.ApiClient.Deserialize(localVarResponse, typeof(DataSetResponse)));
-
- }
-
- ///
- /// Delete a job manually Delete the merge job and all related files
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// MergeJobResponse
- public MergeJobResponse DeleteJob (string jobId)
- {
- ApiResponse localVarResponse = DeleteJobWithHttpInfo(jobId);
- return localVarResponse.Data;
- }
-
- ///
- /// Delete a job manually Delete the merge job and all related files
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// ApiResponse of MergeJobResponse
- public ApiResponse< MergeJobResponse > DeleteJobWithHttpInfo (string jobId)
- {
- // verify the required parameter 'jobId' is set
- if (jobId == null)
- throw new ApiException(400, "Missing required parameter 'jobId' when calling AllApi->DeleteJob");
-
- var localVarPath = "/template/processor/0.1/jobs/{jobId}";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (jobId != null) localVarPathParams.Add("jobId", Configuration.ApiClient.ParameterToString(jobId)); // path parameter
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath,
- Method.DELETE, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("DeleteJob", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (MergeJobResponse) Configuration.ApiClient.Deserialize(localVarResponse, typeof(MergeJobResponse)));
-
- }
-
- ///
- /// Delete a job manually Delete the merge job and all related files
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// Task of MergeJobResponse
- public async System.Threading.Tasks.Task DeleteJobAsync (string jobId)
- {
- ApiResponse localVarResponse = await DeleteJobAsyncWithHttpInfo(jobId);
- return localVarResponse.Data;
-
- }
-
- ///
- /// Delete a job manually Delete the merge job and all related files
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// Task of ApiResponse (MergeJobResponse)
- public async System.Threading.Tasks.Task> DeleteJobAsyncWithHttpInfo (string jobId)
- {
- // verify the required parameter 'jobId' is set
- if (jobId == null)
- throw new ApiException(400, "Missing required parameter 'jobId' when calling AllApi->DeleteJob");
-
- var localVarPath = "/template/processor/0.1/jobs/{jobId}";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (jobId != null) localVarPathParams.Add("jobId", Configuration.ApiClient.ParameterToString(jobId)); // path parameter
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,
- Method.DELETE, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("DeleteJob", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (MergeJobResponse) Configuration.ApiClient.Deserialize(localVarResponse, typeof(MergeJobResponse)));
-
- }
-
- ///
- /// Delete template context Delete a template context with all history
- ///
- /// Thrown when fails to make API call
- /// templateId
- /// TemplateContextResponse
- public TemplateContextResponse DeleteTemplateContext (string templateId)
- {
- ApiResponse localVarResponse = DeleteTemplateContextWithHttpInfo(templateId);
- return localVarResponse.Data;
- }
-
- ///
- /// Delete template context Delete a template context with all history
- ///
- /// Thrown when fails to make API call
- /// templateId
- /// ApiResponse of TemplateContextResponse
- public ApiResponse< TemplateContextResponse > DeleteTemplateContextWithHttpInfo (string templateId)
- {
- // verify the required parameter 'templateId' is set
- if (templateId == null)
- throw new ApiException(400, "Missing required parameter 'templateId' when calling AllApi->DeleteTemplateContext");
-
- var localVarPath = "/template/processor/0.1/templates/{templateId}";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (templateId != null) localVarPathParams.Add("templateId", Configuration.ApiClient.ParameterToString(templateId)); // path parameter
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath,
- Method.DELETE, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("DeleteTemplateContext", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (TemplateContextResponse) Configuration.ApiClient.Deserialize(localVarResponse, typeof(TemplateContextResponse)));
-
- }
-
- ///
- /// Delete template context Delete a template context with all history
- ///
- /// Thrown when fails to make API call
- /// templateId
- /// Task of TemplateContextResponse
- public async System.Threading.Tasks.Task DeleteTemplateContextAsync (string templateId)
- {
- ApiResponse localVarResponse = await DeleteTemplateContextAsyncWithHttpInfo(templateId);
- return localVarResponse.Data;
-
- }
-
- ///
- /// Delete template context Delete a template context with all history
- ///
- /// Thrown when fails to make API call
- /// templateId
- /// Task of ApiResponse (TemplateContextResponse)
- public async System.Threading.Tasks.Task> DeleteTemplateContextAsyncWithHttpInfo (string templateId)
- {
- // verify the required parameter 'templateId' is set
- if (templateId == null)
- throw new ApiException(400, "Missing required parameter 'templateId' when calling AllApi->DeleteTemplateContext");
-
- var localVarPath = "/template/processor/0.1/templates/{templateId}";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (templateId != null) localVarPathParams.Add("templateId", Configuration.ApiClient.ParameterToString(templateId)); // path parameter
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,
- Method.DELETE, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("DeleteTemplateContext", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (TemplateContextResponse) Configuration.ApiClient.Deserialize(localVarResponse, typeof(TemplateContextResponse)));
-
- }
-
- ///
- /// Job definition and state Get the merge job definition and current state. Please not that you can differentiate based on http response status
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// MergeJobResponse
- public MergeJobResponse GetJob (string jobId)
- {
- ApiResponse localVarResponse = GetJobWithHttpInfo(jobId);
- return localVarResponse.Data;
- }
-
- ///
- /// Job definition and state Get the merge job definition and current state. Please not that you can differentiate based on http response status
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// ApiResponse of MergeJobResponse
- public ApiResponse< MergeJobResponse > GetJobWithHttpInfo (string jobId)
- {
- // verify the required parameter 'jobId' is set
- if (jobId == null)
- throw new ApiException(400, "Missing required parameter 'jobId' when calling AllApi->GetJob");
-
- var localVarPath = "/template/processor/0.1/jobs/{jobId}";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (jobId != null) localVarPathParams.Add("jobId", Configuration.ApiClient.ParameterToString(jobId)); // path parameter
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath,
- Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("GetJob", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (MergeJobResponse) Configuration.ApiClient.Deserialize(localVarResponse, typeof(MergeJobResponse)));
-
- }
-
- ///
- /// Job definition and state Get the merge job definition and current state. Please not that you can differentiate based on http response status
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// Task of MergeJobResponse
- public async System.Threading.Tasks.Task GetJobAsync (string jobId)
- {
- ApiResponse localVarResponse = await GetJobAsyncWithHttpInfo(jobId);
- return localVarResponse.Data;
-
- }
-
- ///
- /// Job definition and state Get the merge job definition and current state. Please not that you can differentiate based on http response status
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// Task of ApiResponse (MergeJobResponse)
- public async System.Threading.Tasks.Task> GetJobAsyncWithHttpInfo (string jobId)
- {
- // verify the required parameter 'jobId' is set
- if (jobId == null)
- throw new ApiException(400, "Missing required parameter 'jobId' when calling AllApi->GetJob");
-
- var localVarPath = "/template/processor/0.1/jobs/{jobId}";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (jobId != null) localVarPathParams.Add("jobId", Configuration.ApiClient.ParameterToString(jobId)); // path parameter
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,
- Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("GetJob", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (MergeJobResponse) Configuration.ApiClient.Deserialize(localVarResponse, typeof(MergeJobResponse)));
-
- }
-
- ///
- /// Get all jobs Get all office text job definitions and their current state.
- ///
- /// Thrown when fails to make API call
- /// A list of status to filter on. (optional)
- /// List<MergeJobResponse>
- public List GetJobs (List status = null)
- {
- ApiResponse> localVarResponse = GetJobsWithHttpInfo(status);
- return localVarResponse.Data;
- }
-
- ///
- /// Get all jobs Get all office text job definitions and their current state.
- ///
- /// Thrown when fails to make API call
- /// A list of status to filter on. (optional)
- /// ApiResponse of List<MergeJobResponse>
- public ApiResponse< List > GetJobsWithHttpInfo (List status = null)
- {
-
- var localVarPath = "/template/processor/0.1/jobs";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (status != null) localVarQueryParams.Add("status", Configuration.ApiClient.ParameterToString(status)); // query parameter
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath,
- Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("GetJobs", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse>(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List)));
-
- }
-
- ///
- /// Get all jobs Get all office text job definitions and their current state.
- ///
- /// Thrown when fails to make API call
- /// A list of status to filter on. (optional)
- /// Task of List<MergeJobResponse>
- public async System.Threading.Tasks.Task> GetJobsAsync (List status = null)
- {
- ApiResponse> localVarResponse = await GetJobsAsyncWithHttpInfo(status);
- return localVarResponse.Data;
-
- }
-
- ///
- /// Get all jobs Get all office text job definitions and their current state.
- ///
- /// Thrown when fails to make API call
- /// A list of status to filter on. (optional)
- /// Task of ApiResponse (List<MergeJobResponse>)
- public async System.Threading.Tasks.Task>> GetJobsAsyncWithHttpInfo (List status = null)
- {
-
- var localVarPath = "/template/processor/0.1/jobs";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (status != null) localVarQueryParams.Add("status", Configuration.ApiClient.ParameterToString(status)); // query parameter
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,
- Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("GetJobs", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse>(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List)));
-
- }
-
- ///
- /// Get the result file Get a merge result document as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// streamId
- /// outputSettings (optional)
- /// byte[]
- public byte[] GetResultStreamById (string jobId, string streamId, OutputSettings outputSettings = null)
- {
- ApiResponse localVarResponse = GetResultStreamByIdWithHttpInfo(jobId, streamId, outputSettings);
- return localVarResponse.Data;
- }
-
- ///
- /// Get the result file Get a merge result document as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// streamId
- /// outputSettings (optional)
- /// ApiResponse of byte[]
- public ApiResponse< byte[] > GetResultStreamByIdWithHttpInfo (string jobId, string streamId, OutputSettings outputSettings = null)
- {
- // verify the required parameter 'jobId' is set
- if (jobId == null)
- throw new ApiException(400, "Missing required parameter 'jobId' when calling AllApi->GetResultStreamById");
- // verify the required parameter 'streamId' is set
- if (streamId == null)
- throw new ApiException(400, "Missing required parameter 'streamId' when calling AllApi->GetResultStreamById");
-
- var localVarPath = "/template/processor/0.1/jobs/{jobId}/result/file/{streamId}";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/octet-stream"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (jobId != null) localVarPathParams.Add("jobId", Configuration.ApiClient.ParameterToString(jobId)); // path parameter
- if (streamId != null) localVarPathParams.Add("streamId", Configuration.ApiClient.ParameterToString(streamId)); // path parameter
- if (outputSettings != null && outputSettings.GetType() != typeof(byte[]))
- {
- localVarPostBody = Configuration.ApiClient.Serialize(outputSettings); // http body (model) parameter
- }
- else
- {
- localVarPostBody = outputSettings; // byte array
- }
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath,
- Method.PUT, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("GetResultStreamById", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (byte[]) Configuration.ApiClient.Deserialize(localVarResponse, typeof(byte[])));
-
- }
-
- ///
- /// Get the result file Get a merge result document as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// streamId
- /// outputSettings (optional)
- /// Task of byte[]
- public async System.Threading.Tasks.Task GetResultStreamByIdAsync (string jobId, string streamId, OutputSettings outputSettings = null)
- {
- ApiResponse localVarResponse = await GetResultStreamByIdAsyncWithHttpInfo(jobId, streamId, outputSettings);
- return localVarResponse.Data;
-
- }
-
- ///
- /// Get the result file Get a merge result document as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// streamId
- /// outputSettings (optional)
- /// Task of ApiResponse (byte[])
- public async System.Threading.Tasks.Task> GetResultStreamByIdAsyncWithHttpInfo (string jobId, string streamId, OutputSettings outputSettings = null)
- {
- // verify the required parameter 'jobId' is set
- if (jobId == null)
- throw new ApiException(400, "Missing required parameter 'jobId' when calling AllApi->GetResultStreamById");
- // verify the required parameter 'streamId' is set
- if (streamId == null)
- throw new ApiException(400, "Missing required parameter 'streamId' when calling AllApi->GetResultStreamById");
-
- var localVarPath = "/template/processor/0.1/jobs/{jobId}/result/file/{streamId}";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/octet-stream"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (jobId != null) localVarPathParams.Add("jobId", Configuration.ApiClient.ParameterToString(jobId)); // path parameter
- if (streamId != null) localVarPathParams.Add("streamId", Configuration.ApiClient.ParameterToString(streamId)); // path parameter
- if (outputSettings != null && outputSettings.GetType() != typeof(byte[]))
- {
- localVarPostBody = Configuration.ApiClient.Serialize(outputSettings); // http body (model) parameter
- }
- else
- {
- localVarPostBody = outputSettings; // byte array
- }
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,
- Method.PUT, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("GetResultStreamById", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (byte[]) Configuration.ApiClient.Deserialize(localVarResponse, typeof(byte[])));
-
- }
-
- ///
- /// Get the result file Get all documents inside a compressed container as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// outputSettings (optional)
- /// byte[]
- public byte[] GetResultStreamsAsContainer (string jobId, OutputSettings outputSettings = null)
- {
- ApiResponse localVarResponse = GetResultStreamsAsContainerWithHttpInfo(jobId, outputSettings);
- return localVarResponse.Data;
- }
-
- ///
- /// Get the result file Get all documents inside a compressed container as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// outputSettings (optional)
- /// ApiResponse of byte[]
- public ApiResponse< byte[] > GetResultStreamsAsContainerWithHttpInfo (string jobId, OutputSettings outputSettings = null)
- {
- // verify the required parameter 'jobId' is set
- if (jobId == null)
- throw new ApiException(400, "Missing required parameter 'jobId' when calling AllApi->GetResultStreamsAsContainer");
-
- var localVarPath = "/template/processor/0.1/jobs/{jobId}/result/container";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary();
- Object localVarPostBody = null;
-
- // to determine the Content-Type header
- String[] localVarHttpContentTypes = new String[] {
- "application/json;charset=UTF-8"
- };
- String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
-
- // to determine the Accept header
- String[] localVarHttpHeaderAccepts = new String[] {
- "application/octet-stream"
- };
- String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
- if (localVarHttpHeaderAccept != null)
- localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
-
- // set "format" to json by default
- // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
- localVarPathParams.Add("format", "json");
- if (jobId != null) localVarPathParams.Add("jobId", Configuration.ApiClient.ParameterToString(jobId)); // path parameter
- if (outputSettings != null && outputSettings.GetType() != typeof(byte[]))
- {
- localVarPostBody = Configuration.ApiClient.Serialize(outputSettings); // http body (model) parameter
- }
- else
- {
- localVarPostBody = outputSettings; // byte array
- }
-
- // authentication (oauth2schema) required
- // oauth required
- if (!String.IsNullOrEmpty(Configuration.AccessToken))
- {
- localVarHeaderParams["Authorization"] = "Bearer " + Configuration.AccessToken;
- }
-
- // make the HTTP request
- IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath,
- Method.PUT, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
- localVarPathParams, localVarHttpContentType);
-
- int localVarStatusCode = (int) localVarResponse.StatusCode;
-
- if (ExceptionFactory != null)
- {
- Exception exception = ExceptionFactory("GetResultStreamsAsContainer", localVarResponse);
- if (exception != null) throw exception;
- }
-
- return new ApiResponse(localVarStatusCode,
- localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
- (byte[]) Configuration.ApiClient.Deserialize(localVarResponse, typeof(byte[])));
-
- }
-
- ///
- /// Get the result file Get all documents inside a compressed container as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// outputSettings (optional)
- /// Task of byte[]
- public async System.Threading.Tasks.Task GetResultStreamsAsContainerAsync (string jobId, OutputSettings outputSettings = null)
- {
- ApiResponse localVarResponse = await GetResultStreamsAsContainerAsyncWithHttpInfo(jobId, outputSettings);
- return localVarResponse.Data;
-
- }
-
- ///
- /// Get the result file Get all documents inside a compressed container as a binary stream.
- ///
- /// Thrown when fails to make API call
- /// jobId
- /// outputSettings (optional)
- /// Task of ApiResponse (byte[])
- public async System.Threading.Tasks.Task> GetResultStreamsAsContainerAsyncWithHttpInfo (string jobId, OutputSettings outputSettings = null)
- {
- // verify the required parameter 'jobId' is set
- if (jobId == null)
- throw new ApiException(400, "Missing required parameter 'jobId' when calling AllApi->GetResultStreamsAsContainer");
-
- var localVarPath = "/template/processor/0.1/jobs/{jobId}/result/container";
- var localVarPathParams = new Dictionary();
- var localVarQueryParams = new Dictionary();
- var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
- var localVarFormParams = new Dictionary();
- var localVarFileParams = new Dictionary