test_class.declarator: KNOWN_JSON_CREATED = JsonFactory.newObjectBuilder()
              .set(ThingCommandResponse.JsonFields.TYPE, ModifyThingResponse.TYPE)
              .set(ThingCommandResponse.JsonFields.STATUS, HttpStatusCode.CREATED.toInt())
              .set(ThingCommandResponse.JsonFields.JSON_THING_ID, TestConstants.Thing.THING_ID.toString())
              .set(ModifyThingResponse.JSON_THING,
                      TestConstants.Thing.THING.toJson(FieldType.regularOrSpecial()))
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON_CREATED = JsonFactory.newObjectBuilder()
              .set(ThingCommandResponse.JsonFields.TYPE, ModifyThingResponse.TYPE)
              .set(ThingCommandResponse.JsonFields.STATUS, HttpStatusCode.CREATED.toInt())
              .set(ThingCommandResponse.JsonFields.JSON_THING_ID, TestConstants.Thing.THING_ID.toString())
              .set(ModifyThingResponse.JSON_THING,
                      TestConstants.Thing.THING.toJson(FieldType.regularOrSpecial()))
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON_CREATED
test_class.declarator: KNOWN_JSON_UPDATED = JsonFactory.newObjectBuilder()
              .set(ThingCommandResponse.JsonFields.TYPE, ModifyThingResponse.TYPE)
              .set(ThingCommandResponse.JsonFields.STATUS, HttpStatusCode.NO_CONTENT.toInt())
              .set(ThingCommandResponse.JsonFields.JSON_THING_ID, TestConstants.Thing.THING_ID.toString())
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON_UPDATED = JsonFactory.newObjectBuilder()
              .set(ThingCommandResponse.JsonFields.TYPE, ModifyThingResponse.TYPE)
              .set(ThingCommandResponse.JsonFields.STATUS, HttpStatusCode.NO_CONTENT.toInt())
              .set(ThingCommandResponse.JsonFields.JSON_THING_ID, TestConstants.Thing.THING_ID.toString())
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON_UPDATED
test_class.file: signals/commands/things/src/test/java/org/eclipse/ditto/signals/commands/things/modify/ModifyThingResponseTest.java
test_class.identifier: ModifyThingResponseTest
test_case.body: @Test
      public void parseModifyThingCommandResponse() {
          final ModifyThingResponse commandResponse =
                  ModifyThingResponse.created(TestConstants.Thing.THING, TestConstants.DITTO_HEADERS);
          final JsonObject jsonObject = commandResponse.toJson(FieldType.regularOrSpecial());
  
          final CommandResponse parsedCommandResponse =
                  GlobalCommandResponseRegistry.getInstance().parse(jsonObject, TestConstants.DITTO_HEADERS);
  
          assertThat(parsedCommandResponse).isEqualTo(commandResponse);
      }
