test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(PolicyCommandResponse.JsonFields.TYPE, RetrievePolicyEntriesResponse.TYPE)
              .set(PolicyCommandResponse.JsonFields.STATUS, HttpStatusCode.OK.toInt())
              .set(PolicyCommandResponse.JsonFields.JSON_POLICY_ID, TestConstants.Policy.POLICY_ID.toString())
              .set(RetrievePolicyEntriesResponse.JSON_POLICY_ENTRIES,
                      StreamSupport.stream(TestConstants.Policy.POLICY_ENTRIES.spliterator(), false)
                              .map(entry -> JsonFactory.newObjectBuilder()
                                      .set(entry.getLabel().toString(), entry.toJson())
                                      .build())
                              .collect(JsonCollectors.objectsToObject()))
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(PolicyCommandResponse.JsonFields.TYPE, RetrievePolicyEntriesResponse.TYPE)
              .set(PolicyCommandResponse.JsonFields.STATUS, HttpStatusCode.OK.toInt())
              .set(PolicyCommandResponse.JsonFields.JSON_POLICY_ID, TestConstants.Policy.POLICY_ID.toString())
              .set(RetrievePolicyEntriesResponse.JSON_POLICY_ENTRIES,
                      StreamSupport.stream(TestConstants.Policy.POLICY_ENTRIES.spliterator(), false)
                              .map(entry -> JsonFactory.newObjectBuilder()
                                      .set(entry.getLabel().toString(), entry.toJson())
                                      .build())
                              .collect(JsonCollectors.objectsToObject()))
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON
test_class.declarator: EMPTY_DITTO_HEADERS = DittoHeaders.empty()
test_class.modifier: private static final
test_class.original_string: private static final DittoHeaders EMPTY_DITTO_HEADERS = DittoHeaders.empty();
test_class.type: DittoHeaders
test_class.var_name: EMPTY_DITTO_HEADERS
test_class.file: signals/commands/policies/src/test/java/org/eclipse/ditto/signals/commands/policies/query/RetrievePolicyEntriesResponseTest.java
test_class.identifier: RetrievePolicyEntriesResponseTest
test_case.body: @Test
      public void toJsonReturnsExpected() {
          final RetrievePolicyEntriesResponse underTest =
                  RetrievePolicyEntriesResponse.of(TestConstants.Policy.POLICY_ID, TestConstants.Policy.POLICY_ENTRIES,
                          EMPTY_DITTO_HEADERS);
          final JsonObject actualJson = underTest.toJson(FieldType.regularOrSpecial());
  
          assertThat(actualJson).isEqualTo(KNOWN_JSON);
      }
