Class Entity
- Namespace
- CedarDotNet.Models
- Assembly
- CedarDotNet.dll
An entity.
public sealed record Entity : IEquatable<Entity>
- Inheritance
-
Entity
- Implements
- Inherited Members
Properties
Attrs
The attributes.
[JsonPropertyName("attrs")]
public IReadOnlyDictionary<string, Value> Attrs { get; init; }
Property Value
Parents
The references to the parent entities.
[JsonPropertyName("parents")]
public IReadOnlyCollection<EntityUid> Parents { get; init; }
Property Value
Tags
The tags.
[JsonPropertyName("tags")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IReadOnlyDictionary<string, Value> Tags { get; init; }
Property Value
Uid
The entity UID.
[JsonPropertyName("uid")]
public required EntityUid Uid { get; init; }