Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
KycApplicationPage.cs
2{
5
9 public sealed class KycApplicationPage
10 {
11 public KycApplicationPage(IReadOnlyList<KycApplicationTemplate> templates, ResultPage? resultPage, bool usedFallback)
12 {
13 this.Templates = templates;
14 this.ResultPage = resultPage;
15 this.UsedFallback = usedFallback;
16 }
17
21 public IReadOnlyList<KycApplicationTemplate> Templates { get; }
22
26 public ResultPage? ResultPage { get; }
27
31 public bool UsedFallback { get; }
32
36 public string? NextAfter => this.ResultPage?.Last;
37
41 public string? PreviousBefore => this.ResultPage?.First;
42
46 public int? TotalCount => this.ResultPage?.Count;
47
51 public bool HasMoreAfter => !string.IsNullOrEmpty(this.ResultPage?.Last);
52 }
53}
Represents a page of KYC application templates along with pagination metadata.
string? NextAfter
Gets the item identifier to use in an "after" query when requesting the next page.
bool UsedFallback
Gets a value indicating if the bundled fallback template was returned instead of remote data.
IReadOnlyList< KycApplicationTemplate > Templates
Gets the application templates on this page.
int? TotalCount
Gets the total item count if provided by the server.
bool HasMoreAfter
Gets a value indicating whether more pages are likely available after the current one.
string? PreviousBefore
Gets the item identifier to use in a "before" query when requesting the previous page.
Contains information about a result page, as deinfed in XEP-0059: Result Set Management
Definition: ResultPage.cs:11
string Last
Last item/key in response.
Definition: ResultPage.cs:56
string First
First item/key in response.
Definition: ResultPage.cs:51
int? Count
Total number of items in result set.
Definition: ResultPage.cs:61