test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(ThingCommandResponse.JsonFields.TYPE, RetrieveThingsResponse.TYPE)
              .set(ThingCommandResponse.JsonFields.STATUS, HttpStatusCode.OK.toInt())
              .set(RetrieveThingsResponse.JSON_THINGS_PLAIN_JSON, "[" + TestConstants.Thing.THING.toJsonString() + "]")
              .set(RetrieveThingsResponse.JSON_NAMESPACE, "example.com")
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(ThingCommandResponse.JsonFields.TYPE, RetrieveThingsResponse.TYPE)
              .set(ThingCommandResponse.JsonFields.STATUS, HttpStatusCode.OK.toInt())
              .set(RetrieveThingsResponse.JSON_THINGS_PLAIN_JSON, "[" + TestConstants.Thing.THING.toJsonString() + "]")
              .set(RetrieveThingsResponse.JSON_NAMESPACE, "example.com")
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON
test_class.file: signals/commands/things/src/test/java/org/eclipse/ditto/signals/commands/things/query/RetrieveThingsResponseTest.java
test_class.identifier: RetrieveThingsResponseTest
test_case.body: @Test
      public void toJsonReturnsExpected() {
          final RetrieveThingsResponse underTest = RetrieveThingsResponse
                  .of(Collections.singletonList(TestConstants.Thing.THING), FieldType.notHidden(), "example.com",
                          TestConstants.EMPTY_DITTO_HEADERS);
          final JsonObject actualJson = underTest.toJson();
  
          assertThat(actualJson).isEqualTo(KNOWN_JSON);
      }
