feat: Fehler-Modelle für den Dokumentenlöschvorgang hinzugefügt
This commit is contained in:
parent
193c2c41cd
commit
8e367e89c4
@ -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<Error> Errors { get; set; }
|
||||
public bool HasErrors { get; set; }
|
||||
}
|
||||
}
|
||||
@ -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; }
|
||||
}
|
||||
}
|
||||
@ -88,6 +88,8 @@
|
||||
<Compile Include="Models\Documents\Flag.cs" />
|
||||
<Compile Include="Models\Documents\Request\Delete\DeleteItem.cs" />
|
||||
<Compile Include="Models\Documents\Request\Delete\DocDeleteBody.cs" />
|
||||
<Compile Include="Models\Documents\Response\Delete\DocDelErrorResponse.cs" />
|
||||
<Compile Include="Models\Documents\Response\Delete\ErrorDetail.cs" />
|
||||
<Compile Include="Models\Documents\Response\Error.cs" />
|
||||
<Compile Include="Models\Shared\ErrorItem.cs" />
|
||||
<Compile Include="Models\Authentication\ICredential.cs" />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user