using System.Collections.Generic; using FrostFS.SDK.ModelsV2.Enums; namespace FrostFS.SDK.ModelsV2; public class ObjectHeader( ContainerId containerId, ObjectType type = ObjectType.Regular, params ObjectAttribute[] attributes ) { public OwnerId? OwnerId { get; set; } public List Attributes { get; set; } = [.. attributes]; public ContainerId ContainerId { get; set; } = containerId; public ulong PayloadLength { get; set; } public byte[]? PayloadCheckSum { get; set; } public ObjectType ObjectType { get; set; } = type; public Version? Version { get; set; } public Split? Split { get; set; } }