Table of Contents

Class MasterDataAttribute

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

A dynamic attribute (schema column) defined on a master data object.

public sealed record MasterDataAttribute : IMasterDataAttribute
Inheritance
object
MasterDataAttribute
Implements

Properties

Caption

The display text of the attribute.

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

Property Value

string

DefaultValue

The column default, as text.

[JsonPropertyName("defaultValue")]
public string? DefaultValue { get; init; }

Property Value

string

Length

The column length; null means the type's default.

[JsonPropertyName("length")]
public int? Length { get; init; }

Property Value

int?

Name

The column name: a letter followed by letters, digits or underscores. The key of the attribute in Attributes.

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

Property Value

string

Type

The value type: STRING, BOOLEAN, INTEGER, DOUBLE or DATETIME (see TableAttributeType). Anything else is stored as a string.

[JsonPropertyName("type")]
public string? Type { get; init; }

Property Value

string