18 lines
519 B
C#
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; }
|
|
}
|