frostfs-sdk-csharp/src/FrostFS.SDK.ClientV2/Parameters/PrmContainerDelete.cs
Pavel Gross 3206abc33e [#18] Client: Rename parameters
Signed-off-by: Pavel Gross <p.gross@yando.com>
2024-07-25 12:28:38 +03:00

23 lines
715 B
C#

using System.Collections.Specialized;
using FrostFS.SDK.ModelsV2;
namespace FrostFS.SDK.ClientV2.Parameters;
public sealed class PrmContainerDelete(ContainerId containerId, Context? ctx = null) : IContext
{
public ContainerId ContainerId { get; set; } = containerId;
/// <summary>
/// Since the container is removed with some delay, it needs to poll the container status
/// </summary>
/// <value>Rules for polling the result</value>
public PrmWait? WaitParams { get; set; }
/// <summary>
/// FrostFS request X-Headers
/// </summary>
public NameValueCollection XHeaders { get; set; } = [];
/// <inheritdoc />
public Context? Context { get; set; } = ctx;
}