PolicyPendingChangesDto
What publishing this Policy would change: its enabled rules compiled now, compared with its published snapshot. Every item carries this Policy's id.
{
"policyId": 0,
"policyName": "string",
"hasUnpublishedChanges": false,
"isNeverPublished": false,
"hasNetChanges": false,
"publishedVersion": 0,
"publishedRuleCount": 0,
"stagedRuleCount": 0,
"changes": [
{
"changeType": "string",
"ruleId": 0,
"ruleName": "string",
"ruleType": "string",
"action": "string",
"isBuiltIn": false,
"policyId": 0,
"policyName": "string",
"fromRevision": 0,
"toRevision": 0,
"fromPosition": 0,
"toPosition": 0,
"changedAspects": [
"string"
],
"fromAction": "string",
"toAction": "string"
}
]
}
Identifier of the Policy
Current name of the Policy
The Policy's stored flag: a Rule or attachment change not yet published. It can be true while hasNetChanges is false
publishedVersion is 0 and changes is empty
True when changes is not empty. For a Policy that was never published, true when it stages at least one rule
The Policy's published version; 0 when never published
Number of rules in the Policy's published snapshot; 0 when never published
Number of rules publishing the Policy would store now
Differences between the Policy's published snapshot and the rules it stages now, ordered as in the Group's changes. Empty when the Policy was never published