All checks were successful
DCO / DCO (pull_request) Successful in 41s
Signed-off-by: Pavel Gross <p.gross@yando.com>
30 lines
900 B
C#
30 lines
900 B
C#
using System.Collections.Generic;
|
|
using System.Collections.Specialized;
|
|
using FrostFS.SDK.ModelsV2;
|
|
namespace FrostFS.SDK.ClientV2.Parameters;
|
|
|
|
public sealed class PrmObjectSearch(ContainerId containerId, params IObjectFilter[] filters) : IContext, 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;
|
|
|
|
/// <summary>
|
|
/// FrostFS request X-Headers
|
|
/// </summary>
|
|
public NameValueCollection XHeaders { get; set; } = [];
|
|
|
|
/// <inheritdoc />
|
|
public Context? Context { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public SessionToken? SessionToken { get; set; }
|
|
}
|