Table of Contents

Class KvNamespace

Namespace
Cloudflare.NET.Accounts.Kv.Models
Assembly
Cloudflare.NET.dll

Represents a Workers KV namespace.

public record KvNamespace : IEquatable<KvNamespace>
Inheritance
KvNamespace
Implements
Inherited Members

Constructors

KvNamespace(string, string, bool?)

Represents a Workers KV namespace.

public KvNamespace(string Id, string Title, bool? SupportsUrlEncoding = null)

Parameters

Id string

The unique identifier for the namespace.

Title string

The human-readable name of the namespace.

SupportsUrlEncoding bool?

Whether the namespace supports URL-encoded keys.

Properties

Id

The unique identifier for the namespace.

[JsonPropertyName("id")]
public string Id { get; init; }

Property Value

string

SupportsUrlEncoding

Whether the namespace supports URL-encoded keys.

[JsonPropertyName("supports_url_encoding")]
public bool? SupportsUrlEncoding { get; init; }

Property Value

bool?

Title

The human-readable name of the namespace.

[JsonPropertyName("title")]
public string Title { get; init; }

Property Value

string