feat: Modelle für Dokumentenerstellungsanfragen in DocumentsRouteService hinzugefügt
- `Attribute`, `DocumentCreationBody`, `Item` und `ObjectType` Modelle für die Dokumentenerstellungsanfrage hinzugefügt. - Diese Modelle werden zur Erstellung von Dokumentenanfragen mit spezifischen Attributen und Details verwendet.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace WindreamHub.Legacy.Client.Models.Documents.Request
|
||||
{
|
||||
public class Attribute
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public object Value { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace WindreamHub.Legacy.Client.Models.Documents.Request
|
||||
{
|
||||
public class DocumentCreationBody
|
||||
{
|
||||
public Item Item { get; set; }
|
||||
public bool CreateFolder { get; set; }
|
||||
public int ResponseDetails { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace WindreamHub.Legacy.Client.Models.Documents.Request
|
||||
{
|
||||
public class Item
|
||||
{
|
||||
public ObjectType ObjectType { get; set; }
|
||||
public List<Attribute> Attributes { get; set; }
|
||||
public string Location { get; set; }
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace WindreamHub.Legacy.Client.Models.Documents.Request
|
||||
{
|
||||
public class ObjectType
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,6 @@
|
||||
using Microsoft.Extensions.Options;
|
||||
using System.Net;
|
||||
using System.Net.Http;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Threading.Tasks;
|
||||
using WindreamHub.Legacy.Client.Models;
|
||||
using WindreamHub.Legacy.Client.Models.Authentication;
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WindreamHub.Legacy.Client.Routes
|
||||
{
|
||||
|
||||
@@ -88,6 +88,10 @@
|
||||
<Compile Include="Models\Authentication\ICredential.cs" />
|
||||
<Compile Include="Models\Authentication\ValidationResponse.cs" />
|
||||
<Compile Include="Models\Authentication\Base64Credential.cs" />
|
||||
<Compile Include="Models\Documents\Request\Attribute.cs" />
|
||||
<Compile Include="Models\Documents\Request\Item.cs" />
|
||||
<Compile Include="Models\Documents\Request\ObjectType.cs" />
|
||||
<Compile Include="Models\Documents\Request\DocumentCreationBody.cs" />
|
||||
<Compile Include="Models\ModelExtensions.cs" />
|
||||
<Compile Include="Models\SimplifiedResponse.cs" />
|
||||
<Compile Include="Models\SystemDetails\SystemDetails.cs" />
|
||||
@@ -112,5 +116,8 @@
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Models\Documents\Response\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
Reference in New Issue
Block a user