test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(ThingCommandResponse.JsonFields.TYPE, RetrieveThingResponse.TYPE)
              .set(ThingCommandResponse.JsonFields.STATUS, HttpStatusCode.OK.toInt())
              .set(ThingCommandResponse.JsonFields.JSON_THING_ID, TestConstants.Thing.THING_ID.toString())
              .set(RetrieveThingResponse.JSON_THING_PLAIN_JSON, TestConstants.Thing.THING.toJsonString())
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(ThingCommandResponse.JsonFields.TYPE, RetrieveThingResponse.TYPE)
              .set(ThingCommandResponse.JsonFields.STATUS, HttpStatusCode.OK.toInt())
              .set(ThingCommandResponse.JsonFields.JSON_THING_ID, TestConstants.Thing.THING_ID.toString())
              .set(RetrieveThingResponse.JSON_THING_PLAIN_JSON, TestConstants.Thing.THING.toJsonString())
              .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/RetrieveThingResponseTest.java
test_class.identifier: RetrieveThingResponseTest
test_case.body: @Test
      public void toJsonReturnsExpected() {
          final RetrieveThingResponse underTest =
                  RetrieveThingResponse.of(TestConstants.Thing.THING_ID, TestConstants.Thing.THING,
                          TestConstants.EMPTY_DITTO_HEADERS);
          final JsonObject actualJson = underTest.toJson(FieldType.regularOrSpecial());
  
          assertThat(actualJson).isEqualTo(KNOWN_JSON);
      }
