Class PortalSearchResponse
- Namespace
- Honua.Sdk.GeoServices.Portal.Models
- Assembly
- Honua.Sdk.GeoServices.dll
Paged search response returned by GET /sharing/rest/search.
public sealed class PortalSearchResponse
- Inheritance
-
PortalSearchResponse
- Inherited Members
Properties
AdditionalProperties
Unmodeled JSON properties preserved from the server response.
[JsonExtensionData]
[SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification = "System.Text.Json source generation requires a setter for JsonExtensionData.")]
public Dictionary<string, JsonElement>? AdditionalProperties { get; set; }
Property Value
HasMore
Whether the server advertised a subsequent page (NextStart greater than zero).
[JsonIgnore]
public bool HasMore { get; }
Property Value
NextStart
1-based index of the next page, or -1 when this is the final page.
[JsonPropertyName("nextStart")]
public int NextStart { get; init; }
Property Value
Num
Number of results returned in this page.
[JsonPropertyName("num")]
public int Num { get; init; }
Property Value
Query
Search query echoed by the server.
[JsonPropertyName("query")]
public string Query { get; init; }
Property Value
Results
Entries returned in this page.
[JsonPropertyName("results")]
public IReadOnlyList<PortalSharingItem> Results { get; init; }
Property Value
Start
1-based index of the first returned result, or 0 when empty.
[JsonPropertyName("start")]
public int Start { get; init; }
Property Value
Total
Total number of matching entries visible to the caller.
[JsonPropertyName("total")]
public int Total { get; init; }