Table of Contents

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

Name string

Component name (e.g., "page_rules", "workers").

Value int

Desired value/quantity for this component.

Properties

Name

Component name (e.g., "page_rules", "workers").

[JsonPropertyName("name")]
public string Name { get; init; }

Property Value

string

Value

Desired value/quantity for this component.

[JsonPropertyName("value")]
public int Value { get; init; }

Property Value

int