frostfs-sdk-csharp/src/FrostFS.SDK.Client/ApeRules/FrostFsRule.cs
Pavel Gross 8835b23ed3 [#34] Client: Add rules deserialization
Signed-off-by: Pavel Gross <p.gross@yadro.com>
2025-02-28 10:36:12 +03:00

18 lines
519 B
C#

namespace FrostFS.SDK.Client;
public class FrostFsRule
{
public RuleStatus Status { get; set; }
// Actions the operation is applied to.
public Actions Actions { get; set; }
// List of the resources the operation is applied to.
public Resources Resources { get; set; }
// True iff individual conditions must be combined with the logical OR.
// By default AND is used, so _each_ condition must pass.
public bool Any { get; set; }
public Condition[]? Conditions { get; set; }
}