DeleteThingResponse extends AbstractCommandResponse<DeleteThingResponse> implements
        ThingModifyCommandResponse<DeleteThingResponse> { public static DeleteThingResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders) { return fromJson(JsonFactory.newObject(jsonString), dittoHeaders); } private  DeleteThingResponse(final ThingId thingId, final DittoHeaders dittoHeaders); @Deprecated static DeleteThingResponse of(final String thingId, final DittoHeaders dittoHeaders); static DeleteThingResponse of(final ThingId thingId, final DittoHeaders dittoHeaders); static DeleteThingResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders); static DeleteThingResponse fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders); @Override ThingId getThingEntityId(); @Override JsonPointer getResourcePath(); @Override DeleteThingResponse setDittoHeaders(final DittoHeaders dittoHeaders); @Override boolean equals(@Nullable final Object o); @Override int hashCode(); @Override String toString(); static final String TYPE; }
@Test public void createInstanceFromValidJson() { final DeleteThingResponse underTest = DeleteThingResponse.fromJson(KNOWN_JSON, DittoHeaders.empty()); assertThat(underTest).isNotNull(); }