test_class.declarator: KNOWN_JSON = JsonObject.newBuilder()
              .set(CommandResponse.JsonFields.TYPE, RetrieveConnectionResponse.TYPE)
              .set(CommandResponse.JsonFields.STATUS, HttpStatusCode.OK.toInt())
              .set(RetrieveConnectionResponse.JSON_CONNECTION, TestConstants.CONNECTION.toJson())
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonObject.newBuilder()
              .set(CommandResponse.JsonFields.TYPE, RetrieveConnectionResponse.TYPE)
              .set(CommandResponse.JsonFields.STATUS, HttpStatusCode.OK.toInt())
              .set(RetrieveConnectionResponse.JSON_CONNECTION, TestConstants.CONNECTION.toJson())
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON
test_class.file: signals/commands/connectivity/src/test/java/org/eclipse/ditto/signals/commands/connectivity/query/RetrieveConnectionResponseTest.java
test_class.identifier: RetrieveConnectionResponseTest
test_case.body: @Test
      public void retrieveInstanceWithNullConnection() {
          assertThatExceptionOfType(NullPointerException.class)
                  .isThrownBy(() -> RetrieveConnectionResponse.of(null, DittoHeaders.empty()))
                  .withMessage("The %s must not be null!", "Connection")
                  .withNoCause();
      }
test_case.class_method_signature: RetrieveConnectionResponseTest.retrieveInstanceWithNullConnection()
test_case.full_signature: @Test public void retrieveInstanceWithNullConnection()
test_case.identifier: retrieveInstanceWithNullConnection
test_case.invocations: withNoCause withMessage isThrownBy assertThatExceptionOfType of empty
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void retrieveInstanceWithNullConnection()
focal_class.declarator: TYPE = TYPE_PREFIX + RetrieveConnection.NAME
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE = TYPE_PREFIX + RetrieveConnection.NAME;
focal_class.type: String
focal_class.var_name: TYPE
focal_class.declarator: JSON_CONNECTION =
              JsonFactory.newJsonObjectFieldDefinition("connection", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<JsonObject> JSON_CONNECTION =
              JsonFactory.newJsonObjectFieldDefinition("connection", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<JsonObject>
focal_class.var_name: JSON_CONNECTION
focal_class.declarator: jsonObject
focal_class.modifier: private final
focal_class.original_string: private final JsonObject jsonObject;
focal_class.type: JsonObject
focal_class.var_name: jsonObject
focal_class.file: signals/commands/connectivity/src/main/java/org/eclipse/ditto/signals/commands/connectivity/query/RetrieveConnectionResponse.java
focal_class.identifier: RetrieveConnectionResponse
focal_class.interfaces: implements ConnectivityQueryCommandResponse<RetrieveConnectionResponse>
focal_class.class_method_signature: RetrieveConnectionResponse.RetrieveConnectionResponse(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: private  RetrieveConnectionResponse(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.identifier: RetrieveConnectionResponse
focal_class.modifiers: private
focal_class.parameters: (final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.signature:  RetrieveConnectionResponse(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveConnectionResponse.of(final JsonObject connection, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveConnectionResponse of(final JsonObject connection, final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject connection, final DittoHeaders dittoHeaders)
focal_class.return: RetrieveConnectionResponse
focal_class.signature: RetrieveConnectionResponse of(final JsonObject connection, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveConnectionResponse.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveConnectionResponse 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: RetrieveConnectionResponse
focal_class.signature: RetrieveConnectionResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveConnectionResponse.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveConnectionResponse 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: RetrieveConnectionResponse
focal_class.signature: RetrieveConnectionResponse fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveConnectionResponse.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: RetrieveConnectionResponse.getJsonObject()
focal_class.full_signature: public JsonObject getJsonObject()
focal_class.identifier: getJsonObject
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: JsonObject
focal_class.signature: JsonObject getJsonObject()
focal_class.class_method_signature: RetrieveConnectionResponse.getConnectionEntityId()
focal_class.full_signature: @Override public ConnectionId getConnectionEntityId()
focal_class.identifier: getConnectionEntityId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ConnectionId
focal_class.signature: ConnectionId getConnectionEntityId()
focal_class.class_method_signature: RetrieveConnectionResponse.setEntity(final JsonValue entity)
focal_class.full_signature: @Override public RetrieveConnectionResponse setEntity(final JsonValue entity)
focal_class.identifier: setEntity
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonValue entity)
focal_class.return: RetrieveConnectionResponse
focal_class.signature: RetrieveConnectionResponse setEntity(final JsonValue entity)
focal_class.class_method_signature: RetrieveConnectionResponse.getEntity(final JsonSchemaVersion schemaVersion)
focal_class.full_signature: @Override public JsonValue getEntity(final JsonSchemaVersion schemaVersion)
focal_class.identifier: getEntity
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonSchemaVersion schemaVersion)
focal_class.return: JsonValue
focal_class.signature: JsonValue getEntity(final JsonSchemaVersion schemaVersion)
focal_class.class_method_signature: RetrieveConnectionResponse.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public RetrieveConnectionResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: RetrieveConnectionResponse
focal_class.signature: RetrieveConnectionResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveConnectionResponse.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: RetrieveConnectionResponse.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: RetrieveConnectionResponse.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: RetrieveConnectionResponse.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<RetrieveConnectionResponse>
focal_method.body: public static RetrieveConnectionResponse of(final JsonObject connection, final DittoHeaders dittoHeaders) {
          checkNotNull(connection, "Connection");
          return new RetrieveConnectionResponse(connection, dittoHeaders);
      }
focal_method.class_method_signature: RetrieveConnectionResponse.of(final JsonObject connection, final DittoHeaders dittoHeaders)
focal_method.full_signature: public static RetrieveConnectionResponse of(final JsonObject connection, final DittoHeaders dittoHeaders)
focal_method.identifier: of
focal_method.invocations: checkNotNull
focal_method.modifiers: public static
focal_method.parameters: (final JsonObject connection, final DittoHeaders dittoHeaders)
focal_method.return: RetrieveConnectionResponse
focal_method.signature: RetrieveConnectionResponse of(final JsonObject connection, final DittoHeaders dittoHeaders)