test_case.class_method_signature: RetrievePolicyEntriesResponseTest.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: TYPE = TYPE_PREFIX + RetrievePolicyEntries.NAME
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE = TYPE_PREFIX + RetrievePolicyEntries.NAME;
focal_class.type: String
focal_class.var_name: TYPE
focal_class.declarator: JSON_POLICY_ENTRIES =
              JsonFactory.newJsonObjectFieldDefinition("policyEntries", FieldType.REGULAR, JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<JsonObject> JSON_POLICY_ENTRIES =
              JsonFactory.newJsonObjectFieldDefinition("policyEntries", FieldType.REGULAR, JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<JsonObject>
focal_class.var_name: JSON_POLICY_ENTRIES
focal_class.declarator: policyId
focal_class.modifier: private final
focal_class.original_string: private final PolicyId policyId;
focal_class.type: PolicyId
focal_class.var_name: policyId
focal_class.declarator: policyEntries
focal_class.modifier: private final
focal_class.original_string: private final JsonObject policyEntries;
focal_class.type: JsonObject
focal_class.var_name: policyEntries
focal_class.file: signals/commands/policies/src/main/java/org/eclipse/ditto/signals/commands/policies/query/RetrievePolicyEntriesResponse.java
focal_class.identifier: RetrievePolicyEntriesResponse
focal_class.interfaces: implements PolicyQueryCommandResponse<RetrievePolicyEntriesResponse>
focal_class.class_method_signature: RetrievePolicyEntriesResponse.RetrievePolicyEntriesResponse(final PolicyId policyId,
              final HttpStatusCode statusCode,
              final JsonObject policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: private  RetrievePolicyEntriesResponse(final PolicyId policyId,
              final HttpStatusCode statusCode,
              final JsonObject policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.identifier: RetrievePolicyEntriesResponse
focal_class.modifiers: private
focal_class.parameters: (final PolicyId policyId,
              final HttpStatusCode statusCode,
              final JsonObject policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.signature:  RetrievePolicyEntriesResponse(final PolicyId policyId,
              final HttpStatusCode statusCode,
              final JsonObject policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrievePolicyEntriesResponse.of(final String policyId, final Iterable<PolicyEntry> policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static RetrievePolicyEntriesResponse of(final String policyId, final Iterable<PolicyEntry> policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String policyId, final Iterable<PolicyEntry> policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrievePolicyEntriesResponse
focal_class.signature: RetrievePolicyEntriesResponse of(final String policyId, final Iterable<PolicyEntry> policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrievePolicyEntriesResponse.of(final PolicyId policyId, final Iterable<PolicyEntry> policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrievePolicyEntriesResponse of(final PolicyId policyId, final Iterable<PolicyEntry> policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId policyId, final Iterable<PolicyEntry> policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrievePolicyEntriesResponse
focal_class.signature: RetrievePolicyEntriesResponse of(final PolicyId policyId, final Iterable<PolicyEntry> policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrievePolicyEntriesResponse.of(final String policyId, final JsonObject policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static RetrievePolicyEntriesResponse of(final String policyId, final JsonObject policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String policyId, final JsonObject policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrievePolicyEntriesResponse
focal_class.signature: RetrievePolicyEntriesResponse of(final String policyId, final JsonObject policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrievePolicyEntriesResponse.of(final PolicyId policyId, final JsonObject policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrievePolicyEntriesResponse of(final PolicyId policyId, final JsonObject policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId policyId, final JsonObject policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrievePolicyEntriesResponse
focal_class.signature: RetrievePolicyEntriesResponse of(final PolicyId policyId, final JsonObject policyEntries,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrievePolicyEntriesResponse.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrievePolicyEntriesResponse 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: RetrievePolicyEntriesResponse
focal_class.signature: RetrievePolicyEntriesResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrievePolicyEntriesResponse.fromJson(final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrievePolicyEntriesResponse 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: RetrievePolicyEntriesResponse
focal_class.signature: RetrievePolicyEntriesResponse fromJson(final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrievePolicyEntriesResponse.getEntityId()
focal_class.full_signature: @Override public PolicyId getEntityId()
focal_class.identifier: getEntityId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: PolicyId
focal_class.signature: PolicyId getEntityId()
focal_class.class_method_signature: RetrievePolicyEntriesResponse.getPolicyEntries()
focal_class.full_signature: public Iterable<PolicyEntry> getPolicyEntries()
focal_class.identifier: getPolicyEntries
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Iterable<PolicyEntry>
focal_class.signature: Iterable<PolicyEntry> getPolicyEntries()
focal_class.class_method_signature: RetrievePolicyEntriesResponse.getEntity(final JsonSchemaVersion schemaVersion)
focal_class.full_signature: @Override public JsonValue getEntity(final JsonSchemaVersion schemaVersion)
focal_class.identifier: getEntity
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonSchemaVersion schemaVersion)
focal_class.return: JsonValue
focal_class.signature: JsonValue getEntity(final JsonSchemaVersion schemaVersion)
focal_class.class_method_signature: RetrievePolicyEntriesResponse.setEntity(final JsonValue entity)
focal_class.full_signature: @Override public RetrievePolicyEntriesResponse setEntity(final JsonValue entity)
focal_class.identifier: setEntity
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonValue entity)
focal_class.return: RetrievePolicyEntriesResponse
focal_class.signature: RetrievePolicyEntriesResponse setEntity(final JsonValue entity)
focal_class.class_method_signature: RetrievePolicyEntriesResponse.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public RetrievePolicyEntriesResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: RetrievePolicyEntriesResponse
focal_class.signature: RetrievePolicyEntriesResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrievePolicyEntriesResponse.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: RetrievePolicyEntriesResponse.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: RetrievePolicyEntriesResponse.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: RetrievePolicyEntriesResponse.equals(@Nullable final Object o)
focal_class.full_signature: @Override public boolean equals(@Nullable final Object o)
focal_class.identifier: equals
focal_class.modifiers: @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: RetrievePolicyEntriesResponse.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: RetrievePolicyEntriesResponse.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<RetrievePolicyEntriesResponse>
focal_method.body: @Deprecated
      public static RetrievePolicyEntriesResponse of(final String policyId, final Iterable<PolicyEntry> policyEntries,
              final DittoHeaders dittoHeaders) {
  
          return of(PolicyId.of(policyId), policyEntries, dittoHeaders);
      }
focal_method.class_method_signature: RetrievePolicyEntriesResponse.of(final String policyId, final Iterable<PolicyEntry> policyEntries,
              final DittoHeaders dittoHeaders)
focal_method.full_signature: @Deprecated public static RetrievePolicyEntriesResponse of(final String policyId, final Iterable<PolicyEntry> policyEntries,
              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 Iterable<PolicyEntry> policyEntries,
              final DittoHeaders dittoHeaders)
focal_method.return: RetrievePolicyEntriesResponse
focal_method.signature: RetrievePolicyEntriesResponse of(final String policyId, final Iterable<PolicyEntry> policyEntries,
              final DittoHeaders dittoHeaders)