PolicyPendingChangesDto

PolicyPendingChangesDto
PolicyPendingChangesDto

What publishing this Policy would change: its enabled rules compiled now, compared with its published snapshot. Every item carries this Policy's id.

JSON Example
{
    "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"
        }
    ]
}
integer As int64 As int64
policyId
Required  

Identifier of the Policy

string
policyName
Required  

Current name of the Policy

boolean
hasUnpublishedChanges
Required  

The Policy's stored flag: a Rule or attachment change not yet published. It can be true while hasNetChanges is false

boolean
isNeverPublished
Required  

publishedVersion is 0 and changes is empty

boolean
hasNetChanges
Required  

True when changes is not empty. For a Policy that was never published, true when it stages at least one rule

integer As int64 As int64
publishedVersion
Required  

The Policy's published version; 0 when never published

integer As int32 As int32
publishedRuleCount
Required  

Number of rules in the Policy's published snapshot; 0 when never published

integer As int32 As int32
stagedRuleCount
Required  

Number of rules publishing the Policy would store now

changes
Required  

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