test_class.file: model/thingsearch/src/test/java/org/eclipse/ditto/model/thingsearch/ImmutableSearchResultTest.java
test_class.identifier: ImmutableSearchResultTest
test_case.body: @Test
      public void ensureRelationsToBuilderWorks() {
          final String itemsArray = "[1,2,3]";
          final JsonArray items = JsonFactory.newArray(itemsArray);
          final long nextPageOffset = 10L;
          final ImmutableSearchResult searchResult = ImmutableSearchResult.of(items, nextPageOffset, null);
  
          DittoJsonAssertions.assertThat(searchResult).isEqualTo(searchResult.toBuilder().build());
      }
test_case.class_method_signature: ImmutableSearchResultTest.ensureRelationsToBuilderWorks()
test_case.full_signature: @Test public void ensureRelationsToBuilderWorks()
test_case.identifier: ensureRelationsToBuilderWorks
test_case.invocations: newArray of isEqualTo assertThat build toBuilder
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void ensureRelationsToBuilderWorks()
focal_class.declarator: items
focal_class.modifier: private final
focal_class.original_string: private final JsonArray items;
focal_class.type: JsonArray
focal_class.var_name: items
focal_class.declarator: nextPageOffset
focal_class.modifier: @Nullable
      private final
focal_class.original_string: @Nullable
      private final Long nextPageOffset;
focal_class.type: Long
focal_class.var_name: nextPageOffset
focal_class.declarator: cursor
focal_class.modifier: @Nullable
      private final
focal_class.original_string: @Nullable
      private final String cursor;
focal_class.type: String
focal_class.var_name: cursor
focal_class.file: model/thingsearch/src/main/java/org/eclipse/ditto/model/thingsearch/ImmutableSearchResult.java
focal_class.identifier: ImmutableSearchResult
focal_class.interfaces: implements SearchResult
focal_class.class_method_signature: ImmutableSearchResult.ImmutableSearchResult(final JsonArray items, @Nullable final Long nextPageOffset,
              @Nullable final String cursor)
focal_class.full_signature: private  ImmutableSearchResult(final JsonArray items, @Nullable final Long nextPageOffset,
              @Nullable final String cursor)
focal_class.identifier: ImmutableSearchResult
focal_class.modifiers: private
focal_class.parameters: (final JsonArray items, @Nullable final Long nextPageOffset,
              @Nullable final String cursor)
focal_class.signature:  ImmutableSearchResult(final JsonArray items, @Nullable final Long nextPageOffset,
              @Nullable final String cursor)
focal_class.class_method_signature: ImmutableSearchResult.empty()
focal_class.full_signature: public static SearchResult empty()
focal_class.identifier: empty
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: SearchResult
focal_class.signature: SearchResult empty()
focal_class.class_method_signature: ImmutableSearchResult.of(final JsonArray items,
              @Nullable final Long nextPageOffset,
              @Nullable final String cursor)
focal_class.full_signature: public static ImmutableSearchResult of(final JsonArray items,
              @Nullable final Long nextPageOffset,
              @Nullable final String cursor)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final JsonArray items,
              @Nullable final Long nextPageOffset,
              @Nullable final String cursor)
focal_class.return: ImmutableSearchResult
focal_class.signature: ImmutableSearchResult of(final JsonArray items,
              @Nullable final Long nextPageOffset,
              @Nullable final String cursor)
focal_class.class_method_signature: ImmutableSearchResult.fromJson(final JsonObject jsonObject)
focal_class.full_signature: public static ImmutableSearchResult fromJson(final JsonObject jsonObject)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: ImmutableSearchResult
focal_class.signature: ImmutableSearchResult fromJson(final JsonObject jsonObject)
focal_class.class_method_signature: ImmutableSearchResult.getItems()
focal_class.full_signature: @Override public JsonArray getItems()
focal_class.identifier: getItems
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: JsonArray
focal_class.signature: JsonArray getItems()
focal_class.class_method_signature: ImmutableSearchResult.getNextPageOffset()
focal_class.full_signature: @Override public Optional<Long> getNextPageOffset()
focal_class.identifier: getNextPageOffset
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Optional<Long>
focal_class.signature: Optional<Long> getNextPageOffset()
focal_class.class_method_signature: ImmutableSearchResult.getCursor()
focal_class.full_signature: @Override public Optional<String> getCursor()
focal_class.identifier: getCursor
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Optional<String>
focal_class.signature: Optional<String> getCursor()
focal_class.class_method_signature: ImmutableSearchResult.hasNextPage()
focal_class.full_signature: @Override public boolean hasNextPage()
focal_class.identifier: hasNextPage
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasNextPage()
focal_class.class_method_signature: ImmutableSearchResult.getSize()
focal_class.full_signature: @Override public int getSize()
focal_class.identifier: getSize
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSize()
focal_class.class_method_signature: ImmutableSearchResult.isEmpty()
focal_class.full_signature: @Override public boolean isEmpty()
focal_class.identifier: isEmpty
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEmpty()
focal_class.class_method_signature: ImmutableSearchResult.stream()
focal_class.full_signature: @Override public Stream<JsonValue> stream()
focal_class.identifier: stream
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Stream<JsonValue>
focal_class.signature: Stream<JsonValue> stream()
focal_class.class_method_signature: ImmutableSearchResult.iterator()
focal_class.full_signature: @Override public Iterator<JsonValue> iterator()
focal_class.identifier: iterator
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Iterator<JsonValue>
focal_class.signature: Iterator<JsonValue> iterator()
focal_class.class_method_signature: ImmutableSearchResult.toJson(final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.full_signature: @Override public JsonObject toJson(final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.identifier: toJson
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.return: JsonObject
focal_class.signature: JsonObject toJson(final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.class_method_signature: ImmutableSearchResult.equals(final Object o)
focal_class.full_signature: @Override public boolean equals(final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object o)
focal_class.class_method_signature: ImmutableSearchResult.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: ImmutableSearchResult.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_method.body: public static ImmutableSearchResult of(final JsonArray items,
              @Nullable final Long nextPageOffset,
              @Nullable final String cursor) {
  
          return new ImmutableSearchResult(items, nextPageOffset, cursor);
      }
focal_method.class_method_signature: ImmutableSearchResult.of(final JsonArray items,
              @Nullable final Long nextPageOffset,
              @Nullable final String cursor)
focal_method.full_signature: public static ImmutableSearchResult of(final JsonArray items,
              @Nullable final Long nextPageOffset,
              @Nullable final String cursor)
focal_method.identifier: of
focal_method.modifiers: public static
focal_method.parameters: (final JsonArray items,
              @Nullable final Long nextPageOffset,
              @Nullable final String cursor)
focal_method.return: ImmutableSearchResult
focal_method.signature: ImmutableSearchResult of(final JsonArray items,
              @Nullable final Long nextPageOffset,
              @Nullable final String cursor)