test_class.declarator: ID = DefaultEntityId.of("thing:eclipse:ditto")
test_class.modifier: private static final
test_class.original_string: private static final EntityId ID = DefaultEntityId.of("thing:eclipse:ditto");
test_class.type: EntityId
test_class.var_name: ID
test_class.declarator: KNOWN_JSON = JsonObject.newBuilder()
              .set(CommandResponse.JsonFields.TYPE, CleanupPersistenceResponse.TYPE)
              .set(CleanupCommandResponse.JsonFields.ENTITY_ID, ID.toString())
              .set(CommandResponse.JsonFields.STATUS, HttpStatusCode.OK.toInt())
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonObject.newBuilder()
              .set(CommandResponse.JsonFields.TYPE, CleanupPersistenceResponse.TYPE)
              .set(CleanupCommandResponse.JsonFields.ENTITY_ID, ID.toString())
              .set(CommandResponse.JsonFields.STATUS, HttpStatusCode.OK.toInt())
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON
test_class.declarator: HEADERS = DittoHeaders.newBuilder().correlationId("123").build()
test_class.modifier: private static final
test_class.original_string: private static final DittoHeaders HEADERS = DittoHeaders.newBuilder().correlationId("123").build();
test_class.type: DittoHeaders
test_class.var_name: HEADERS
test_class.file: signals/commands/cleanup/src/test/java/org/eclipse/ditto/signals/commands/cleanup/CleanupPersistenceResponseTest.java
test_class.identifier: CleanupPersistenceResponseTest
test_case.body: @Test
      public void toJsonReturnsExpected() {
          final JsonObject jsonObject = CleanupPersistenceResponse.success(ID, DittoHeaders.empty()).toJson();
          assertThat(jsonObject).isEqualTo(KNOWN_JSON);
      }
test_case.class_method_signature: CleanupPersistenceResponseTest.toJsonReturnsExpected()
test_case.full_signature: @Test public void toJsonReturnsExpected()
test_case.identifier: toJsonReturnsExpected
test_case.invocations: toJson success empty isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toJsonReturnsExpected()
focal_class.declarator: TYPE = TYPE_PREFIX + CleanupPersistence.NAME
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE = TYPE_PREFIX + CleanupPersistence.NAME;
focal_class.type: String
focal_class.var_name: TYPE
focal_class.declarator: entityId
focal_class.modifier: private final
focal_class.original_string: private final EntityId entityId;
focal_class.type: EntityId
focal_class.var_name: entityId
focal_class.file: signals/commands/cleanup/src/main/java/org/eclipse/ditto/signals/commands/cleanup/CleanupPersistenceResponse.java
focal_class.identifier: CleanupPersistenceResponse
focal_class.interfaces: implements CleanupCommandResponse<CleanupPersistenceResponse>
focal_class.class_method_signature: CleanupPersistenceResponse.CleanupPersistenceResponse(final EntityId entityId, final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: private  CleanupPersistenceResponse(final EntityId entityId, final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders)
focal_class.identifier: CleanupPersistenceResponse
focal_class.modifiers: private
focal_class.parameters: (final EntityId entityId, final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders)
focal_class.signature:  CleanupPersistenceResponse(final EntityId entityId, final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: CleanupPersistenceResponse.success(final EntityId entityId, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static CleanupPersistenceResponse success(final EntityId entityId, final DittoHeaders dittoHeaders)
focal_class.identifier: success
focal_class.modifiers: public static
focal_class.parameters: (final EntityId entityId, final DittoHeaders dittoHeaders)
focal_class.return: CleanupPersistenceResponse
focal_class.signature: CleanupPersistenceResponse success(final EntityId entityId, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: CleanupPersistenceResponse.failure(final EntityId entityId, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static CleanupPersistenceResponse failure(final EntityId entityId, final DittoHeaders dittoHeaders)
focal_class.identifier: failure
focal_class.modifiers: public static
focal_class.parameters: (final EntityId entityId, final DittoHeaders dittoHeaders)
focal_class.return: CleanupPersistenceResponse
focal_class.signature: CleanupPersistenceResponse failure(final EntityId entityId, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: CleanupPersistenceResponse.getEntityId()
focal_class.full_signature: @Override public EntityId getEntityId()
focal_class.identifier: getEntityId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: EntityId
focal_class.signature: EntityId getEntityId()
focal_class.class_method_signature: CleanupPersistenceResponse.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public CleanupPersistenceResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: CleanupPersistenceResponse
focal_class.signature: CleanupPersistenceResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: CleanupPersistenceResponse.appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> predicate)
focal_class.full_signature: @Override protected void appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> predicate)
focal_class.identifier: appendPayload
focal_class.modifiers: @Override protected
focal_class.parameters: (final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> predicate)
focal_class.return: void
focal_class.signature: void appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> predicate)
focal_class.class_method_signature: CleanupPersistenceResponse.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static CleanupPersistenceResponse 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: CleanupPersistenceResponse
focal_class.signature: CleanupPersistenceResponse fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: CleanupPersistenceResponse.equals(final Object o)
focal_class.full_signature: @Override public boolean equals(final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object o)
focal_class.class_method_signature: CleanupPersistenceResponse.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: CleanupPersistenceResponse.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: CleanupPersistenceResponse.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 AbstractCommandResponse<CleanupPersistenceResponse>
focal_method.body: public static CleanupPersistenceResponse success(final EntityId entityId, final DittoHeaders dittoHeaders) {
          return new CleanupPersistenceResponse(entityId, HttpStatusCode.OK, dittoHeaders);
      }
focal_method.class_method_signature: CleanupPersistenceResponse.success(final EntityId entityId, final DittoHeaders dittoHeaders)
focal_method.full_signature: public static CleanupPersistenceResponse success(final EntityId entityId, final DittoHeaders dittoHeaders)
focal_method.identifier: success
focal_method.modifiers: public static
focal_method.parameters: (final EntityId entityId, final DittoHeaders dittoHeaders)
focal_method.return: CleanupPersistenceResponse
focal_method.signature: CleanupPersistenceResponse success(final EntityId entityId, final DittoHeaders dittoHeaders)