Struct HalLinks
Represents a set of HAL (Hypertext Application Language) navigation links for paginated API responses.
public struct HalLinks
- Inherited Members
Remarks
HAL links provide a standardized way to navigate between pages of results.
Not all links will be present in every response - for example, Next will be default on the last page.
Properties
First
Represents the navigation link to the first element.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public HalLink First { readonly get; set; }
Property Value
Last
Represents the navigation link to the last element.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public HalLink Last { readonly get; set; }
Property Value
Next
Represents the navigation link to the next element.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public HalLink Next { readonly get; set; }
Property Value
Previous
Represents the navigation link to the previous element.
[JsonPropertyName("prev")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public HalLink Previous { readonly get; set; }
Property Value
Self
Represents the navigation link to the current element.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public HalLink Self { readonly get; set; }