v1Policy class

Constructors

v1Policy({required String policyId, required String policyName, required v1Effect effect, required externaldatav1Timestamp createdAt, required externaldatav1Timestamp updatedAt, required String notes, required String consensus, required String condition})
const
v1Policy.fromJson(Map<String, dynamic> json)
factory

Properties

condition String
A condition expression that evalutes to true or false.
final
consensus String
A consensus expression that evalutes to true or false.
final
createdAt externaldatav1Timestamp
final
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
Human-readable notes added by a User to describe a particular policy.
final
policyId String
Unique identifier for a given Policy.
final
policyName String
Human-readable name for a Policy.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt externaldatav1Timestamp
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