fixes for Nextcloud

This commit is contained in:
2023-10-02 15:25:16 +02:00
parent c7f5de4974
commit b2ef1e5cce
21 changed files with 233 additions and 101 deletions

View File

@@ -12,32 +12,32 @@ namespace Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses.Cloud
public class ResponseQuota
{
[JsonProperty("free")]
public ulong? Free { get; set; }
public long? Free { get; set; }
[JsonProperty("used")]
public ulong? Used { get; set; }
public long? Used { get; set; }
[JsonProperty("total")]
public ulong? Total { get; set; }
public long? Total { get; set; }
[JsonProperty("relative")]
public float? Relative { get; set; }
[JsonProperty("quota")]
public ulong? Quota { get; set; }
public long? Quota { get; set; }
}
public class ResponseBackendCapabilities
{
[JsonProperty("setDisplayName")]
public int? SetDisplayName { get; set; }
public bool? SetDisplayName { get; set; }
[JsonProperty("setPassword")]
public int? SetPassword { get; set; }
public bool? SetPassword { get; set; }
}
[JsonProperty("enabled")]
public int? Enabled { get; set; }
public bool? Enabled { get; set; }
[JsonProperty("storageLocation")]
public string? StorageLocation { get; set; }
@@ -46,7 +46,7 @@ namespace Pilz.Networking.CloudProviders.Nextcloud.OCS.Responses.Cloud
public string? ID { get; set; }
[JsonProperty("lastLogin")]
public ulong? LastLogin { get; set; }
public long? LastLogin { get; set; }
[JsonProperty("backend")]
public string? Backend { get; set; }