test_class.declarator: KNOWN_JSON_CREATED = JsonFactory.newObjectBuilder()
              .set(PolicyCommandResponse.JsonFields.TYPE, ModifyPolicyResponse.TYPE)
              .set(PolicyCommandResponse.JsonFields.STATUS, HttpStatusCode.CREATED.toInt())
              .set(PolicyCommandResponse.JsonFields.JSON_POLICY_ID, TestConstants.Policy.POLICY_ID.toString())
              .set(ModifyPolicyResponse.JSON_POLICY,
                      TestConstants.Policy.POLICY.toJson(FieldType.regularOrSpecial()))
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON_CREATED = JsonFactory.newObjectBuilder()
              .set(PolicyCommandResponse.JsonFields.TYPE, ModifyPolicyResponse.TYPE)
              .set(PolicyCommandResponse.JsonFields.STATUS, HttpStatusCode.CREATED.toInt())
              .set(PolicyCommandResponse.JsonFields.JSON_POLICY_ID, TestConstants.Policy.POLICY_ID.toString())
              .set(ModifyPolicyResponse.JSON_POLICY,
                      TestConstants.Policy.POLICY.toJson(FieldType.regularOrSpecial()))
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON_CREATED
test_class.declarator: KNOWN_JSON_UPDATED = JsonFactory.newObjectBuilder()
              .set(PolicyCommandResponse.JsonFields.TYPE, ModifyPolicyResponse.TYPE)
              .set(PolicyCommandResponse.JsonFields.STATUS, HttpStatusCode.NO_CONTENT.toInt())
              .set(PolicyCommandResponse.JsonFields.JSON_POLICY_ID, TestConstants.Policy.POLICY_ID.toString())
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON_UPDATED = JsonFactory.newObjectBuilder()
              .set(PolicyCommandResponse.JsonFields.TYPE, ModifyPolicyResponse.TYPE)
              .set(PolicyCommandResponse.JsonFields.STATUS, HttpStatusCode.NO_CONTENT.toInt())
              .set(PolicyCommandResponse.JsonFields.JSON_POLICY_ID, TestConstants.Policy.POLICY_ID.toString())
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON_UPDATED
test_class.file: signals/commands/policies/src/test/java/org/eclipse/ditto/signals/commands/policies/modify/ModifyPolicyResponseTest.java
test_class.identifier: ModifyPolicyResponseTest
test_case.body: @Test
      public void parseModifyPolicyCommandResponse() {
          final ModifyPolicyResponse commandResponse =
                  ModifyPolicyResponse.created(TestConstants.Policy.POLICY_ID, TestConstants.Policy.POLICY,
                          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: ModifyPolicyResponseTest.parseModifyPolicyCommandResponse()
test_case.full_signature: @Test public void parseModifyPolicyCommandResponse()
test_case.identifier: parseModifyPolicyCommandResponse
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 parseModifyPolicyCommandResponse()
focal_class.declarator: TYPE = TYPE_PREFIX + ModifyPolicy.NAME
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE = TYPE_PREFIX + ModifyPolicy.NAME;
focal_class.type: String
focal_class.var_name: TYPE
focal_class.declarator: JSON_POLICY =
              JsonFactory.newJsonValueFieldDefinition("policy", FieldType.REGULAR, JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<JsonValue> JSON_POLICY =
              JsonFactory.newJsonValueFieldDefinition("policy", FieldType.REGULAR, JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<JsonValue>
focal_class.var_name: JSON_POLICY
focal_class.declarator: policyId
focal_class.modifier: private final
focal_class.original_string: private final PolicyId policyId;
focal_class.type: PolicyId
focal_class.var_name: policyId
focal_class.declarator: policyCreated
focal_class.modifier: @Nullable private final
focal_class.original_string: @Nullable private final Policy policyCreated;
focal_class.type: Policy
focal_class.var_name: policyCreated
focal_class.file: signals/commands/policies/src/main/java/org/eclipse/ditto/signals/commands/policies/modify/ModifyPolicyResponse.java
focal_class.identifier: ModifyPolicyResponse
focal_class.interfaces: implements PolicyModifyCommandResponse<ModifyPolicyResponse>
focal_class.class_method_signature: ModifyPolicyResponse.ModifyPolicyResponse(final PolicyId policyId,
              final HttpStatusCode statusCode,
              @Nullable final Policy policyCreated,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: private  ModifyPolicyResponse(final PolicyId policyId,
              final HttpStatusCode statusCode,
              @Nullable final Policy policyCreated,
              final DittoHeaders dittoHeaders)
focal_class.identifier: ModifyPolicyResponse
focal_class.modifiers: private
focal_class.parameters: (final PolicyId policyId,
              final HttpStatusCode statusCode,
              @Nullable final Policy policyCreated,
              final DittoHeaders dittoHeaders)
focal_class.signature:  ModifyPolicyResponse(final PolicyId policyId,
              final HttpStatusCode statusCode,
              @Nullable final Policy policyCreated,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ModifyPolicyResponse.created(final String policyId, final Policy policy,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static ModifyPolicyResponse created(final String policyId, final Policy policy,
              final DittoHeaders dittoHeaders)
focal_class.identifier: created
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String policyId, final Policy policy,
              final DittoHeaders dittoHeaders)
focal_class.return: ModifyPolicyResponse
focal_class.signature: ModifyPolicyResponse created(final String policyId, final Policy policy,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ModifyPolicyResponse.created(final PolicyId policyId, final Policy policy,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ModifyPolicyResponse created(final PolicyId policyId, final Policy policy,
              final DittoHeaders dittoHeaders)
focal_class.identifier: created
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId policyId, final Policy policy,
              final DittoHeaders dittoHeaders)
focal_class.return: ModifyPolicyResponse
focal_class.signature: ModifyPolicyResponse created(final PolicyId policyId, final Policy policy,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ModifyPolicyResponse.modified(final String policyId, final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static ModifyPolicyResponse modified(final String policyId, final DittoHeaders dittoHeaders)
focal_class.identifier: modified
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String policyId, final DittoHeaders dittoHeaders)
focal_class.return: ModifyPolicyResponse
focal_class.signature: ModifyPolicyResponse modified(final String policyId, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ModifyPolicyResponse.modified(final PolicyId policyId, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ModifyPolicyResponse modified(final PolicyId policyId, final DittoHeaders dittoHeaders)
focal_class.identifier: modified
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId policyId, final DittoHeaders dittoHeaders)
focal_class.return: ModifyPolicyResponse
focal_class.signature: ModifyPolicyResponse modified(final PolicyId policyId, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ModifyPolicyResponse.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ModifyPolicyResponse 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: ModifyPolicyResponse
focal_class.signature: ModifyPolicyResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ModifyPolicyResponse.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ModifyPolicyResponse 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: ModifyPolicyResponse
focal_class.signature: ModifyPolicyResponse fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ModifyPolicyResponse.getEntityId()
focal_class.full_signature: @Override public PolicyId getEntityId()
focal_class.identifier: getEntityId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: PolicyId
focal_class.signature: PolicyId getEntityId()
focal_class.class_method_signature: ModifyPolicyResponse.getPolicyCreated()
focal_class.full_signature: public Optional<Policy> getPolicyCreated()
focal_class.identifier: getPolicyCreated
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<Policy>
focal_class.signature: Optional<Policy> getPolicyCreated()
focal_class.class_method_signature: ModifyPolicyResponse.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: ModifyPolicyResponse.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: ModifyPolicyResponse.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: ModifyPolicyResponse.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public ModifyPolicyResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: ModifyPolicyResponse
focal_class.signature: ModifyPolicyResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ModifyPolicyResponse.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: ModifyPolicyResponse.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: ModifyPolicyResponse.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: ModifyPolicyResponse.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<ModifyPolicyResponse>
focal_method.body: @Deprecated
      public static ModifyPolicyResponse created(final String policyId, final Policy policy,
              final DittoHeaders dittoHeaders) {
  
          return created(PolicyId.of(policyId), policy, dittoHeaders);
      }
focal_method.class_method_signature: ModifyPolicyResponse.created(final String policyId, final Policy policy,
              final DittoHeaders dittoHeaders)
focal_method.full_signature: @Deprecated public static ModifyPolicyResponse created(final String policyId, final Policy policy,
              final DittoHeaders dittoHeaders)
focal_method.identifier: created
focal_method.invocations: created of
focal_method.modifiers: @Deprecated public static
focal_method.parameters: (final String policyId, final Policy policy,
              final DittoHeaders dittoHeaders)
focal_method.return: ModifyPolicyResponse
focal_method.signature: ModifyPolicyResponse created(final String policyId, final Policy policy,
              final DittoHeaders dittoHeaders)