Skip to content
Snippets Groups Projects
Commit 3e382ee5 authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

obj

parent de9424e4
Branches
Tags
1 merge request!167Update: Removed Size property from resource type information object
using System;
using System.Collections.Generic;
namespace Coscine.Database.ReturnObjects;
/// <summary>
/// Contains information about the quota of a project by resource type.
/// </summary>
public class ProjectQuotaExtendedReturnObject
{
/// <summary>
/// Id of the resoure type.
/// </summary>
public Guid Id { get; set; }
/// <summary>
/// Display name of the resource type.
/// </summary>
public string Name { get; set; }
/// <summary>
/// How much space is reserved by resources in total [GiB]. Is equal to the sum of all resource quota reserved values.
/// </summary>
public QuotaDimObject TotalReserved { get; set; }
/// <summary>
/// How much space is currently allocated and is available to be taken by resources [GiB] (See Database, Table 'ProjectQuotas', Column 'Quota').
/// </summary>
public QuotaDimObject Allocated { get; set; }
/// <summary>
/// How much maximum space is possible to be taken by resources [GiB] (See Database, Table 'ProjectQuotas', Column 'MaxQuota').
/// </summary>
public QuotaDimObject Maximum { get; set; }
/// <summary>
/// Resources quota for all individual resources of a resource type in a selected project.
/// </summary>
public IEnumerable<ResourceQuotaReturnObject> ResourcesQuota { get; set; }
}
\ No newline at end of file
......@@ -32,9 +32,4 @@ public class ProjectQuotaReturnObject
/// How much maximum space is possible to be taken by resources [GiB] (See Database, Table 'ProjectQuotas', Column 'MaxQuota').
/// </summary>
public QuotaDimObject Maximum { get; set; }
/// <summary>
/// Resources quota for all individual resources of a resource type in a selected project.
/// </summary>
public IEnumerable<ResourceQuotaReturnObject> ResourcesQuota { get; set; }
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment