test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(ThingCommandResponse.JsonFields.TYPE, RetrieveThingDefinitionResponse.TYPE)
              .set(ThingCommandResponse.JsonFields.STATUS, HttpStatusCode.OK.toInt())
              .set(ThingCommandResponse.JsonFields.JSON_THING_ID, TestConstants.Thing.THING_ID.toString())
              .set(RetrieveThingDefinitionResponse.JSON_DEFINITION, JsonValue.of(TestConstants.Thing.DEFINITION.toString()))
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(ThingCommandResponse.JsonFields.TYPE, RetrieveThingDefinitionResponse.TYPE)
              .set(ThingCommandResponse.JsonFields.STATUS, HttpStatusCode.OK.toInt())
              .set(ThingCommandResponse.JsonFields.JSON_THING_ID, TestConstants.Thing.THING_ID.toString())
              .set(RetrieveThingDefinitionResponse.JSON_DEFINITION, JsonValue.of(TestConstants.Thing.DEFINITION.toString()))
              .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/RetrieveThingDefinitionResponseTest.java
test_class.identifier: RetrieveThingDefinitionResponseTest
test_case.body: @Test
      public void toJsonReturnsExpected() {
          final RetrieveThingDefinitionResponse underTest =
                  RetrieveThingDefinitionResponse.of(TestConstants.Thing.THING_ID, TestConstants.Thing.DEFINITION,
                          TestConstants.EMPTY_DITTO_HEADERS);
          final JsonObject actualJson = underTest.toJson(FieldType.regularOrSpecial());
  
          assertThat(actualJson).isEqualTo(KNOWN_JSON);
      }
test_case.class_method_signature: RetrieveThingDefinitionResponseTest.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 + RetrieveThingDefinition.NAME
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE = TYPE_PREFIX + RetrieveThingDefinition.NAME;
focal_class.type: String
focal_class.var_name: TYPE
focal_class.declarator: JSON_DEFINITION =
              JsonFactory.newJsonValueFieldDefinition("definition", FieldType.REGULAR, JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<JsonValue> JSON_DEFINITION =
              JsonFactory.newJsonValueFieldDefinition("definition", FieldType.REGULAR, JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<JsonValue>
focal_class.var_name: JSON_DEFINITION
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: definition
focal_class.modifier: private final
focal_class.original_string: private final ThingDefinition definition;
focal_class.type: ThingDefinition
focal_class.var_name: definition
focal_class.file: signals/commands/things/src/main/java/org/eclipse/ditto/signals/commands/things/query/RetrieveThingDefinitionResponse.java
focal_class.identifier: RetrieveThingDefinitionResponse
focal_class.interfaces: implements
          ThingQueryCommandResponse<RetrieveThingDefinitionResponse>
focal_class.class_method_signature: RetrieveThingDefinitionResponse.RetrieveThingDefinitionResponse(final ThingId thingId, final HttpStatusCode statusCode,
              final ThingDefinition definition, final DittoHeaders dittoHeaders)
focal_class.full_signature: private  RetrieveThingDefinitionResponse(final ThingId thingId, final HttpStatusCode statusCode,
              final ThingDefinition definition, final DittoHeaders dittoHeaders)
focal_class.identifier: RetrieveThingDefinitionResponse
focal_class.modifiers: private
focal_class.parameters: (final ThingId thingId, final HttpStatusCode statusCode,
              final ThingDefinition definition, final DittoHeaders dittoHeaders)
focal_class.signature:  RetrieveThingDefinitionResponse(final ThingId thingId, final HttpStatusCode statusCode,
              final ThingDefinition definition, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingDefinitionResponse.of(final ThingId thingId, final ThingDefinition definition,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThingDefinitionResponse of(final ThingId thingId, final ThingDefinition definition,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final ThingId thingId, final ThingDefinition definition,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThingDefinitionResponse
focal_class.signature: RetrieveThingDefinitionResponse of(final ThingId thingId, final ThingDefinition definition,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingDefinitionResponse.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThingDefinitionResponse 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: RetrieveThingDefinitionResponse
focal_class.signature: RetrieveThingDefinitionResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingDefinitionResponse.fromJson(final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThingDefinitionResponse 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: RetrieveThingDefinitionResponse
focal_class.signature: RetrieveThingDefinitionResponse fromJson(final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingDefinitionResponse.getSupportedSchemaVersions()
focal_class.full_signature: @Override public JsonSchemaVersion[] getSupportedSchemaVersions()
focal_class.identifier: getSupportedSchemaVersions
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: JsonSchemaVersion[]
focal_class.signature: JsonSchemaVersion[] getSupportedSchemaVersions()
focal_class.class_method_signature: RetrieveThingDefinitionResponse.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: RetrieveThingDefinitionResponse.getThingDefinition()
focal_class.full_signature: public ThingDefinition getThingDefinition()
focal_class.identifier: getThingDefinition
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ThingDefinition
focal_class.signature: ThingDefinition getThingDefinition()
focal_class.class_method_signature: RetrieveThingDefinitionResponse.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: RetrieveThingDefinitionResponse.setEntity(final JsonValue entity)
focal_class.full_signature: @Override public RetrieveThingDefinitionResponse setEntity(final JsonValue entity)
focal_class.identifier: setEntity
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonValue entity)
focal_class.return: RetrieveThingDefinitionResponse
focal_class.signature: RetrieveThingDefinitionResponse setEntity(final JsonValue entity)
focal_class.class_method_signature: RetrieveThingDefinitionResponse.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public RetrieveThingDefinitionResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThingDefinitionResponse
focal_class.signature: RetrieveThingDefinitionResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThingDefinitionResponse.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: RetrieveThingDefinitionResponse.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: RetrieveThingDefinitionResponse.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: RetrieveThingDefinitionResponse.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: RetrieveThingDefinitionResponse.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: RetrieveThingDefinitionResponse.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<RetrieveThingDefinitionResponse>
focal_method.body: public static RetrieveThingDefinitionResponse of(final ThingId thingId, final ThingDefinition definition,
              final DittoHeaders dittoHeaders) {
          return new RetrieveThingDefinitionResponse(thingId, HttpStatusCode.OK, definition, dittoHeaders);
      }
focal_method.class_method_signature: RetrieveThingDefinitionResponse.of(final ThingId thingId, final ThingDefinition definition,
              final DittoHeaders dittoHeaders)
focal_method.full_signature: public static RetrieveThingDefinitionResponse of(final ThingId thingId, final ThingDefinition definition,
              final DittoHeaders dittoHeaders)
focal_method.identifier: of
focal_method.modifiers: public static
focal_method.parameters: (final ThingId thingId, final ThingDefinition definition,
              final DittoHeaders dittoHeaders)
focal_method.return: RetrieveThingDefinitionResponse
focal_method.signature: RetrieveThingDefinitionResponse of(final ThingId thingId, final ThingDefinition definition,
              final DittoHeaders dittoHeaders)