re-organize Nextcloud project structure

This commit is contained in:
2023-10-02 15:38:58 +02:00
parent b2ef1e5cce
commit fc50ebb3d5
27 changed files with 49 additions and 44 deletions

View File

@@ -1,12 +1,11 @@
using Pilz.Networking.CloudProviders.Nextcloud.Model.Apps.FilesRetention; using Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.FileRetention.Model;
using Pilz.Networking.CloudProviders.Nextcloud.OCS.APIs.Apps;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Apps namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.FileRetention
{ {
public class FilesRetentionClient : ClientBase public class FilesRetentionClient : ClientBase
{ {

View File

@@ -1,12 +1,11 @@
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Data.Apps.FileRetention; using Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.FileRetention.Ocs;
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses.Apps.FilesRetention;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.Model.Apps.FilesRetention namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.FileRetention.Model
{ {
public class RetentionRule : RetentionRuleInfo public class RetentionRule : RetentionRuleInfo
{ {

View File

@@ -1,11 +1,11 @@
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Data.Apps.FileRetention; using Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.FileRetention.Ocs;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.Model.Apps.FilesRetention namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.FileRetention.Model
{ {
public class RetentionRuleInfo public class RetentionRuleInfo
{ {

View File

@@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.Model.Apps.FilesRetention namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.FileRetention.Model
{ {
public enum RetentionTimeAfter public enum RetentionTimeAfter
{ {

View File

@@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.Model.Apps.FilesRetention namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.FileRetention.Model
{ {
public enum RetentionTimeUnit public enum RetentionTimeUnit
{ {

View File

@@ -1,11 +1,12 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using Pilz.Networking.CloudProviders.Nextcloud.OCS;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.OCS.Data.Apps.FileRetention namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.FileRetention.Ocs
{ {
public class OcsDataRetentionRule : OcsData public class OcsDataRetentionRule : OcsData
{ {

View File

@@ -1,11 +1,12 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses.Apps.FilesRetention namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.FileRetention.Ocs
{ {
public class OcsResponseDataEntryRetention : OcsResponseDataEntry public class OcsResponseDataEntryRetention : OcsResponseDataEntry
{ {

View File

@@ -1,11 +1,12 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses.Apps.FilesRetention namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.FileRetention.Ocs
{ {
public class OcsResponseRetention : OcsResponse<OcsResponseDataArray<OcsResponseDataEntryRetention>> public class OcsResponseRetention : OcsResponse<OcsResponseDataArray<OcsResponseDataEntryRetention>>
{ {

View File

@@ -1,6 +1,6 @@
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Data.Apps.FileRetention; using Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.FileRetention.Ocs;
using Pilz.Networking.CloudProviders.Nextcloud.OCS;
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses; using Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses;
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses.Apps.FilesRetention;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data; using System.Data;
@@ -8,7 +8,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.OCS.APIs.Apps namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.FileRetention
{ {
public class OcsApiFilesRetention : OcsApiBase public class OcsApiFilesRetention : OcsApiBase
{ {

View File

@@ -1,11 +1,11 @@
using Pilz.Networking.CloudProviders.Nextcloud.Model.Cloud; using Pilz.Networking.CloudProviders.Nextcloud.Client.Cloud.Model;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.Client namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Cloud
{ {
public class CloudClient : ClientBase public class CloudClient : ClientBase
{ {

View File

@@ -5,7 +5,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.Model.Cloud namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Cloud.Model
{ {
public class UserBackendCapabilities public class UserBackendCapabilities
{ {

View File

@@ -1,11 +1,11 @@
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses.Cloud; using Pilz.Networking.CloudProviders.Nextcloud.Client.Cloud.Ocs;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.Model.Cloud namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Cloud.Model
{ {
public class UserInfo public class UserInfo
{ {

View File

@@ -5,7 +5,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.Model.Cloud namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Cloud.Model
{ {
public class UserQuota public class UserQuota
{ {

View File

@@ -1,11 +1,12 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses.Cloud namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Cloud.Ocs
{ {
public class OcsResponseDataUser : OcsResponseData public class OcsResponseDataUser : OcsResponseData
{ {

View File

@@ -1,11 +1,12 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses.Cloud namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Cloud.Ocs
{ {
public class OcsResponseUser : OcsResponse<OcsResponseDataUser> public class OcsResponseUser : OcsResponse<OcsResponseDataUser>
{ {

View File

@@ -1,11 +1,12 @@
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses.Cloud; using Pilz.Networking.CloudProviders.Nextcloud.Client.Cloud.Ocs;
using Pilz.Networking.CloudProviders.Nextcloud.OCS;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.OCS.APIs namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Cloud
{ {
public class OcsApiCloud : OcsApiBase public class OcsApiCloud : OcsApiBase
{ {

View File

@@ -3,8 +3,9 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using Pilz.Networking.CloudProviders.Nextcloud.OCS;
namespace Pilz.Networking.CloudProviders.Nextcloud.OCS.APIs namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Core
{ {
public class OcsApiCore : OcsApiBase public class OcsApiCore : OcsApiBase
{ {

View File

@@ -5,7 +5,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses.LoginFlowV2 namespace Pilz.Networking.CloudProviders.Nextcloud.Client.LoginFlowV2.Ocs
{ {
public class OcsResponseLoginFlowV2 public class OcsResponseLoginFlowV2
{ {

View File

@@ -5,7 +5,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses.LoginFlowV2 namespace Pilz.Networking.CloudProviders.Nextcloud.Client.LoginFlowV2.Ocs
{ {
public class OcsResponseLoginFlowV2Credentials public class OcsResponseLoginFlowV2Credentials
{ {

View File

@@ -1,11 +1,12 @@
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses.LoginFlowV2; using Pilz.Networking.CloudProviders.Nextcloud.Client.LoginFlowV2.Ocs;
using Pilz.Networking.CloudProviders.Nextcloud.OCS;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.OCS.APIs namespace Pilz.Networking.CloudProviders.Nextcloud.Client.LoginFlowV2
{ {
public class OcsApiLoginFlowV2 : OcsApiBase public class OcsApiLoginFlowV2 : OcsApiBase
{ {

View File

@@ -1,5 +1,4 @@
using Pilz.Networking.CloudProviders.Nextcloud.Model; using Pilz.Networking.CloudProviders.Nextcloud.OCS;
using Pilz.Networking.CloudProviders.Nextcloud.OCS;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;

View File

@@ -5,12 +5,11 @@ using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using Pilz.Networking.CloudProviders.Nextcloud;
using Pilz.Networking.CloudProviders.Nextcloud.Client; using Pilz.Networking.CloudProviders.Nextcloud.Client;
using Pilz.Networking.CloudProviders.Nextcloud.Model; using Pilz.Networking.CloudProviders.Nextcloud.Client.Cloud;
using Pilz.Networking.CloudProviders.Nextcloud.Model.Cloud; using Pilz.Networking.CloudProviders.Nextcloud.Client.Cloud.Model;
using Pilz.Networking.CloudProviders.Nextcloud.Client.LoginFlowV2.Ocs;
using Pilz.Networking.CloudProviders.Nextcloud.OCS; using Pilz.Networking.CloudProviders.Nextcloud.OCS;
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses.LoginFlowV2;
namespace Pilz.Networking.CloudProviders.Nextcloud namespace Pilz.Networking.CloudProviders.Nextcloud
{ {

View File

@@ -1,12 +1,12 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses.LoginFlowV2; using Pilz.Networking.CloudProviders.Nextcloud.Client.LoginFlowV2.Ocs;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.Model namespace Pilz.Networking.CloudProviders.Nextcloud
{ {
public class NextcloudLogin public class NextcloudLogin
{ {

View File

@@ -7,11 +7,12 @@ using System.Net.Http.Headers;
using Newtonsoft.Json; using Newtonsoft.Json;
using System.Diagnostics; using System.Diagnostics;
using System.Net; using System.Net;
using Pilz.Networking.CloudProviders.Nextcloud.OCS.APIs;
using System.Net.Sockets; using System.Net.Sockets;
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Data;
using Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses; using Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses;
using System.Xml.Linq; using System.Xml.Linq;
using Pilz.Networking.CloudProviders.Nextcloud.Client.Cloud;
using Pilz.Networking.CloudProviders.Nextcloud.Client.Core;
using Pilz.Networking.CloudProviders.Nextcloud.Client.LoginFlowV2;
namespace Pilz.Networking.CloudProviders.Nextcloud.OCS namespace Pilz.Networking.CloudProviders.Nextcloud.OCS
{ {

View File

@@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.OCS.APIs namespace Pilz.Networking.CloudProviders.Nextcloud.OCS
{ {
public abstract class OcsApiBase public abstract class OcsApiBase
{ {

View File

@@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.OCS.Data namespace Pilz.Networking.CloudProviders.Nextcloud.OCS
{ {
public class OcsData public class OcsData
{ {

View File

@@ -9,7 +9,7 @@
<PropertyGroup> <PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild> <GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<IncrementVersionOnBuild>1.yyyy.Mdd.Hmm</IncrementVersionOnBuild> <IncrementVersionOnBuild>1.yyyy.Mdd.Hmm</IncrementVersionOnBuild>
<Version>1.2023.1002.1520</Version> <Version>1.2023.1002.1538</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>