Table of Contents

Class MasterDataValue

Namespace
BiExcellence.OpenBi.Api.MasterData
Assembly
BiExcellence.OpenBi.Api.Client.dll

One master data value, for one language. Used as both the request and response body.

public sealed record MasterDataValue : IMasterDataValue
Inheritance
object
MasterDataValue
Implements

Properties

Attributes

The attribute values, keyed by the Name values of GetMasterDataAttributesAsync(IOpenBiApiClient, string, CancellationToken), stored as text. Names that are not defined there are not stored.

[JsonPropertyName("attributes")]
public Dictionary<string, JsonElement>? Attributes { get; init; }

Property Value

Dictionary<string, JsonElement>

Caption

The text of the value in that language. On a write, null keeps the stored text.

[JsonPropertyName("caption")]
public string? Caption { get; init; }

Property Value

string

Chavl

The characteristic value. Required on a write, where it is also the key.

[JsonPropertyName("chavl")]
public string? Chavl { get; init; }

Property Value

string

ChavlKey

The key the value is stored under - the text form of Chavl. Returned only; a write takes the key from Chavl.

[JsonPropertyName("chavlKey")]
public string? ChavlKey { get; init; }

Property Value

string

Language

The language of Caption, such as de or en-US. Empty for the language-independent text.

[JsonPropertyName("language")]
public string? Language { get; init; }

Property Value

string