test_class.declarator: EMPTY_HEADERS = DittoHeaders.empty()
test_class.modifier: private static final
test_class.original_string: private static final DittoHeaders EMPTY_HEADERS = DittoHeaders.empty();
test_class.type: DittoHeaders
test_class.var_name: EMPTY_HEADERS
test_class.declarator: ENABLED_SINCE = Instant.now().minus(15, ChronoUnit.MINUTES)
test_class.modifier: private static final
test_class.original_string: private static final Instant ENABLED_SINCE = Instant.now().minus(15, ChronoUnit.MINUTES);
test_class.type: Instant
test_class.var_name: ENABLED_SINCE
test_class.declarator: ENABLED_UNTIL = Instant.now().plus(1, ChronoUnit.DAYS)
test_class.modifier: private static final
test_class.original_string: private static final Instant ENABLED_UNTIL = Instant.now().plus(1, ChronoUnit.DAYS);
test_class.type: Instant
test_class.var_name: ENABLED_UNTIL
test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(ConnectivityCommandResponse.JsonFields.STATUS, 200)
              .set(ConnectivityCommandResponse.JsonFields.TYPE, RetrieveConnectionLogsResponse.TYPE)
              .set(ConnectivityCommandResponse.JsonFields.JSON_CONNECTION_ID, TestConstants.ID.toString())
              .set(RetrieveConnectionLogsResponse.JsonFields.ENABLED_SINCE, ENABLED_SINCE.toString())
              .set(RetrieveConnectionLogsResponse.JsonFields.ENABLED_UNTIL, ENABLED_UNTIL.toString())
              .set(RetrieveConnectionLogsResponse.JsonFields.CONNECTION_LOGS, TestConstants.Logs.Json.ENTRIES_JSON)
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(ConnectivityCommandResponse.JsonFields.STATUS, 200)
              .set(ConnectivityCommandResponse.JsonFields.TYPE, RetrieveConnectionLogsResponse.TYPE)
              .set(ConnectivityCommandResponse.JsonFields.JSON_CONNECTION_ID, TestConstants.ID.toString())
              .set(RetrieveConnectionLogsResponse.JsonFields.ENABLED_SINCE, ENABLED_SINCE.toString())
              .set(RetrieveConnectionLogsResponse.JsonFields.ENABLED_UNTIL, ENABLED_UNTIL.toString())
              .set(RetrieveConnectionLogsResponse.JsonFields.CONNECTION_LOGS, TestConstants.Logs.Json.ENTRIES_JSON)
              .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/RetrieveConnectionLogsResponseTest.java
test_class.identifier: RetrieveConnectionLogsResponseTest
test_case.body: @Test
      public void toJsonReturnsExpected() {
          final JsonObject actual =
                  RetrieveConnectionLogsResponse.of(ID,
                          TestConstants.Logs.ENTRIES,
                          ENABLED_SINCE,
                          ENABLED_UNTIL,
                          EMPTY_HEADERS).toJson();
  
          assertThat(actual).isEqualTo(KNOWN_JSON);
      }