test_case.class_method_signature: ModifyThingResponseTest.parseModifyThingCommandResponse()
test_case.full_signature: @Test public void parseModifyThingCommandResponse()
test_case.identifier: parseModifyThingCommandResponse
test_case.invocations: created toJson regularOrSpecial parse getInstance isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void parseModifyThingCommandResponse()
focal_class.declarator: TYPE = TYPE_PREFIX + ModifyThing.NAME
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE = TYPE_PREFIX + ModifyThing.NAME;
focal_class.type: String
focal_class.var_name: TYPE
focal_class.declarator: JSON_THING =
              JsonFactory.newJsonValueFieldDefinition("thing", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<JsonValue> JSON_THING =
              JsonFactory.newJsonValueFieldDefinition("thing", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<JsonValue>
focal_class.var_name: JSON_THING
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: thingCreated
focal_class.modifier: @Nullable private final
focal_class.original_string: @Nullable private final Thing thingCreated;
focal_class.type: Thing
focal_class.var_name: thingCreated
focal_class.file: signals/commands/things/src/main/java/org/eclipse/ditto/signals/commands/things/modify/ModifyThingResponse.java
focal_class.identifier: ModifyThingResponse
focal_class.interfaces: implements ThingModifyCommandResponse<ModifyThingResponse>
focal_class.class_method_signature: ModifyThingResponse.ModifyThingResponse(final ThingId thingId,
              final HttpStatusCode statusCode,
              @Nullable final Thing thingCreated,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: private  ModifyThingResponse(final ThingId thingId,
              final HttpStatusCode statusCode,
              @Nullable final Thing thingCreated,
              final DittoHeaders dittoHeaders)
focal_class.identifier: ModifyThingResponse
focal_class.modifiers: private
focal_class.parameters: (final ThingId thingId,
              final HttpStatusCode statusCode,
              @Nullable final Thing thingCreated,
              final DittoHeaders dittoHeaders)
focal_class.signature:  ModifyThingResponse(final ThingId thingId,
              final HttpStatusCode statusCode,
              @Nullable final Thing thingCreated,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ModifyThingResponse.created(final Thing thing, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ModifyThingResponse created(final Thing thing, final DittoHeaders dittoHeaders)
focal_class.identifier: created
focal_class.modifiers: public static
focal_class.parameters: (final Thing thing, final DittoHeaders dittoHeaders)
focal_class.return: ModifyThingResponse
focal_class.signature: ModifyThingResponse created(final Thing thing, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ModifyThingResponse.modified(final String thingId, final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static ModifyThingResponse modified(final String thingId, final DittoHeaders dittoHeaders)
focal_class.identifier: modified
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String thingId, final DittoHeaders dittoHeaders)
focal_class.return: ModifyThingResponse
focal_class.signature: ModifyThingResponse modified(final String thingId, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ModifyThingResponse.modified(final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ModifyThingResponse modified(final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.identifier: modified
focal_class.modifiers: public static
focal_class.parameters: (final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.return: ModifyThingResponse
focal_class.signature: ModifyThingResponse modified(final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ModifyThingResponse.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ModifyThingResponse 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: ModifyThingResponse
focal_class.signature: ModifyThingResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ModifyThingResponse.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ModifyThingResponse 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: ModifyThingResponse
focal_class.signature: ModifyThingResponse fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ModifyThingResponse.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: ModifyThingResponse.getThingCreated()
focal_class.full_signature: public Optional<Thing> getThingCreated()
focal_class.identifier: getThingCreated
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<Thing>
focal_class.signature: Optional<Thing> getThingCreated()
focal_class.class_method_signature: ModifyThingResponse.getEntity(final JsonSchemaVersion schemaVersion)
focal_class.full_signature: @Override public Optional<JsonValue> getEntity(final JsonSchemaVersion schemaVersion)
focal_class.identifier: getEntity
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonSchemaVersion schemaVersion)
focal_class.return: Optional<JsonValue>
focal_class.signature: Optional<JsonValue> getEntity(final JsonSchemaVersion schemaVersion)
focal_class.class_method_signature: ModifyThingResponse.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: ModifyThingResponse.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: ModifyThingResponse.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public ModifyThingResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: ModifyThingResponse
focal_class.signature: ModifyThingResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ModifyThingResponse.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: ModifyThingResponse.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: ModifyThingResponse.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: ModifyThingResponse.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<ModifyThingResponse>
focal_method.body: public static ModifyThingResponse created(final Thing thing, final DittoHeaders dittoHeaders) {
          final ThingId thingId = thing.getEntityId().orElseThrow(() -> new NullPointerException("Thing has no ID!"));
          return new ModifyThingResponse(thingId, HttpStatusCode.CREATED, thing, dittoHeaders);
      }
focal_method.class_method_signature: ModifyThingResponse.created(final Thing thing, final DittoHeaders dittoHeaders)
focal_method.full_signature: public static ModifyThingResponse created(final Thing thing, final DittoHeaders dittoHeaders)
focal_method.identifier: created
focal_method.invocations: orElseThrow getEntityId
focal_method.modifiers: public static
focal_method.parameters: (final Thing thing, final DittoHeaders dittoHeaders)
focal_method.return: ModifyThingResponse
focal_method.signature: ModifyThingResponse created(final Thing thing, final DittoHeaders dittoHeaders)