Skip to content

Commit

Permalink
fix: change nullable prop to required
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaDmitrasinovic committed Jan 24, 2024
1 parent 30974ed commit 570a24b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ public ListQuotasForIdentityResponse(IEnumerable<QuotaGroupDTO> items) : base(it
public class SingleQuotaDTO
{
public QuotaSource Source { get; set; }
public string? MetricKey { get; set; }
public required string MetricKey { get; set; }
public int Max { get; set; }
public uint Usage { get; set; }
public string? Period { get; set; }
public required string Period { get; set; }
}

public class QuotaGroupDTO
{
public string? MetricKey { get; set; }
public List<SingleQuotaDTO>? Quotas { get; set; }
public required string MetricKey { get; set; }
public required List<SingleQuotaDTO> Quotas { get; set; }
}

0 comments on commit 570a24b

Please sign in to comment.