test_case.class_method_signature: RetrieveConnectionLogsResponseTest.toJsonReturnsExpected()
test_case.full_signature: @Test public void toJsonReturnsExpected()
test_case.identifier: toJsonReturnsExpected
test_case.invocations: toJson of isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toJsonReturnsExpected()
focal_class.declarator: TYPE = ConnectivityCommandResponse.TYPE_PREFIX + RetrieveConnectionLogs.NAME
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE = ConnectivityCommandResponse.TYPE_PREFIX + RetrieveConnectionLogs.NAME;
focal_class.type: String
focal_class.var_name: TYPE
focal_class.declarator: connectionId
focal_class.modifier: private final
focal_class.original_string: private final ConnectionId connectionId;
focal_class.type: ConnectionId
focal_class.var_name: connectionId
focal_class.declarator: connectionLogs
focal_class.modifier: private final
focal_class.original_string: private final Collection<LogEntry> connectionLogs;
focal_class.type: Collection<LogEntry>
focal_class.var_name: connectionLogs
focal_class.declarator: enabledSince
focal_class.modifier: @Nullable private final
focal_class.original_string: @Nullable private final Instant enabledSince;
focal_class.type: Instant
focal_class.var_name: enabledSince
focal_class.declarator: enabledUntil
focal_class.modifier: @Nullable private final
focal_class.original_string: @Nullable private final Instant enabledUntil;
focal_class.type: Instant
focal_class.var_name: enabledUntil
focal_class.file: signals/commands/connectivity/src/main/java/org/eclipse/ditto/signals/commands/connectivity/query/RetrieveConnectionLogsResponse.java
focal_class.identifier: RetrieveConnectionLogsResponse
focal_class.interfaces: implements ConnectivityQueryCommandResponse<RetrieveConnectionLogsResponse>
focal_class.class_method_signature: RetrieveConnectionLogsResponse.RetrieveConnectionLogsResponse(final ConnectionId connectionId, final Collection<LogEntry> connectionLogs,
              @Nullable final Instant enabledSince, @Nullable final Instant enabledUntil,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: private  RetrieveConnectionLogsResponse(final ConnectionId connectionId, final Collection<LogEntry> connectionLogs,
              @Nullable final Instant enabledSince, @Nullable final Instant enabledUntil,
              final DittoHeaders dittoHeaders)
focal_class.identifier: RetrieveConnectionLogsResponse
focal_class.modifiers: private
focal_class.parameters: (final ConnectionId connectionId, final Collection<LogEntry> connectionLogs,
              @Nullable final Instant enabledSince, @Nullable final Instant enabledUntil,
              final DittoHeaders dittoHeaders)
focal_class.signature:  RetrieveConnectionLogsResponse(final ConnectionId connectionId, final Collection<LogEntry> connectionLogs,
              @Nullable final Instant enabledSince, @Nullable final Instant enabledUntil,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveConnectionLogsResponse.of(final ConnectionId connectionId,
              final Collection<LogEntry> connectionLogs, @Nullable final Instant enabledSince,
              @Nullable final Instant enabledUntil, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveConnectionLogsResponse of(final ConnectionId connectionId,
              final Collection<LogEntry> connectionLogs, @Nullable final Instant enabledSince,
              @Nullable final Instant enabledUntil, final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final ConnectionId connectionId,
              final Collection<LogEntry> connectionLogs, @Nullable final Instant enabledSince,
              @Nullable final Instant enabledUntil, final DittoHeaders dittoHeaders)
focal_class.return: RetrieveConnectionLogsResponse
focal_class.signature: RetrieveConnectionLogsResponse of(final ConnectionId connectionId,
              final Collection<LogEntry> connectionLogs, @Nullable final Instant enabledSince,
              @Nullable final Instant enabledUntil, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveConnectionLogsResponse.mergeRetrieveConnectionLogsResponse(
              final RetrieveConnectionLogsResponse first,
              final RetrieveConnectionLogsResponse second)
focal_class.full_signature: public static RetrieveConnectionLogsResponse mergeRetrieveConnectionLogsResponse(
              final RetrieveConnectionLogsResponse first,
              final RetrieveConnectionLogsResponse second)
focal_class.identifier: mergeRetrieveConnectionLogsResponse
focal_class.modifiers: public static
focal_class.parameters: (
              final RetrieveConnectionLogsResponse first,
              final RetrieveConnectionLogsResponse second)
focal_class.return: RetrieveConnectionLogsResponse
focal_class.signature: RetrieveConnectionLogsResponse mergeRetrieveConnectionLogsResponse(
              final RetrieveConnectionLogsResponse first,
              final RetrieveConnectionLogsResponse second)
focal_class.class_method_signature: RetrieveConnectionLogsResponse.fromJson(final String jsonString,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveConnectionLogsResponse 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: RetrieveConnectionLogsResponse
focal_class.signature: RetrieveConnectionLogsResponse fromJson(final String jsonString,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveConnectionLogsResponse.fromJson(final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveConnectionLogsResponse 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: RetrieveConnectionLogsResponse
focal_class.signature: RetrieveConnectionLogsResponse fromJson(final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveConnectionLogsResponse.getRetrieveConnectionLogsResponse(final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: private static RetrieveConnectionLogsResponse getRetrieveConnectionLogsResponse(final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.identifier: getRetrieveConnectionLogsResponse
focal_class.modifiers: private static
focal_class.parameters: (final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrieveConnectionLogsResponse
focal_class.signature: RetrieveConnectionLogsResponse getRetrieveConnectionLogsResponse(final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveConnectionLogsResponse.parseInstantOrNull(final JsonObject jsonObject,
              final JsonFieldDefinition<String> fieldDefinition)
focal_class.full_signature: @Nullable private static Instant parseInstantOrNull(final JsonObject jsonObject,
              final JsonFieldDefinition<String> fieldDefinition)
focal_class.identifier: parseInstantOrNull
focal_class.modifiers: @Nullable private static
focal_class.parameters: (final JsonObject jsonObject,
              final JsonFieldDefinition<String> fieldDefinition)
focal_class.return: Instant
focal_class.signature: Instant parseInstantOrNull(final JsonObject jsonObject,
              final JsonFieldDefinition<String> fieldDefinition)
focal_class.class_method_signature: RetrieveConnectionLogsResponse.tryToParseInstant(final CharSequence dateTime,
              final JsonFieldDefinition<String> fieldDefinition)
focal_class.full_signature: private static Instant tryToParseInstant(final CharSequence dateTime,
              final JsonFieldDefinition<String> fieldDefinition)
focal_class.identifier: tryToParseInstant
focal_class.modifiers: private static
focal_class.parameters: (final CharSequence dateTime,
              final JsonFieldDefinition<String> fieldDefinition)
focal_class.return: Instant
focal_class.signature: Instant tryToParseInstant(final CharSequence dateTime,
              final JsonFieldDefinition<String> fieldDefinition)
focal_class.class_method_signature: RetrieveConnectionLogsResponse.parseConnectionLogs(final JsonObject jsonObject)
focal_class.full_signature: private static List<LogEntry> parseConnectionLogs(final JsonObject jsonObject)
focal_class.identifier: parseConnectionLogs
focal_class.modifiers: private static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: List<LogEntry>
focal_class.signature: List<LogEntry> parseConnectionLogs(final JsonObject jsonObject)
focal_class.class_method_signature: RetrieveConnectionLogsResponse.getConnectionLogs()
focal_class.full_signature: public Collection<LogEntry> getConnectionLogs()
focal_class.identifier: getConnectionLogs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Collection<LogEntry>
focal_class.signature: Collection<LogEntry> getConnectionLogs()
focal_class.class_method_signature: RetrieveConnectionLogsResponse.getEnabledSince()
focal_class.full_signature: public Optional<Instant> getEnabledSince()
focal_class.identifier: getEnabledSince
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<Instant>
focal_class.signature: Optional<Instant> getEnabledSince()
focal_class.class_method_signature: RetrieveConnectionLogsResponse.getEnabledUntil()
focal_class.full_signature: public Optional<Instant> getEnabledUntil()
focal_class.identifier: getEnabledUntil
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<Instant>
focal_class.signature: Optional<Instant> getEnabledUntil()
focal_class.class_method_signature: RetrieveConnectionLogsResponse.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: RetrieveConnectionLogsResponse.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: RetrieveConnectionLogsResponse.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: RetrieveConnectionLogsResponse.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: RetrieveConnectionLogsResponse.setEntity(final JsonValue entity)
focal_class.full_signature: @Override public RetrieveConnectionLogsResponse setEntity(final JsonValue entity)
focal_class.identifier: setEntity
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonValue entity)
focal_class.return: RetrieveConnectionLogsResponse
focal_class.signature: RetrieveConnectionLogsResponse setEntity(final JsonValue entity)
focal_class.class_method_signature: RetrieveConnectionLogsResponse.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public RetrieveConnectionLogsResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: RetrieveConnectionLogsResponse
focal_class.signature: RetrieveConnectionLogsResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveConnectionLogsResponse.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: RetrieveConnectionLogsResponse.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: RetrieveConnectionLogsResponse.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: RetrieveConnectionLogsResponse.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<RetrieveConnectionLogsResponse>
focal_method.body: public static RetrieveConnectionLogsResponse of(final ConnectionId connectionId,
              final Collection<LogEntry> connectionLogs, @Nullable final Instant enabledSince,
              @Nullable final Instant enabledUntil, final DittoHeaders dittoHeaders) {
          checkNotNull(connectionId, "Connection ID");
          checkNotNull(connectionLogs, "Connection Logs");
  
          return new RetrieveConnectionLogsResponse(connectionId, connectionLogs, enabledSince,
                  enabledUntil, dittoHeaders);
      }
focal_method.class_method_signature: RetrieveConnectionLogsResponse.of(final ConnectionId connectionId,
              final Collection<LogEntry> connectionLogs, @Nullable final Instant enabledSince,
              @Nullable final Instant enabledUntil, final DittoHeaders dittoHeaders)
focal_method.full_signature: public static RetrieveConnectionLogsResponse of(final ConnectionId connectionId,
              final Collection<LogEntry> connectionLogs, @Nullable final Instant enabledSince,
              @Nullable final Instant enabledUntil, final DittoHeaders dittoHeaders)
focal_method.identifier: of
focal_method.invocations: checkNotNull checkNotNull
focal_method.modifiers: public static
focal_method.parameters: (final ConnectionId connectionId,
              final Collection<LogEntry> connectionLogs, @Nullable final Instant enabledSince,
              @Nullable final Instant enabledUntil, final DittoHeaders dittoHeaders)
focal_method.return: RetrieveConnectionLogsResponse
focal_method.signature: RetrieveConnectionLogsResponse of(final ConnectionId connectionId,
              final Collection<LogEntry> connectionLogs, @Nullable final Instant enabledSince,
              @Nullable final Instant enabledUntil, final DittoHeaders dittoHeaders)