introduce a very simple Nextcloud API

This commit is contained in:
2023-09-27 14:12:55 +02:00
parent 7ea59cddb1
commit 2c28feacb5
23 changed files with 927 additions and 1 deletions

View File

@@ -0,0 +1,37 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pilz.Networking.CloudProviders.Nextcloud.Model
{
public class UserQuota
{
/// <summary>
/// Amount of free bytes left.
/// </summary>
public ulong Free { get; set; }
/// <summary>
/// Amount of already used bytes.
/// </summary>
public ulong Used { get; set; }
/// <summary>
/// Total amount of all bytes (free + used).
/// </summary>
public ulong Total { get; set; }
/// <summary>
/// Relative amount of used quota in percent.
/// </summary>
public float Relative { get; set; }
/// <summary>
/// Total amount of bytes available.
/// </summary>
public ulong Quota { get; set; }
}
}