using System.Collections.ObjectModel; namespace FrostFS.SDK; public class FrostFsSplit(SplitId splitId, FrostFsObjectId? previous = null, FrostFsObjectId? parent = null, FrostFsObjectHeader? parentHeader = null, FrostFsSignature? parentSignature = null, ReadOnlyCollection? children = null) { public FrostFsSplit() : this(new SplitId()) { } public SplitId SplitId { get; private set; } = splitId; public FrostFsObjectId? Previous { get; } = previous; public FrostFsObjectId? Parent { get; } = parent; public FrostFsSignature? ParentSignature { get; } = parentSignature; public FrostFsObjectHeader? ParentHeader { get; set; } = parentHeader; public ReadOnlyCollection? Children { get; } = children; }