Class SubscriptionComponentValue
- Namespace
- Cloudflare.NET.Subscriptions.Models
- Assembly
- Cloudflare.NET.dll
Component value for subscription requests.
Used to set the value of configurable components when creating or updating subscriptions.
public record SubscriptionComponentValue : IEquatable<SubscriptionComponentValue>
- Inheritance
-
SubscriptionComponentValue
- Implements
- Inherited Members
Constructors
SubscriptionComponentValue(string, int)
Component value for subscription requests.
Used to set the value of configurable components when creating or updating subscriptions.
public SubscriptionComponentValue(string Name, int Value)
Parameters
NamestringComponent name (e.g., "page_rules", "workers").
ValueintDesired value/quantity for this component.
Properties
Name
Component name (e.g., "page_rules", "workers").
[JsonPropertyName("name")]
public string Name { get; init; }
Property Value
Value
Desired value/quantity for this component.
[JsonPropertyName("value")]
public int Value { get; init; }