frostfs-sdk-csharp/src/FrostFS.SDK.ClientV2/Parameters/PrmContainerCreate.cs
Pavel Gross 2a28806ace [#21] Client: Allows multinenant client
Using one client for several owners

Signed-off-by: Pavel Gross <p.gross@yando.com>
2024-08-12 10:53:00 +03:00

18 lines
574 B
C#

using FrostFS.SDK.ModelsV2;
namespace FrostFS.SDK.ClientV2.Parameters;
public sealed class PrmContainerCreate(ModelsV2.Container container) : PrmBase, ISessionToken
{
public ModelsV2.Container Container { get; set; } = container;
/// <summary>
/// Since the container becomes available with some delay, it needs to poll the container status
/// </summary>
/// <value>Rules for polling the result</value>
public PrmWait? WaitParams { get; set; }
public string SessionKey { get; set; }
public SessionToken? SessionToken { get; set; }
}