Class ResourceIdentity
- Namespace
- JsonApiDotNetCore.Serialization.Objects
- Assembly
- JsonApiDotNetCore.dll
Shared identity information for various JSON:API objects.
[PublicAPI]
public abstract class ResourceIdentity
- Inheritance
-
ResourceIdentity
- Derived
- Inherited Members
Properties
Id
[JsonPropertyName("id")]
[JsonPropertyOrder(-2)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Id { get; set; }
Property Value
Lid
[JsonPropertyName("lid")]
[JsonPropertyOrder(-1)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Lid { get; set; }
Property Value
Type
[JsonPropertyName("type")]
[JsonPropertyOrder(-3)]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
public string? Type { get; set; }