From 8e367e89c4c9adebd65f7be64344beab2fd30be5 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Fri, 13 Sep 2024 13:15:58 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20Fehler-Modelle=20f=C3=BCr=20den=20Dokum?= =?UTF-8?q?entenl=C3=B6schvorgang=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Documents/Response/Delete/DocDelErrorResponse.cs | 11 +++++++++++ .../Models/Documents/Response/Delete/ErrorDetail.cs | 9 +++++++++ .../WindreamHub.Legacy.Client.csproj | 2 ++ 3 files changed, 22 insertions(+) create mode 100644 src/WindreamHub.Legacy.Client/Models/Documents/Response/Delete/DocDelErrorResponse.cs create mode 100644 src/WindreamHub.Legacy.Client/Models/Documents/Response/Delete/ErrorDetail.cs diff --git a/src/WindreamHub.Legacy.Client/Models/Documents/Response/Delete/DocDelErrorResponse.cs b/src/WindreamHub.Legacy.Client/Models/Documents/Response/Delete/DocDelErrorResponse.cs new file mode 100644 index 0000000..b0dcd61 --- /dev/null +++ b/src/WindreamHub.Legacy.Client/Models/Documents/Response/Delete/DocDelErrorResponse.cs @@ -0,0 +1,11 @@ +using System.Collections.Generic; + +namespace WindreamHub.Legacy.Client.Models.Documents.Response.Delete +{ + public class DocDelErrorResponse + { + public ErrorDetail Error { get; set; } + public List Errors { get; set; } + public bool HasErrors { get; set; } + } +} \ No newline at end of file diff --git a/src/WindreamHub.Legacy.Client/Models/Documents/Response/Delete/ErrorDetail.cs b/src/WindreamHub.Legacy.Client/Models/Documents/Response/Delete/ErrorDetail.cs new file mode 100644 index 0000000..aeec2f6 --- /dev/null +++ b/src/WindreamHub.Legacy.Client/Models/Documents/Response/Delete/ErrorDetail.cs @@ -0,0 +1,9 @@ +namespace WindreamHub.Legacy.Client.Models.Documents.Response.Delete +{ + public class ErrorDetail + { + public string Message { get; set; } + public int? ErrorCode { get; set; } + public int? Type { get; set; } + } +} diff --git a/src/WindreamHub.Legacy.Client/WindreamHub.Legacy.Client.csproj b/src/WindreamHub.Legacy.Client/WindreamHub.Legacy.Client.csproj index 0eeee01..97ce153 100644 --- a/src/WindreamHub.Legacy.Client/WindreamHub.Legacy.Client.csproj +++ b/src/WindreamHub.Legacy.Client/WindreamHub.Legacy.Client.csproj @@ -88,6 +88,8 @@ + +