Class SecomServiceDescription
- Namespace
- EncDotNet.S100.Collections.Indexing
- Assembly
- EncDotNet.S100.Collections.dll
What a SECOM service offers, as read by DescribeAsync(Uri, string?, string?, CancellationToken).
public sealed record SecomServiceDescription : IEquatable<SecomServiceDescription>
- Inheritance
-
SecomServiceDescription
- Implements
- Inherited Members
Constructors
SecomServiceDescription(IReadOnlyList<CatalogFacetValue>, int, int?, bool, SecomApiVersion)
What a SECOM service offers, as read by DescribeAsync(Uri, string?, string?, CancellationToken).
public SecomServiceDescription(IReadOnlyList<CatalogFacetValue> Products, int ListedItems, int? TotalItems, bool Truncated, SecomApiVersion ApiVersion)
Parameters
ProductsIReadOnlyList<CatalogFacetValue>Object counts and sizes per product.
ListedItemsintHow many objects were read.
TotalItemsint?How many objects the service said it offers, if it said.
TruncatedboolTrue when the service offers more objects than were read.
ApiVersionSecomApiVersionThe SECOM interface version that answered.
Properties
ApiVersion
The SECOM interface version that answered.
public SecomApiVersion ApiVersion { get; init; }
Property Value
ListedItems
How many objects were read.
public int ListedItems { get; init; }
Property Value
Products
Object counts and sizes per product.
public IReadOnlyList<CatalogFacetValue> Products { get; init; }
Property Value
TotalItems
How many objects the service said it offers, if it said.
public int? TotalItems { get; init; }
Property Value
- int?
Truncated
True when the service offers more objects than were read.
public bool Truncated { get; init; }