27 lines
1.2 KiB
C#
27 lines
1.2 KiB
C#
namespace ZB.MOM.WW.MxGateway.Client;
|
|
|
|
/// <summary>
|
|
/// Filters and shape options for <see cref="GalaxyRepositoryClient.BrowseAsync(BrowseChildrenOptions, System.Threading.CancellationToken)"/>.
|
|
/// Mirror of <see cref="DiscoverHierarchyOptions"/> for the lazy-browse path.
|
|
/// </summary>
|
|
public sealed class BrowseChildrenOptions
|
|
{
|
|
/// <summary>Restrict to children whose Galaxy category is in this set.</summary>
|
|
public IReadOnlyList<int> CategoryIds { get; init; } = [];
|
|
|
|
/// <summary>Restrict to children whose template chain contains any of these tokens.</summary>
|
|
public IReadOnlyList<string> TemplateChainContains { get; init; } = [];
|
|
|
|
/// <summary>Optional glob-style filter on <c>tag_name</c>.</summary>
|
|
public string? TagNameGlob { get; init; }
|
|
|
|
/// <summary>Whether to populate each <c>GalaxyObject.Attributes</c>. Null leaves the server default.</summary>
|
|
public bool? IncludeAttributes { get; init; }
|
|
|
|
/// <summary>Restrict to children that bear at least one alarm attribute.</summary>
|
|
public bool AlarmBearingOnly { get; init; }
|
|
|
|
/// <summary>Restrict to children that have at least one historized attribute.</summary>
|
|
public bool HistorizedOnly { get; init; }
|
|
}
|