frostfs-sdk-csharp/src/FrostFS.SDK.ClientV2/Parameters/PrmObjectSearch.cs
Pavel Gross 1a02ac2ae7
All checks were successful
DCO / DCO (pull_request) Successful in 26s
[#22] Client: Container session
Signed-off-by: Pavel Gross <p.gross@yando.com>
2024-08-19 14:18:11 +03:00

21 lines
663 B
C#

using FrostFS.SDK.ModelsV2;
using System.Collections.Generic;
namespace FrostFS.SDK.ClientV2.Parameters;
public sealed class PrmObjectSearch(ContainerId containerId, params IObjectFilter[] filters) : PrmBase, ISessionToken
{
/// <summary>
/// Defines container for the search
/// </summary>
/// <value></value>
public ContainerId ContainerId { get; set; } = containerId;
/// <summary>
/// Defines the search criteria
/// </summary>
/// <value>Collection of filters</value>
public IEnumerable<IObjectFilter> Filters { get; set; } = filters;
/// <inheritdoc />
public SessionToken? SessionToken { get; set; }
}