Struct HalLinks<T>
Represents a set of typed HAL (Hypertext Application Language) navigation links for paginated API responses.
public struct HalLinks<T>
Type Parameters
TThe type of the link object.
- Inherited Members
Remarks
This generic version allows for strongly-typed link objects beyond the standard HalLink type.
Properties
First
Represents the navigation link to the first element.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public T First { readonly get; set; }
Property Value
- T
Last
Represents the navigation link to the last element.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public T Last { readonly get; set; }
Property Value
- T
Next
Represents the navigation link to the next element.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public T Next { readonly get; set; }
Property Value
- T
Previous
Represents the navigation link to the previous element.
[JsonPropertyName("prev")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public T Previous { readonly get; set; }
Property Value
- T
Self
Represents the navigation link to the current element.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public T Self { readonly get; set; }
Property Value
- T