class PolicyEntryCreated extends AbstractPolicyEvent<PolicyEntryCreated> implements PolicyEvent<PolicyEntryCreated> {

    @Deprecated
    public static PolicyEntryCreated of(final String policyId,
            final PolicyEntry policyEntry,
            final long revision,
            final DittoHeaders dittoHeaders) {

        return of(PolicyId.of(policyId), policyEntry, revision, dittoHeaders);
    }

    private  PolicyEntryCreated(final PolicyId policyId,
            final PolicyEntry policyEntry,
            final long revision,
            @Nullable final Instant timestamp,
            final DittoHeaders dittoHeaders);

}