Renamed 'RenewFrequency' enum to 'Frequency'

This commit is contained in:
2025-07-14 15:17:58 +02:00
parent 9f97e2b17d
commit 6a3b2d93c6
11 changed files with 11 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ namespace AMWD.Net.Api.Cloudflare
/// <see href="https://github.com/cloudflare/cloudflare-typescript/blob/v4.4.1/src/resources/shared.ts#L730">Source</see>
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum RenewFrequency
public enum Frequency
{
/// <summary>
/// Weekly

View File

@@ -37,7 +37,7 @@ namespace AMWD.Net.Api.Cloudflare
/// How often the subscription is renewed automatically.
/// </summary>
[JsonProperty("frequency")]
public RenewFrequency? Frequency { get; set; }
public Frequency? Frequency { get; set; }
/// <summary>
/// The price of the subscription that will be billed, in US dollars.

View File

@@ -3,7 +3,7 @@
internal class InternalCreateZoneSubscriptionRequest
{
[JsonProperty("frequency")]
public RenewFrequency? Frequency { get; set; }
public Frequency? Frequency { get; set; }
[JsonProperty("rate_plan")]
public RatePlan? RatePlan { get; set; }

View File

@@ -3,7 +3,7 @@
internal class InternalUpdateZoneSubscriptionRequest
{
[JsonProperty("frequency")]
public RenewFrequency? Frequency { get; set; }
public Frequency? Frequency { get; set; }
[JsonProperty("rate_plan")]
public RatePlan? RatePlan { get; set; }

View File

@@ -34,7 +34,7 @@
/// The frequency at which you will be billed for this plan.
/// </summary>
[JsonProperty("frequency")]
public RenewFrequency? Frequency { get; set; }
public Frequency? Frequency { get; set; }
/// <summary>
/// Indicates whether you are currently subscribed to this plan.

View File

@@ -309,7 +309,7 @@ namespace AMWD.Net.Api.Cloudflare.Zones
/// How often the customer is billed.
/// </summary>
[JsonProperty("frequency")]
public RenewFrequency? Frequency { get; set; }
public Frequency? Frequency { get; set; }
/// <summary>
/// States if the subscription active.

View File

@@ -22,7 +22,7 @@
/// <summary>
/// How often the subscription is renewed automatically.
/// </summary>
public RenewFrequency? Frequency { get; set; }
public Frequency? Frequency { get; set; }
/// <summary>
/// The rate plan applied to the subscription.

View File

@@ -22,7 +22,7 @@
/// <summary>
/// How often the subscription is renewed automatically.
/// </summary>
public RenewFrequency? Frequency { get; set; }
public Frequency? Frequency { get; set; }
/// <summary>
/// The rate plan applied to the subscription.

View File

@@ -36,7 +36,7 @@ namespace AMWD.Net.Api.Cloudflare.Zones
/// The frequency at which you will be billed for this plan.
/// </summary>
[JsonProperty("frequency")]
public RenewFrequency? Frequency { get; set; }
public Frequency? Frequency { get; set; }
/// <summary>
/// The plan name.