Renamed 'RenewFrequency' enum to 'Frequency'
This commit is contained in:
@@ -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
|
||||
@@ -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.
|
||||
|
||||
@@ -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; }
|
||||
|
||||
@@ -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; }
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user