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

    @Deprecated
    public static ResourceDeleted of(final String policyId,
            final Label label,
            final ResourceKey resourceKey,
            final long revision,
            final DittoHeaders dittoHeaders) {

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

    private  ResourceDeleted(final PolicyId policyId,
            final Label label,
            final ResourceKey resourceKey,
            final long revision,
            @Nullable final Instant timestamp,
            final DittoHeaders dittoHeaders);

}