[#18] Client: Rename parameters
All checks were successful
DCO / DCO (pull_request) Successful in 43s
All checks were successful
DCO / DCO (pull_request) Successful in 43s
Signed-off-by: Pavel Gross <p.gross@yando.com>
This commit is contained in:
parent
816e1eb2f1
commit
3206abc33e
31 changed files with 200 additions and 142 deletions
23
src/FrostFS.SDK.ClientV2/Parameters/PrmContainerDelete.cs
Normal file
23
src/FrostFS.SDK.ClientV2/Parameters/PrmContainerDelete.cs
Normal file
|
@ -0,0 +1,23 @@
|
|||
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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue