frostfs-sdk-csharp/src/FrostFS.SDK.ModelsV2/Object/Splitter.cs
Pavel Gross 0ddde467cd [#20] Client: Optimize memory usage
Avoid memory allocation, use cache and static

Signed-off-by: Pavel Gross <p.gross@yando.com>
2024-08-01 16:18:19 +03:00

25 lines
536 B
C#

using System.Collections.Generic;
namespace FrostFS.SDK.ModelsV2;
public class Split(SplitId splitId)
{
public Split() : this(new SplitId())
{
}
public SplitId SplitId { get; private set; } = splitId;
public ObjectId? Parent { get; set; }
public ObjectId? Previous { get; set; }
public Signature? ParentSignature { get; set; }
public ObjectHeader? ParentHeader { get; set; }
public List<ObjectId> Children { get; } = [];
public Refs.Signature ParentSignatureGrpc { get; set; }
}