class ImmutableSearchResult implements SearchResult {

    public static ImmutableSearchResult of(final JsonArray items,
            @Nullable final Long nextPageOffset,
            @Nullable final String cursor) {

        return new ImmutableSearchResult(items, nextPageOffset, cursor);
    }

    private  ImmutableSearchResult(final JsonArray items, @Nullable final Long nextPageOffset,
            @Nullable final String cursor);

}