test_case.class_method_signature: RetrieveThingsResponseTest.toJsonReturnsExpected()
test_case.full_signature: @Test public void toJsonReturnsExpected()
test_case.identifier: toJsonReturnsExpected
test_case.invocations: of singletonList notHidden toJson 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 + RetrieveThings.NAME
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE = TYPE_PREFIX + RetrieveThings.NAME;
focal_class.type: String
focal_class.var_name: TYPE
focal_class.declarator: JSON_THINGS =
              JsonFactory.newJsonArrayFieldDefinition("things", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<JsonArray> JSON_THINGS =
              JsonFactory.newJsonArrayFieldDefinition("things", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<JsonArray>
focal_class.var_name: JSON_THINGS
focal_class.declarator: JSON_THINGS_PLAIN_JSON =
              JsonFactory.newStringFieldDefinition("thingsPlainJson", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<String> JSON_THINGS_PLAIN_JSON =
              JsonFactory.newStringFieldDefinition("thingsPlainJson", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<String>
focal_class.var_name: JSON_THINGS_PLAIN_JSON
focal_class.declarator: JSON_NAMESPACE =
              JsonFactory.newStringFieldDefinition("namespace", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<String> JSON_NAMESPACE =
              JsonFactory.newStringFieldDefinition("namespace", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<String>
focal_class.var_name: JSON_NAMESPACE
focal_class.declarator: PROPERTY_NAME_THINGS = "Things"
focal_class.modifier: private static final
focal_class.original_string: private static final String PROPERTY_NAME_THINGS = "Things";
focal_class.type: String
focal_class.var_name: PROPERTY_NAME_THINGS
focal_class.declarator: thingsPlainJson
focal_class.modifier: private final
focal_class.original_string: private final String thingsPlainJson;
focal_class.type: String
focal_class.var_name: thingsPlainJson
focal_class.declarator: namespace
focal_class.modifier: @Nullable private final
focal_class.original_string: @Nullable private final String namespace;
focal_class.type: String
focal_class.var_name: namespace
focal_class.declarator: things
focal_class.modifier: @Nullable private
focal_class.original_string: @Nullable private JsonArray things;
focal_class.type: JsonArray
focal_class.var_name: things
focal_class.file: signals/commands/things/src/main/java/org/eclipse/ditto/signals/commands/things/query/RetrieveThingsResponse.java
focal_class.identifier: RetrieveThingsResponse
focal_class.interfaces: implements
          ThingQueryCommandResponse<RetrieveThingsResponse>, WithNamespace
focal_class.class_method_signature: RetrieveThingsResponse.RetrieveThingsResponse(final HttpStatusCode statusCode, @Nullable final JsonArray things,
              final String thingsPlainJson, @Nullable final String namespace, final DittoHeaders dittoHeaders)
focal_class.full_signature: private  RetrieveThingsResponse(final HttpStatusCode statusCode, @Nullable final JsonArray things,
              final String thingsPlainJson, @Nullable final String namespace, final DittoHeaders dittoHeaders)
focal_class.identifier: RetrieveThingsResponse
focal_class.modifiers: private
focal_class.parameters: (final HttpStatusCode statusCode, @Nullable final JsonArray things,
              final String thingsPlainJson, @Nullable final String namespace, final DittoHeaders dittoHeaders)
focal_class.signature:  RetrieveThingsResponse(final HttpStatusCode statusCode, @Nullable final JsonArray things,
              final String thingsPlainJson, @Nullable final String namespace, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingsResponse.of(final List<String> thingsPlainJson, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThingsResponse of(final List<String> thingsPlainJson, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final List<String> thingsPlainJson, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThingsResponse
focal_class.signature: RetrieveThingsResponse of(final List<String> thingsPlainJson, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingsResponse.of(final String thingsPlainJson, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThingsResponse of(final String thingsPlainJson, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final String thingsPlainJson, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThingsResponse
focal_class.signature: RetrieveThingsResponse of(final String thingsPlainJson, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingsResponse.of(final JsonArray things, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThingsResponse of(final JsonArray things, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final JsonArray things, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThingsResponse
focal_class.signature: RetrieveThingsResponse of(final JsonArray things, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingsResponse.of(final List<Thing> things, final Predicate<JsonField> predicate,
              @Nullable final String namespace, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThingsResponse of(final List<Thing> things, final Predicate<JsonField> predicate,
              @Nullable final String namespace, final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final List<Thing> things, final Predicate<JsonField> predicate,
              @Nullable final String namespace, final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThingsResponse
focal_class.signature: RetrieveThingsResponse of(final List<Thing> things, final Predicate<JsonField> predicate,
              @Nullable final String namespace, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingsResponse.of(final List<Thing> things, @Nullable final JsonFieldSelector fieldSelector,
              @Nullable final Predicate<JsonField> predicate, @Nullable final String namespace, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThingsResponse of(final List<Thing> things, @Nullable final JsonFieldSelector fieldSelector,
              @Nullable final Predicate<JsonField> predicate, @Nullable final String namespace, final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final List<Thing> things, @Nullable final JsonFieldSelector fieldSelector,
              @Nullable final Predicate<JsonField> predicate, @Nullable final String namespace, final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThingsResponse
focal_class.signature: RetrieveThingsResponse of(final List<Thing> things, @Nullable final JsonFieldSelector fieldSelector,
              @Nullable final Predicate<JsonField> predicate, @Nullable final String namespace, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingsResponse.getJsonFields(@Nullable final JsonFieldSelector fieldSelector,
              @Nullable final Predicate<JsonField> predicate, final DittoHeaders dittoHeaders,
              final Thing thing)
focal_class.full_signature: private static JsonObject getJsonFields(@Nullable final JsonFieldSelector fieldSelector,
              @Nullable final Predicate<JsonField> predicate, final DittoHeaders dittoHeaders,
              final Thing thing)
focal_class.identifier: getJsonFields
focal_class.modifiers: private static
focal_class.parameters: (@Nullable final JsonFieldSelector fieldSelector,
              @Nullable final Predicate<JsonField> predicate, final DittoHeaders dittoHeaders,
              final Thing thing)
focal_class.return: JsonObject
focal_class.signature: JsonObject getJsonFields(@Nullable final JsonFieldSelector fieldSelector,
              @Nullable final Predicate<JsonField> predicate, final DittoHeaders dittoHeaders,
              final Thing thing)
focal_class.class_method_signature: RetrieveThingsResponse.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThingsResponse 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: RetrieveThingsResponse
focal_class.signature: RetrieveThingsResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingsResponse.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThingsResponse 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: RetrieveThingsResponse
focal_class.signature: RetrieveThingsResponse fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingsResponse.getThingEntityId()
focal_class.full_signature: @Override public ThingId getThingEntityId()
focal_class.identifier: getThingEntityId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ThingId
focal_class.signature: ThingId getThingEntityId()
focal_class.class_method_signature: RetrieveThingsResponse.getNamespace()
focal_class.full_signature: @Override public Optional<String> getNamespace()
focal_class.identifier: getNamespace
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Optional<String>
focal_class.signature: Optional<String> getNamespace()
focal_class.class_method_signature: RetrieveThingsResponse.getThings()
focal_class.full_signature: public List<Thing> getThings()
focal_class.identifier: getThings
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Thing>
focal_class.signature: List<Thing> getThings()
focal_class.class_method_signature: RetrieveThingsResponse.getThingStream(JsonArray thingsArray)
focal_class.full_signature: private Stream<Thing> getThingStream(JsonArray thingsArray)
focal_class.identifier: getThingStream
focal_class.modifiers: private
focal_class.parameters: (JsonArray thingsArray)
focal_class.return: Stream<Thing>
focal_class.signature: Stream<Thing> getThingStream(JsonArray thingsArray)
focal_class.class_method_signature: RetrieveThingsResponse.lazyLoadThingsJsonArray()
focal_class.full_signature: private JsonArray lazyLoadThingsJsonArray()
focal_class.identifier: lazyLoadThingsJsonArray
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: JsonArray
focal_class.signature: JsonArray lazyLoadThingsJsonArray()
focal_class.class_method_signature: RetrieveThingsResponse.getEntityPlainString()
focal_class.full_signature: @Override public Optional<String> getEntityPlainString()
focal_class.identifier: getEntityPlainString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Optional<String>
focal_class.signature: Optional<String> getEntityPlainString()
focal_class.class_method_signature: RetrieveThingsResponse.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: RetrieveThingsResponse.setEntity(final JsonValue entity)
focal_class.full_signature: @Override public RetrieveThingsResponse setEntity(final JsonValue entity)
focal_class.identifier: setEntity
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonValue entity)
focal_class.return: RetrieveThingsResponse
focal_class.signature: RetrieveThingsResponse setEntity(final JsonValue entity)
focal_class.class_method_signature: RetrieveThingsResponse.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public RetrieveThingsResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThingsResponse
focal_class.signature: RetrieveThingsResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingsResponse.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: RetrieveThingsResponse.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: RetrieveThingsResponse.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: RetrieveThingsResponse.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: RetrieveThingsResponse.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: RetrieveThingsResponse.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<RetrieveThingsResponse>
focal_method.body: public static RetrieveThingsResponse of(final List<String> thingsPlainJson, @Nullable final String namespace,
              final DittoHeaders dittoHeaders) {
          return new RetrieveThingsResponse(HttpStatusCode.OK, null, thingsPlainJson.stream()
                  .collect(Collectors.joining(",", "[", "]")), namespace, dittoHeaders);
      }
focal_method.class_method_signature: RetrieveThingsResponse.of(final List<String> thingsPlainJson, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)
focal_method.full_signature: public static RetrieveThingsResponse of(final List<String> thingsPlainJson, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)
focal_method.identifier: of
focal_method.invocations: collect stream joining
focal_method.modifiers: public static
focal_method.parameters: (final List<String> thingsPlainJson, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)
focal_method.return: RetrieveThingsResponse
focal_method.signature: RetrieveThingsResponse of(final List<String> thingsPlainJson, @Nullable final String namespace,
              final DittoHeaders dittoHeaders)