14 lines
359 B
C#
14 lines
359 B
C#
using System;
|
|
|
|
namespace xCommons.Models
|
|
{
|
|
public class XRateLimitResult
|
|
{
|
|
public int Limit { get; set; }
|
|
public string Key { get; set; }
|
|
public int Remaining { get; set; }
|
|
public bool IsAllowed { get; set; }
|
|
public int RetryAfterSeconds { get; set; }
|
|
public DateTimeOffset ResetOn { get; set; }
|
|
}
|
|
} |