Added some Zone features

This commit is contained in:
2024-10-24 17:12:14 +02:00
parent 83620cb450
commit c6eb6ba05e
49 changed files with 3595 additions and 34 deletions

View File

@@ -0,0 +1,24 @@
using System.Runtime.Serialization;
using Newtonsoft.Json.Converters;
namespace AMWD.Net.Api.Cloudflare
{
/// <summary>
/// The direction to sort the entity.
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum SortDirection
{
/// <summary>
/// Sort in ascending order.
/// </summary>
[EnumMember(Value = "asc")]
Ascending = 1,
/// <summary>
/// Sort in descending order.
/// </summary>
[EnumMember(Value = "desc")]
Descending = 2
}
}