RtEntityAttributeDto
Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects
Represents attribute of an entity.
public class RtEntityAttributeDto : GraphQlDto
Inheritance Object → GraphQlDto → RtEntityAttributeDto
Properties
AttributeName
Gets or sets the attribute name.
public string AttributeName { get; set; }
Property Value
Value
Gets or sets the attribute value. Always null for a Secret attribute
(AB#5528); see RtEntityAttributeDto.SecretIsSet.
public object Value { get; set; }
Property Value
Remarks:
Serialization never writes the content of an RtSecretValue placed here by mistake:
the converters write the marker {"isSet":true} instead (see
RtSecretValueJsonConverter).
SecretIsSet
For a Secret attribute: whether the secret is set (the value itself is never
projected, RtEntityAttributeDto.Value is null). null for every other attribute.
GraphQL field secretIsSet (concept §4.2). Not written when null, so inputs
built from this DTO stay valid against servers that do not know the field.
public Nullable<bool> SecretIsSet { get; set; }
Property Value
SecretKeyMissing
For a Secret attribute: true when a value is stored but cannot be read because
its key id is not in the key ring (re-entry needed; RtEntityAttributeDto.SecretIsSet is false).
null for every other attribute. GraphQL field secretKeyMissing; not written when
null.
public Nullable<bool> SecretKeyMissing { get; set; }
Property Value
SecretSetAt
For a Secret attribute: when the current value was set (UTC). null for every
other attribute, for legacy values and when not set. GraphQL field secretSetAt; not
written when null.
public Nullable<DateTime> SecretSetAt { get; set; }
Property Value
UserContext
A user context object that can be used to transport user specific data
public object UserContext { get; set; }
Property Value
Constructors
RtEntityAttributeDto()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public RtEntityAttributeDto()