test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(Event.JsonFields.TIMESTAMP, TestConstants.TIMESTAMP.toString())
              .set(Event.JsonFields.TYPE, ResourceDeleted.TYPE)
              .set(Event.JsonFields.REVISION, TestConstants.Policy.REVISION_NUMBER)
              .set(PolicyEvent.JsonFields.POLICY_ID, TestConstants.Policy.POLICY_ID.toString())
              .set(ResourceDeleted.JSON_LABEL, TestConstants.Policy.LABEL.toString())
              .set(ResourceDeleted.JSON_RESOURCE_KEY, TestConstants.Policy.RESOURCE_KEY.toString())
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(Event.JsonFields.TIMESTAMP, TestConstants.TIMESTAMP.toString())
              .set(Event.JsonFields.TYPE, ResourceDeleted.TYPE)
              .set(Event.JsonFields.REVISION, TestConstants.Policy.REVISION_NUMBER)
              .set(PolicyEvent.JsonFields.POLICY_ID, TestConstants.Policy.POLICY_ID.toString())
              .set(ResourceDeleted.JSON_LABEL, TestConstants.Policy.LABEL.toString())
              .set(ResourceDeleted.JSON_RESOURCE_KEY, TestConstants.Policy.RESOURCE_KEY.toString())
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON
test_class.file: signals/events/policies/src/test/java/org/eclipse/ditto/signals/events/policies/ResourceDeletedTest.java
test_class.identifier: ResourceDeletedTest
test_case.body: @Test
      public void toJsonReturnsExpected() {
          final ResourceDeleted underTest = ResourceDeleted.of(TestConstants.Policy.POLICY_ID, TestConstants.Policy.LABEL,
                  TestConstants.Policy.RESOURCE_KEY, TestConstants.Policy.REVISION_NUMBER, TestConstants.TIMESTAMP,
                  TestConstants.EMPTY_DITTO_HEADERS);
          final JsonObject actualJson = underTest.toJson(FieldType.regularOrSpecial());
  
          assertThat(actualJson).isEqualTo(KNOWN_JSON);
      }
