Class ContentRequest
One key in a bulk content read — the same information a single-key GetAsync takes, so a
key the server has not seen still materializes with the text its caller declared.
public sealed record ContentRequest : IEquatable<ContentRequest>
- Inheritance
-
ContentRequest
- Implements
- Inherited Members
Properties
DefaultValue
Text to use if nothing is stored, and to seed the key with if it does not exist.
public required string DefaultValue { get; init; }
Property Value
Key
public required string Key { get; init; }
Property Value
Translations
Optional exact translations keyed by language name, e.g.
{ ["Swedish"] = "Ärende" }. Stored verbatim as authoritative when the key is first
materialized, and those languages are skipped by AI translation. A name matching no
configured language is ignored.
public IReadOnlyDictionary<string, string> Translations { get; init; }