test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(Event.JsonFields.TYPE, ThingDefinitionModified.TYPE)
              .set(Event.JsonFields.TIMESTAMP, TestConstants.TIMESTAMP.toString())
              .set(Event.JsonFields.REVISION, TestConstants.Thing.REVISION_NUMBER)
              .set(Event.JsonFields.METADATA, TestConstants.METADATA.toJson())
              .set(ThingEvent.JsonFields.THING_ID, TestConstants.Thing.THING_ID.toString())
              .set(ThingDefinitionModified.JSON_DEFINITION, JsonValue.of(TestConstants.Thing.DEFINITION.toString()))
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(Event.JsonFields.TYPE, ThingDefinitionModified.TYPE)
              .set(Event.JsonFields.TIMESTAMP, TestConstants.TIMESTAMP.toString())
              .set(Event.JsonFields.REVISION, TestConstants.Thing.REVISION_NUMBER)
              .set(Event.JsonFields.METADATA, TestConstants.METADATA.toJson())
              .set(ThingEvent.JsonFields.THING_ID, TestConstants.Thing.THING_ID.toString())
              .set(ThingDefinitionModified.JSON_DEFINITION, JsonValue.of(TestConstants.Thing.DEFINITION.toString()))
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON
test_class.file: signals/events/things/src/test/java/org/eclipse/ditto/signals/events/things/ThingDefinitionModifiedTest.java
test_class.identifier: ThingDefinitionModifiedTest
test_case.body: @Test
      public void toJsonReturnsExpected() {
          final ThingDefinitionModified underTest =
                  ThingDefinitionModified.of(TestConstants.Thing.THING_ID, TestConstants.Thing.DEFINITION,
                          TestConstants.Thing.REVISION_NUMBER, TestConstants.TIMESTAMP,
                          TestConstants.EMPTY_DITTO_HEADERS, TestConstants.METADATA);
          final JsonObject actualJson = underTest.toJson(FieldType.regularOrSpecial());
  
          assertThat(actualJson).isEqualTo(KNOWN_JSON);
      }
test_case.class_method_signature: ThingDefinitionModifiedTest.toJsonReturnsExpected()
test_case.full_signature: @Test public void toJsonReturnsExpected()
test_case.identifier: toJsonReturnsExpected
test_case.invocations: of toJson regularOrSpecial isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toJsonReturnsExpected()
focal_class.declarator: NAME = "definitionModified"
focal_class.modifier: public static final
focal_class.original_string: public static final String NAME = "definitionModified";
focal_class.type: String
focal_class.var_name: NAME
focal_class.declarator: TYPE = TYPE_PREFIX + NAME
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE = TYPE_PREFIX + NAME;
focal_class.type: String
focal_class.var_name: TYPE
focal_class.declarator: JSON_DEFINITION =
              JsonFactory.newJsonValueFieldDefinition("definition", FieldType.REGULAR, JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<JsonValue> JSON_DEFINITION =
              JsonFactory.newJsonValueFieldDefinition("definition", FieldType.REGULAR, JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<JsonValue>
focal_class.var_name: JSON_DEFINITION
focal_class.declarator: definition
focal_class.modifier: private final
focal_class.original_string: private final ThingDefinition definition;
focal_class.type: ThingDefinition
focal_class.var_name: definition
focal_class.file: signals/events/things/src/main/java/org/eclipse/ditto/signals/events/things/ThingDefinitionModified.java
focal_class.identifier: ThingDefinitionModified
focal_class.interfaces: implements ThingModifiedEvent<ThingDefinitionModified>
focal_class.class_method_signature: ThingDefinitionModified.ThingDefinitionModified(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders,
              @Nullable final Metadata metadata)
focal_class.full_signature: private  ThingDefinitionModified(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders,
              @Nullable final Metadata metadata)
focal_class.identifier: ThingDefinitionModified
focal_class.modifiers: private
focal_class.parameters: (final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders,
              @Nullable final Metadata metadata)
focal_class.signature:  ThingDefinitionModified(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders,
              @Nullable final Metadata metadata)
focal_class.class_method_signature: ThingDefinitionModified.of(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static ThingDefinitionModified of(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.return: ThingDefinitionModified
focal_class.signature: ThingDefinitionModified of(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ThingDefinitionModified.of(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static ThingDefinitionModified of(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.return: ThingDefinitionModified
focal_class.signature: ThingDefinitionModified of(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ThingDefinitionModified.of(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders,
              @Nullable final Metadata metadata)
focal_class.full_signature: public static ThingDefinitionModified of(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders,
              @Nullable final Metadata metadata)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders,
              @Nullable final Metadata metadata)
focal_class.return: ThingDefinitionModified
focal_class.signature: ThingDefinitionModified of(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders,
              @Nullable final Metadata metadata)
focal_class.class_method_signature: ThingDefinitionModified.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ThingDefinitionModified 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: ThingDefinitionModified
focal_class.signature: ThingDefinitionModified fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ThingDefinitionModified.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ThingDefinitionModified 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: ThingDefinitionModified
focal_class.signature: ThingDefinitionModified fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ThingDefinitionModified.getThingDefinition()
focal_class.full_signature: public ThingDefinition getThingDefinition()
focal_class.identifier: getThingDefinition
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ThingDefinition
focal_class.signature: ThingDefinition getThingDefinition()
focal_class.class_method_signature: ThingDefinitionModified.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: ThingDefinitionModified.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: ThingDefinitionModified.setRevision(final long revision)
focal_class.full_signature: @Override public ThingDefinitionModified setRevision(final long revision)
focal_class.identifier: setRevision
focal_class.modifiers: @Override public
focal_class.parameters: (final long revision)
focal_class.return: ThingDefinitionModified
focal_class.signature: ThingDefinitionModified setRevision(final long revision)
focal_class.class_method_signature: ThingDefinitionModified.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public ThingDefinitionModified setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: ThingDefinitionModified
focal_class.signature: ThingDefinitionModified setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ThingDefinitionModified.appendPayloadAndBuild(final JsonObjectBuilder jsonObjectBuilder,
              final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.full_signature: @Override protected void appendPayloadAndBuild(final JsonObjectBuilder jsonObjectBuilder,
              final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.identifier: appendPayloadAndBuild
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 appendPayloadAndBuild(final JsonObjectBuilder jsonObjectBuilder,
              final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.class_method_signature: ThingDefinitionModified.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: ThingDefinitionModified.equals(@Nullable final Object o)
focal_class.full_signature: @SuppressWarnings({"squid:MethodCyclomaticComplexity", "squid:S1067", "OverlyComplexMethod"}) @Override public boolean equals(@Nullable final Object o)
focal_class.identifier: equals
focal_class.modifiers: @SuppressWarnings({"squid:MethodCyclomaticComplexity", "squid:S1067", "OverlyComplexMethod"}) @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: ThingDefinitionModified.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: ThingDefinitionModified.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 AbstractThingEvent<ThingDefinitionModified>
focal_method.body: @Deprecated
      public static ThingDefinitionModified of(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              final DittoHeaders dittoHeaders) {
  
          return of(thingId, definition, revision, null, dittoHeaders, null);
      }
focal_method.class_method_signature: ThingDefinitionModified.of(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_method.full_signature: @Deprecated public static ThingDefinitionModified of(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_method.identifier: of
focal_method.invocations: of
focal_method.modifiers: @Deprecated public static
focal_method.parameters: (final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_method.return: ThingDefinitionModified
focal_method.signature: ThingDefinitionModified of(final ThingId thingId,
              final ThingDefinition definition,
              final long revision,
              final DittoHeaders dittoHeaders)