OperatingPolicy class final

One immutable version of a reusable operating policy.

Constructors

OperatingPolicy({required String id, required int version, required int activeVersion, required String name, String? description, required Capabilities capabilities, required String childrenPolicyId, required int childrenPolicyVersion, required DateTime createdAt, required DateTime updatedAt, required DateTime versionCreatedAt})
const
OperatingPolicy.fromJson(Map<String, Object?> json)
factory

Properties

activeVersion → int
final
capabilities → Capabilities
final
childrenPolicyId → String
final
childrenPolicyVersion → int
final
createdAt → DateTime
final
description → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updatedAt → DateTime
final
version → int
final
versionCreatedAt → DateTime
final

Methods

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

Operators

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