ModifyResourcesResponse extends AbstractCommandResponse<ModifyResourcesResponse> implements PolicyModifyCommandResponse<ModifyResourcesResponse> { public static ModifyResourcesResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders) { return fromJson(JsonFactory.newObject(jsonString), dittoHeaders); } private  ModifyResourcesResponse(final PolicyId policyId,
            final Label label,
            final HttpStatusCode statusCode,
            final DittoHeaders dittoHeaders); @Deprecated static ModifyResourcesResponse of(final String policyId, final Label label,
            final DittoHeaders dittoHeaders); static ModifyResourcesResponse of(final PolicyId policyId, final Label label,
            final DittoHeaders dittoHeaders); static ModifyResourcesResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders); static ModifyResourcesResponse fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders); @Override PolicyId getEntityId(); Label getLabel(); @Override JsonPointer getResourcePath(); @Override ModifyResourcesResponse 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 ModifyResourcesResponse underTestUpdated = ModifyResourcesResponse.fromJson(KNOWN_JSON, TestConstants.EMPTY_DITTO_HEADERS); assertThat(underTestUpdated).isNotNull(); }