PublishedPolicyDto

PublishedPolicyDto
PublishedPolicyDto

Result of publishing a Policy. Bound Groups are only marked as needing a publish; none is published.

JSON Example
{
    "policyId": 0,
    "policyVersion": 0,
    "ruleCount": 0,
    "publishedAt": "string",
    "publishedBy": 0,
    "boundGroupCount": 0,
    "changed": false
}
integer As int64 As int64
policyId
Required  

Identifier of the Policy that was published

integer As int64 As int64
policyVersion
Required  

The Policy's published version after the call; it is unchanged when changed is false

integer As int32 As int32
ruleCount
Required  

Number of rules compiled for the Policy by this call

string As date-time As date-time
publishedAt
Required  

When the Policy's current published version was stored, as an ISO 8601 date-time with offset; a publish that changed nothing leaves it as it was

integer As int64 As int64
publishedBy
Optional

Identifier of the user who stored the Policy's current published version. Null when no user is recorded

integer As int32 As int32
boundGroupCount
Required  

Groups the Policy is attached to, now marked as needing their own publish

boolean
changed
Required  

False when nothing differed from the published snapshot: only hasUnpublishedChanges was cleared