Avoid memory allocation, use cache and static Signed-off-by: Pavel Gross <p.gross@yando.com>
25 lines
536 B
C#
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; }
|
|
}
|