diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FileStatus.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FileStatus.java index fa0f693f9..71b558f28 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FileStatus.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FileStatus.java @@ -19,6 +19,13 @@ public enum FileStatus { // union files.FileStatus (files.stone) ACTIVE, + /** + * Field is deprecated. Deprecated. Deleted-file search does not work and + * should not be used. Use {@link DbxUserFilesRequests#listFolder(String)} + * with {@link ListFolderArg#getIncludeDeleted} set to {@code true} to + * enumerate deleted entries; this does not provide equivalent full-text + * search. + */ DELETED, /** * Catch-all used for unknown tag values returned by the Dropbox servers. diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchOptions.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchOptions.java index 08e1bf59d..0a32de4c6 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchOptions.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchOptions.java @@ -49,8 +49,11 @@ public class SearchOptions { * be greater than or equal to 1 and be less than or equal to 1000. * @param orderBy Specified property of the order of search results. By * default, results are sorted by relevance. - * @param fileStatus Restricts search to the given file status. Must not be - * {@code null}. + * @param fileStatus Restricts search to the given file status. The {@link + * FileStatus#DELETED} value is deprecated and should not be used. This + * also applies to searches continued with {@link + * DbxUserFilesRequests#searchContinueV2(String)}. Must not be {@code + * null}. * @param filenameOnly Restricts search to only match on filenames. * @param fileExtensions Restricts search to only the extensions specified. * Only supported for active file search. Must not contain a {@code @@ -153,7 +156,9 @@ public SearchOrderBy getOrderBy() { } /** - * Restricts search to the given file status. + * Restricts search to the given file status. The {@link FileStatus#DELETED} + * value is deprecated and should not be used. This also applies to searches + * continued with {@link DbxUserFilesRequests#searchContinueV2(String)}. * * @return value for this field, or {@code null} if not present. Defaults to * FileStatus.ACTIVE. @@ -311,9 +316,12 @@ public Builder withOrderBy(SearchOrderBy orderBy) { *

If left unset or set to {@code null}, defaults to {@code * FileStatus.ACTIVE}.

* - * @param fileStatus Restricts search to the given file status. Must - * not be {@code null}. Defaults to {@code FileStatus.ACTIVE} when - * set to {@code null}. + * @param fileStatus Restricts search to the given file status. The + * {@link FileStatus#DELETED} value is deprecated and should not be + * used. This also applies to searches continued with {@link + * DbxUserFilesRequests#searchContinueV2(String)}. Must not be + * {@code null}. Defaults to {@code FileStatus.ACTIVE} when set to + * {@code null}. * * @return this builder * diff --git a/core/src/main/stone b/core/src/main/stone index 2994fb747..8bd09da79 160000 --- a/core/src/main/stone +++ b/core/src/main/stone @@ -1 +1 @@ -Subproject commit 2994fb7470d515e1fb223a9dbe18df41341b1a27 +Subproject commit 8bd09da79bbeeb69d9f68992d849ebac8daf54f0