v1CreatePolicyIntent class

Constructors

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

Properties

effect v1Effect
The instruction to DENY or ALLOW a particular activity following policy selector(s).
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<v1Selector>
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