test_class.declarator: ENTITY_TYPE = EntityType.of("policy")
test_class.modifier: private static final
test_class.original_string: private static final EntityType ENTITY_TYPE = EntityType.of("policy");
test_class.type: EntityType
test_class.var_name: ENTITY_TYPE
test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(CommonCommandResponse.JsonFields.TYPE, PurgeEntitiesResponse.TYPE)
              .set(CommonCommandResponse.JsonFields.STATUS, HttpStatusCode.OK.toInt())
              .set(PurgeEntitiesResponse.JsonFields.ENTITY_TYPE, ENTITY_TYPE.toString())
              .set(PurgeEntitiesResponse.JsonFields.SUCCESSFUL, true)
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(CommonCommandResponse.JsonFields.TYPE, PurgeEntitiesResponse.TYPE)
              .set(CommonCommandResponse.JsonFields.STATUS, HttpStatusCode.OK.toInt())
              .set(PurgeEntitiesResponse.JsonFields.ENTITY_TYPE, ENTITY_TYPE.toString())
              .set(PurgeEntitiesResponse.JsonFields.SUCCESSFUL, true)
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON
test_class.declarator: HEADERS = DittoHeaders.newBuilder()
              .correlationId(String.valueOf(UUID.randomUUID()))
              .build()
test_class.modifier: private static final
test_class.original_string: private static final DittoHeaders HEADERS = DittoHeaders.newBuilder()
              .correlationId(String.valueOf(UUID.randomUUID()))
              .build();
test_class.type: DittoHeaders
test_class.var_name: HEADERS
test_class.file: signals/commands/common/src/test/java/org/eclipse/ditto/signals/commands/common/purge/PurgeEntitiesResponseTest.java
test_class.identifier: PurgeEntitiesResponseTest
test_case.body: @Test
      public void failedResponseToJson() {
          final JsonObject expectedJson = KNOWN_JSON.toBuilder()
                  .set(PurgeEntitiesResponse.JsonFields.SUCCESSFUL, false)
                  .build();
  
          final PurgeEntitiesResponse underTest = PurgeEntitiesResponse.failed(ENTITY_TYPE, HEADERS);
  
          DittoJsonAssertions.assertThat(underTest.toJson()).isEqualTo(expectedJson);
      }
test_case.class_method_signature: PurgeEntitiesResponseTest.failedResponseToJson()
test_case.full_signature: @Test public void failedResponseToJson()
test_case.identifier: failedResponseToJson
test_case.invocations: build set toBuilder failed isEqualTo assertThat toJson
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void failedResponseToJson()
focal_class.declarator: TYPE = TYPE_PREFIX + PurgeEntities.NAME
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE = TYPE_PREFIX + PurgeEntities.NAME;
focal_class.type: String
focal_class.var_name: TYPE
focal_class.declarator: entityType
focal_class.modifier: private final
focal_class.original_string: private final EntityType entityType;
focal_class.type: EntityType
focal_class.var_name: entityType
focal_class.declarator: successful
focal_class.modifier: private final
focal_class.original_string: private final boolean successful;
focal_class.type: boolean
focal_class.var_name: successful
focal_class.file: signals/commands/common/src/main/java/org/eclipse/ditto/signals/commands/common/purge/PurgeEntitiesResponse.java
focal_class.identifier: PurgeEntitiesResponse
focal_class.class_method_signature: PurgeEntitiesResponse.PurgeEntitiesResponse(final EntityType entityType, final boolean successful,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: private  PurgeEntitiesResponse(final EntityType entityType, final boolean successful,
              final DittoHeaders dittoHeaders)
focal_class.identifier: PurgeEntitiesResponse
focal_class.modifiers: private
focal_class.parameters: (final EntityType entityType, final boolean successful,
              final DittoHeaders dittoHeaders)
focal_class.signature:  PurgeEntitiesResponse(final EntityType entityType, final boolean successful,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: PurgeEntitiesResponse.successful(final EntityType entityType, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static PurgeEntitiesResponse successful(final EntityType entityType, final DittoHeaders dittoHeaders)
focal_class.identifier: successful
focal_class.modifiers: public static
focal_class.parameters: (final EntityType entityType, final DittoHeaders dittoHeaders)
focal_class.return: PurgeEntitiesResponse
focal_class.signature: PurgeEntitiesResponse successful(final EntityType entityType, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: PurgeEntitiesResponse.failed(final EntityType entityType, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static PurgeEntitiesResponse failed(final EntityType entityType, final DittoHeaders dittoHeaders)
focal_class.identifier: failed
focal_class.modifiers: public static
focal_class.parameters: (final EntityType entityType, final DittoHeaders dittoHeaders)
focal_class.return: PurgeEntitiesResponse
focal_class.signature: PurgeEntitiesResponse failed(final EntityType entityType, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: PurgeEntitiesResponse.fromJson(final JsonObject jsonObject, final DittoHeaders headers)
focal_class.full_signature: public static PurgeEntitiesResponse fromJson(final JsonObject jsonObject, final DittoHeaders headers)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject, final DittoHeaders headers)
focal_class.return: PurgeEntitiesResponse
focal_class.signature: PurgeEntitiesResponse fromJson(final JsonObject jsonObject, final DittoHeaders headers)
focal_class.class_method_signature: PurgeEntitiesResponse.getEntityType()
focal_class.full_signature: public EntityType getEntityType()
focal_class.identifier: getEntityType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: EntityType
focal_class.signature: EntityType getEntityType()
focal_class.class_method_signature: PurgeEntitiesResponse.isSuccessful()
focal_class.full_signature: public boolean isSuccessful()
focal_class.identifier: isSuccessful
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSuccessful()
focal_class.class_method_signature: PurgeEntitiesResponse.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public PurgeEntitiesResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: PurgeEntitiesResponse
focal_class.signature: PurgeEntitiesResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: PurgeEntitiesResponse.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: PurgeEntitiesResponse.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: PurgeEntitiesResponse.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: PurgeEntitiesResponse.appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> aPredicate)
focal_class.full_signature: @Override protected void appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> aPredicate)
focal_class.identifier: appendPayload
focal_class.modifiers: @Override protected
focal_class.parameters: (final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> aPredicate)
focal_class.return: void
focal_class.signature: void appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> aPredicate)
focal_class.class_method_signature: PurgeEntitiesResponse.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 CommonCommandResponse<PurgeEntitiesResponse>
focal_method.body: public static PurgeEntitiesResponse failed(final EntityType entityType, final DittoHeaders dittoHeaders) {
          return new PurgeEntitiesResponse(entityType, false, dittoHeaders);
      }
focal_method.class_method_signature: PurgeEntitiesResponse.failed(final EntityType entityType, final DittoHeaders dittoHeaders)
focal_method.full_signature: public static PurgeEntitiesResponse failed(final EntityType entityType, final DittoHeaders dittoHeaders)
focal_method.identifier: failed
focal_method.modifiers: public static
focal_method.parameters: (final EntityType entityType, final DittoHeaders dittoHeaders)
focal_method.return: PurgeEntitiesResponse
focal_method.signature: PurgeEntitiesResponse failed(final EntityType entityType, final DittoHeaders dittoHeaders)