v1CreatePolicyIntentV2 class

Constructors

v1CreatePolicyIntentV2({required String policyName, required List<v1SelectorV2> selectors, required v1Effect effect, String? notes})
const
v1CreatePolicyIntentV2.fromJson(Map<String, dynamic> json)
factory

Properties

effect → v1Effect
Whether to ALLOW or DENY requests that match the condition and consensus requirements.
final
hashCode → int
The hash code for this object.
no setterinherited
notes → String?
final
policyName → String
Human-readable name for a Policy.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectors → List<v1SelectorV2>
A list of simple functions each including a subject, target and boolean. See Policy Engine Language section for additional details.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited