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> /// <see href="https://github.com/cloudflare/cloudflare-typescript/blob/v4.4.1/src/resources/shared.ts#L730">Source</see>
/// </summary> /// </summary>
[JsonConverter(typeof(StringEnumConverter))] [JsonConverter(typeof(StringEnumConverter))]
public enum RenewFrequency public enum Frequency
{ {
/// <summary> /// <summary>
/// Weekly /// Weekly

View File

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

View File

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

View File

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

View File

@@ -34,7 +34,7 @@
/// The frequency at which you will be billed for this plan. /// The frequency at which you will be billed for this plan.
/// </summary> /// </summary>
[JsonProperty("frequency")] [JsonProperty("frequency")]
public RenewFrequency? Frequency { get; set; } public Frequency? Frequency { get; set; }
/// <summary> /// <summary>
/// Indicates whether you are currently subscribed to this plan. /// 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. /// How often the customer is billed.
/// </summary> /// </summary>
[JsonProperty("frequency")] [JsonProperty("frequency")]
public RenewFrequency? Frequency { get; set; } public Frequency? Frequency { get; set; }
/// <summary> /// <summary>
/// States if the subscription active. /// States if the subscription active.

View File

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

View File

@@ -22,7 +22,7 @@
/// <summary> /// <summary>
/// How often the subscription is renewed automatically. /// How often the subscription is renewed automatically.
/// </summary> /// </summary>
public RenewFrequency? Frequency { get; set; } public Frequency? Frequency { get; set; }
/// <summary> /// <summary>
/// The rate plan applied to the subscription. /// 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. /// The frequency at which you will be billed for this plan.
/// </summary> /// </summary>
[JsonProperty("frequency")] [JsonProperty("frequency")]
public RenewFrequency? Frequency { get; set; } public Frequency? Frequency { get; set; }
/// <summary> /// <summary>
/// The plan name. /// The plan name.

View File

@@ -40,7 +40,7 @@ namespace Cloudflare.Zones.Tests.ZoneSubscriptionsExtensions
_request = new CreateZoneSubscriptionRequest(ZoneId) _request = new CreateZoneSubscriptionRequest(ZoneId)
{ {
Frequency = RenewFrequency.Quarterly, Frequency = Frequency.Quarterly,
RatePlan = new RatePlan RatePlan = new RatePlan
{ {
Id = RatePlanId.Business, Id = RatePlanId.Business,

View File

@@ -40,7 +40,7 @@ namespace Cloudflare.Zones.Tests.ZoneSubscriptionsExtensions
_request = new UpdateZoneSubscriptionRequest(ZoneId) _request = new UpdateZoneSubscriptionRequest(ZoneId)
{ {
Frequency = RenewFrequency.Quarterly, Frequency = Frequency.Quarterly,
RatePlan = new RatePlan RatePlan = new RatePlan
{ {
Id = RatePlanId.Business, Id = RatePlanId.Business,