DeleteAttributesResponse extends AbstractCommandResponse<DeleteAttributesResponse> implements
        ThingModifyCommandResponse<DeleteAttributesResponse> { public static DeleteAttributesResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders) { return fromJson(JsonFactory.newObject(jsonString), dittoHeaders); } private  DeleteAttributesResponse(final ThingId thingId, final DittoHeaders dittoHeaders); @Deprecated static DeleteAttributesResponse of(final String thingId, final DittoHeaders dittoHeaders); static DeleteAttributesResponse of(final ThingId thingId, final DittoHeaders dittoHeaders); static DeleteAttributesResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders); static DeleteAttributesResponse fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders); @Override ThingId getThingEntityId(); @Override JsonPointer getResourcePath(); @Override DeleteAttributesResponse 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 DeleteAttributesResponse underTest = DeleteAttributesResponse.fromJson(KNOWN_JSON, TestConstants.EMPTY_DITTO_HEADERS); assertThat(underTest).isNotNull(); }