test_case.class_method_signature: RetrieveThingResponseTest.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 + RetrieveThing.NAME
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE = TYPE_PREFIX + RetrieveThing.NAME;
focal_class.type: String
focal_class.var_name: TYPE
focal_class.declarator: JSON_THING =
              JsonFactory.newJsonObjectFieldDefinition("thing", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<JsonObject> JSON_THING =
              JsonFactory.newJsonObjectFieldDefinition("thing", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<JsonObject>
focal_class.var_name: JSON_THING
focal_class.declarator: JSON_THING_PLAIN_JSON =
              JsonFactory.newStringFieldDefinition("thingPlainJson", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<String> JSON_THING_PLAIN_JSON =
              JsonFactory.newStringFieldDefinition("thingPlainJson", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<String>
focal_class.var_name: JSON_THING_PLAIN_JSON
focal_class.declarator: thingId
focal_class.modifier: private final
focal_class.original_string: private final ThingId thingId;
focal_class.type: ThingId
focal_class.var_name: thingId
focal_class.declarator: thingPlainJson
focal_class.modifier: private final
focal_class.original_string: private final String thingPlainJson;
focal_class.type: String
focal_class.var_name: thingPlainJson
focal_class.declarator: thing
focal_class.modifier: @Nullable private
focal_class.original_string: @Nullable private JsonObject thing;
focal_class.type: JsonObject
focal_class.var_name: thing
focal_class.file: signals/commands/things/src/main/java/org/eclipse/ditto/signals/commands/things/query/RetrieveThingResponse.java
focal_class.identifier: RetrieveThingResponse
focal_class.interfaces: implements
          ThingQueryCommandResponse<RetrieveThingResponse>
focal_class.class_method_signature: RetrieveThingResponse.RetrieveThingResponse(final ThingId thingId, final HttpStatusCode statusCode,
              @Nullable final JsonObject thing, final String thingPlainJson, final DittoHeaders dittoHeaders)
focal_class.full_signature: private  RetrieveThingResponse(final ThingId thingId, final HttpStatusCode statusCode,
              @Nullable final JsonObject thing, final String thingPlainJson, final DittoHeaders dittoHeaders)
focal_class.identifier: RetrieveThingResponse
focal_class.modifiers: private
focal_class.parameters: (final ThingId thingId, final HttpStatusCode statusCode,
              @Nullable final JsonObject thing, final String thingPlainJson, final DittoHeaders dittoHeaders)
focal_class.signature:  RetrieveThingResponse(final ThingId thingId, final HttpStatusCode statusCode,
              @Nullable final JsonObject thing, final String thingPlainJson, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingResponse.of(final String thingId, final JsonObject thing,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static RetrieveThingResponse of(final String thingId, final JsonObject thing,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String thingId, final JsonObject thing,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThingResponse
focal_class.signature: RetrieveThingResponse of(final String thingId, final JsonObject thing,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingResponse.of(final ThingId thingId, final JsonObject thing,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThingResponse of(final ThingId thingId, final JsonObject thing,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final ThingId thingId, final JsonObject thing,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThingResponse
focal_class.signature: RetrieveThingResponse of(final ThingId thingId, final JsonObject thing,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingResponse.of(final String thingId, final String thingPlainJson,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static RetrieveThingResponse of(final String thingId, final String thingPlainJson,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String thingId, final String thingPlainJson,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThingResponse
focal_class.signature: RetrieveThingResponse of(final String thingId, final String thingPlainJson,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingResponse.of(final ThingId thingId, final String thingPlainJson,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThingResponse of(final ThingId thingId, final String thingPlainJson,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final ThingId thingId, final String thingPlainJson,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThingResponse
focal_class.signature: RetrieveThingResponse of(final ThingId thingId, final String thingPlainJson,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingResponse.of(final String thingId, final Thing thing,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static RetrieveThingResponse of(final String thingId, final Thing thing,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String thingId, final Thing thing,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThingResponse
focal_class.signature: RetrieveThingResponse of(final String thingId, final Thing thing,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingResponse.of(final ThingId thingId, final Thing thing,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThingResponse of(final ThingId thingId, final Thing thing,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final ThingId thingId, final Thing thing,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThingResponse
focal_class.signature: RetrieveThingResponse of(final ThingId thingId, final Thing thing,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingResponse.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThingResponse 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: RetrieveThingResponse
focal_class.signature: RetrieveThingResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingResponse.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThingResponse 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: RetrieveThingResponse
focal_class.signature: RetrieveThingResponse fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingResponse.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: RetrieveThingResponse.getThing()
focal_class.full_signature: public Thing getThing()
focal_class.identifier: getThing
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Thing
focal_class.signature: Thing getThing()
focal_class.class_method_signature: RetrieveThingResponse.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: RetrieveThingResponse.getEntity(final JsonSchemaVersion schemaVersion)
focal_class.full_signature: @Override public JsonObject getEntity(final JsonSchemaVersion schemaVersion)
focal_class.identifier: getEntity
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonSchemaVersion schemaVersion)
focal_class.return: JsonObject
focal_class.signature: JsonObject getEntity(final JsonSchemaVersion schemaVersion)
focal_class.class_method_signature: RetrieveThingResponse.lazyLoadThingJsonObject()
focal_class.full_signature: private JsonObject lazyLoadThingJsonObject()
focal_class.identifier: lazyLoadThingJsonObject
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: JsonObject
focal_class.signature: JsonObject lazyLoadThingJsonObject()
focal_class.class_method_signature: RetrieveThingResponse.setEntity(final JsonValue entity)
focal_class.full_signature: @Override public RetrieveThingResponse setEntity(final JsonValue entity)
focal_class.identifier: setEntity
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonValue entity)
focal_class.return: RetrieveThingResponse
focal_class.signature: RetrieveThingResponse setEntity(final JsonValue entity)
focal_class.class_method_signature: RetrieveThingResponse.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public RetrieveThingResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThingResponse
focal_class.signature: RetrieveThingResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingResponse.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: RetrieveThingResponse.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: RetrieveThingResponse.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: RetrieveThingResponse.equals(@Nullable final Object o)
focal_class.full_signature: @SuppressWarnings("OverlyComplexMethod") @Override public boolean equals(@Nullable final Object o)
focal_class.identifier: equals
focal_class.modifiers: @SuppressWarnings("OverlyComplexMethod") @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: RetrieveThingResponse.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: RetrieveThingResponse.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<RetrieveThingResponse>
focal_method.body: @Deprecated
      public static RetrieveThingResponse of(final String thingId, final JsonObject thing,
              final DittoHeaders dittoHeaders) {
          return of(ThingId.of(thingId), thing, dittoHeaders);
      }
focal_method.class_method_signature: RetrieveThingResponse.of(final String thingId, final JsonObject thing,
              final DittoHeaders dittoHeaders)
focal_method.full_signature: @Deprecated public static RetrieveThingResponse of(final String thingId, final JsonObject thing,
              final DittoHeaders dittoHeaders)
focal_method.identifier: of
focal_method.invocations: of of
focal_method.modifiers: @Deprecated public static
focal_method.parameters: (final String thingId, final JsonObject thing,
              final DittoHeaders dittoHeaders)
focal_method.return: RetrieveThingResponse
focal_method.signature: RetrieveThingResponse of(final String thingId, final JsonObject thing,
              final DittoHeaders dittoHeaders)