namespace ZB.MOM.WW.OtOpcUa.Client.Shared.Models;
///
/// Represents a single node in the browse result set.
///
public sealed class BrowseResult
{
public BrowseResult(string nodeId, string displayName, string nodeClass, bool hasChildren)
{
NodeId = nodeId;
DisplayName = displayName;
NodeClass = nodeClass;
HasChildren = hasChildren;
}
///
/// The string representation of the node's NodeId.
///
public string NodeId { get; }
///
/// The display name of the node.
///
public string DisplayName { get; }
///
/// The node class (e.g., "Object", "Variable", "Method").
///
public string NodeClass { get; }
///
/// Whether the node has child references.
///
public bool HasChildren { get; }
}