Class Document
- Namespace
- JsonApiDotNetCore.Serialization.Objects
- Assembly
- JsonApiDotNetCore.dll
See https://jsonapi.org/format#document-top-level and https://jsonapi.org/ext/atomic/#document-structure.
[PublicAPI]
public sealed class Document
- Inheritance
-
Document
- Inherited Members
Properties
Data
[JsonPropertyName("data")]
public SingleOrManyData<ResourceObject> Data { get; set; }
Property Value
Errors
[JsonPropertyName("errors")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IList<ErrorObject>? Errors { get; set; }
Property Value
Included
[JsonPropertyName("included")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IList<ResourceObject>? Included { get; set; }
Property Value
JsonApi
[JsonPropertyName("jsonapi")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public JsonApiObject? JsonApi { get; set; }
Property Value
Links
[JsonPropertyName("links")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public TopLevelLinks? Links { get; set; }
Property Value
Meta
[JsonPropertyName("meta")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IDictionary<string, object?>? Meta { get; set; }
Property Value
Operations
[JsonPropertyName("atomic:operations")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IList<AtomicOperationObject?>? Operations { get; set; }
Property Value
Results
[JsonPropertyName("atomic:results")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IList<AtomicResultObject>? Results { get; set; }