test_case.class_method_signature: ResourceDeletedTest.toJsonReturnsExpected()
test_case.full_signature: @Test public void toJsonReturnsExpected()
test_case.identifier: toJsonReturnsExpected
test_case.invocations: of toJson regularOrSpecial isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toJsonReturnsExpected()
focal_class.declarator: NAME = "resourceDeleted"
focal_class.modifier: public static final
focal_class.original_string: public static final String NAME = "resourceDeleted";
focal_class.type: String
focal_class.var_name: NAME
focal_class.declarator: TYPE = TYPE_PREFIX + NAME
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE = TYPE_PREFIX + NAME;
focal_class.type: String
focal_class.var_name: TYPE
focal_class.declarator: JSON_LABEL =
              JsonFactory.newStringFieldDefinition("label", FieldType.REGULAR, JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<String> JSON_LABEL =
              JsonFactory.newStringFieldDefinition("label", FieldType.REGULAR, JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<String>
focal_class.var_name: JSON_LABEL
focal_class.declarator: JSON_RESOURCE_KEY =
              JsonFactory.newStringFieldDefinition("resourceKey", FieldType.REGULAR, JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<String> JSON_RESOURCE_KEY =
              JsonFactory.newStringFieldDefinition("resourceKey", FieldType.REGULAR, JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<String>
focal_class.var_name: JSON_RESOURCE_KEY
focal_class.declarator: label
focal_class.modifier: private final
focal_class.original_string: private final Label label;
focal_class.type: Label
focal_class.var_name: label
focal_class.declarator: resourceKey
focal_class.modifier: private final
focal_class.original_string: private final ResourceKey resourceKey;
focal_class.type: ResourceKey
focal_class.var_name: resourceKey
focal_class.file: signals/events/policies/src/main/java/org/eclipse/ditto/signals/events/policies/ResourceDeleted.java
focal_class.identifier: ResourceDeleted
focal_class.interfaces: implements PolicyEvent<ResourceDeleted>
focal_class.class_method_signature: ResourceDeleted.ResourceDeleted(final PolicyId policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: private  ResourceDeleted(final PolicyId policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.identifier: ResourceDeleted
focal_class.modifiers: private
focal_class.parameters: (final PolicyId policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.signature:  ResourceDeleted(final PolicyId policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ResourceDeleted.of(final String policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static ResourceDeleted of(final String policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.return: ResourceDeleted
focal_class.signature: ResourceDeleted of(final String policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ResourceDeleted.of(final PolicyId policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ResourceDeleted of(final PolicyId policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.return: ResourceDeleted
focal_class.signature: ResourceDeleted of(final PolicyId policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ResourceDeleted.of(final String policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static ResourceDeleted of(final String policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.return: ResourceDeleted
focal_class.signature: ResourceDeleted of(final String policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ResourceDeleted.of(final PolicyId policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ResourceDeleted of(final PolicyId policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.return: ResourceDeleted
focal_class.signature: ResourceDeleted of(final PolicyId policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ResourceDeleted.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ResourceDeleted fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final String jsonString, final DittoHeaders dittoHeaders)
focal_class.return: ResourceDeleted
focal_class.signature: ResourceDeleted fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ResourceDeleted.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ResourceDeleted fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.return: ResourceDeleted
focal_class.signature: ResourceDeleted fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ResourceDeleted.getLabel()
focal_class.full_signature: public Label getLabel()
focal_class.identifier: getLabel
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Label
focal_class.signature: Label getLabel()
focal_class.class_method_signature: ResourceDeleted.getResourceKey()
focal_class.full_signature: public ResourceKey getResourceKey()
focal_class.identifier: getResourceKey
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ResourceKey
focal_class.signature: ResourceKey getResourceKey()
focal_class.class_method_signature: ResourceDeleted.getResourcePath()
focal_class.full_signature: @Override public JsonPointer getResourcePath()
focal_class.identifier: getResourcePath
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: JsonPointer
focal_class.signature: JsonPointer getResourcePath()
focal_class.class_method_signature: ResourceDeleted.setRevision(final long revision)
focal_class.full_signature: @Override public ResourceDeleted setRevision(final long revision)
focal_class.identifier: setRevision
focal_class.modifiers: @Override public
focal_class.parameters: (final long revision)
focal_class.return: ResourceDeleted
focal_class.signature: ResourceDeleted setRevision(final long revision)
focal_class.class_method_signature: ResourceDeleted.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public ResourceDeleted setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: ResourceDeleted
focal_class.signature: ResourceDeleted setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ResourceDeleted.appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.full_signature: @Override protected void appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.identifier: appendPayload
focal_class.modifiers: @Override protected
focal_class.parameters: (final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.return: void
focal_class.signature: void appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.class_method_signature: ResourceDeleted.hashCode()
focal_class.full_signature: @SuppressWarnings("squid:S109") @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @SuppressWarnings("squid:S109") @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: ResourceDeleted.equals(@Nullable final Object o)
focal_class.full_signature: @SuppressWarnings("squid:MethodCyclomaticComplexity") @Override public boolean equals(@Nullable final Object o)
focal_class.identifier: equals
focal_class.modifiers: @SuppressWarnings("squid:MethodCyclomaticComplexity") @Override public
focal_class.parameters: (@Nullable final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable final Object o)
focal_class.class_method_signature: ResourceDeleted.canEqual(@Nullable final Object other)
focal_class.full_signature: @Override protected boolean canEqual(@Nullable final Object other)
focal_class.identifier: canEqual
focal_class.modifiers: @Override protected
focal_class.parameters: (@Nullable final Object other)
focal_class.return: boolean
focal_class.signature: boolean canEqual(@Nullable final Object other)
focal_class.class_method_signature: ResourceDeleted.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.superclass: extends AbstractPolicyEvent<ResourceDeleted>
focal_method.body: @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);
      }
focal_method.class_method_signature: ResourceDeleted.of(final String policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_method.full_signature: @Deprecated public static ResourceDeleted of(final String policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_method.identifier: of
focal_method.invocations: of of
focal_method.modifiers: @Deprecated public static
focal_method.parameters: (final String policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_method.return: ResourceDeleted
focal_method.signature: ResourceDeleted of(final String policyId,
              final Label label,
              final ResourceKey resourceKey,
              final long revision,
              final DittoHeaders dittoHeaders)