Zum Hauptinhalt springen

BlueprintBlankedAttribute

Namespace: Meshmakers.Octo.Runtime.Contracts.Blueprints

One attribute whose non-empty tenant value a blueprint update would blank. Values are described, never included: the attribute may hold credentials.

public class BlueprintBlankedAttribute

Inheritance Object → BlueprintBlankedAttribute

Properties​

RtId​

Runtime id of the tenant entity.

public string RtId { get; set; }

Property Value​

String

CkTypeId​

CK type of the entity.

public string CkTypeId { get; set; }

Property Value​

String

AttributeName​

Attribute name as stored.

public string AttributeName { get; set; }

Property Value​

String

Reason​

Why the seed counts as blanking: SeedEmpty (the seed declares an empty value: null, empty string, empty array or empty record - never a non-empty value), SeedEmptiesJsonField ( the seed is a non-empty JSON text that empties a string field the tenant filled; IncomingSummary then names the first such field, e.g. string (184 chars), empties $.valueAttribute), SeedOmitted (the seed does not declare the attribute) or ResetToDefault ( the seed does not declare an attribute that has a CK default and the tenant's value differs from it, so the update resets it to the default; IncomingSummary is then default (<value>)). Consumers must tolerate values they do not know.

public string Reason { get; set; }

Property Value​

String

CurrentSummary​

Value-free description of what the tenant holds, e.g. string (223 chars).

public string CurrentSummary { get; set; }

Property Value​

String

IncomingSummary​

Value-free description of what the seed carries, e.g. string (110 chars), empty string or omitted; default (0) for ResetToDefault; for SeedEmptiesJsonField the size plus the JSON path of the first emptied field (a field name, never a value).

public string IncomingSummary { get; set; }

Property Value​

String

AppliedOnUpdate​

false: the update keeps the tenant value (default). true: the update blanks it (on a result: it did; on a preview: never, as a preview applies nothing).

public bool AppliedOnUpdate { get; set; }

Property Value​

Boolean

Constructors​

BlueprintBlankedAttribute()​

Caution​

Constructors of types with required members are not supported in this version of your compiler.


public BlueprintBlankedAttribute()