diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/auth/RateLimitError.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/auth/RateLimitError.java index 693e8eb11..aff792567 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/auth/RateLimitError.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/auth/RateLimitError.java @@ -57,7 +57,7 @@ public RateLimitError(@Nonnull RateLimitReason reason, long retryAfter) { * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public RateLimitError(RateLimitReason reason) { + public RateLimitError(@Nonnull RateLimitReason reason) { this(reason, 1L); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertiesSearchArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertiesSearchArg.java index ee3b71b24..d0d4c0840 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertiesSearchArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertiesSearchArg.java @@ -65,7 +65,7 @@ public PropertiesSearchArg(@Nonnull List queries, @Nonnul * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PropertiesSearchArg(List queries) { + public PropertiesSearchArg(@Nonnull List queries) { this(queries, TemplateFilter.FILTER_NONE); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertiesSearchQuery.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertiesSearchQuery.java index bd2472c63..b4b04f016 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertiesSearchQuery.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertiesSearchQuery.java @@ -65,7 +65,7 @@ public PropertiesSearchQuery(@Nonnull String query, @Nonnull PropertiesSearchMod * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PropertiesSearchQuery(String query, PropertiesSearchMode mode) { + public PropertiesSearchQuery(@Nonnull String query, @Nonnull PropertiesSearchMode mode) { this(query, mode, LogicalOperator.OR_OPERATOR); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertiesSearchResult.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertiesSearchResult.java index 1844e67cc..90db48556 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertiesSearchResult.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertiesSearchResult.java @@ -67,7 +67,7 @@ public PropertiesSearchResult(@Nonnull List matches, @Nul * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PropertiesSearchResult(List matches) { + public PropertiesSearchResult(@Nonnull List matches) { this(matches, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertyGroupUpdate.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertyGroupUpdate.java index 211ad1277..6977631cf 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertyGroupUpdate.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/fileproperties/PropertyGroupUpdate.java @@ -86,7 +86,7 @@ public PropertyGroupUpdate(@Nonnull String templateId, @Nullable List paths, boolean autorename, boo * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public CreateFolderBatchArg(List paths) { + public CreateFolderBatchArg(@Nonnull List paths) { this(paths, false, false); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/DeleteArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/DeleteArg.java index 8d88d63bf..121e7ad62 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/DeleteArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/DeleteArg.java @@ -69,7 +69,7 @@ public DeleteArg(@Nonnull String path, @Nullable String parentRev) { * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public DeleteArg(String path) { + public DeleteArg(@Nonnull String path) { this(path, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/DeletedMetadata.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/DeletedMetadata.java index 284cbaa4b..d1bf351b3 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/DeletedMetadata.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/DeletedMetadata.java @@ -70,7 +70,7 @@ public DeletedMetadata(@Nonnull String name, @Nullable String pathLower, @Nullab * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public DeletedMetadata(String name) { + public DeletedMetadata(@Nonnull String name) { this(name, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/DownloadArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/DownloadArg.java index e63e9cd32..bcc98cd12 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/DownloadArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/DownloadArg.java @@ -69,7 +69,7 @@ public DownloadArg(@Nonnull String path, @Nullable String rev) { * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public DownloadArg(String path) { + public DownloadArg(@Nonnull String path) { this(path, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ExportArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ExportArg.java index 57054bfcd..34efd9251 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ExportArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ExportArg.java @@ -64,7 +64,7 @@ public ExportArg(@Nonnull String path, @Nullable String exportFormat) { * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ExportArg(String path) { + public ExportArg(@Nonnull String path) { this(path, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ExportMetadata.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ExportMetadata.java index 6b9635e2d..675108a89 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ExportMetadata.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ExportMetadata.java @@ -77,7 +77,7 @@ public ExportMetadata(@Nonnull String name, long size, @Nullable String exportHa * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ExportMetadata(String name, long size) { + public ExportMetadata(@Nonnull String name, long size) { this(name, size, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FileMetadata.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FileMetadata.java index d80972318..e0f5dd65b 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FileMetadata.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FileMetadata.java @@ -193,7 +193,7 @@ public FileMetadata(@Nonnull String name, @Nonnull String id, @Nonnull Date clie * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FileMetadata(String name, String id, Date clientModified, Date serverModified, String rev, long size) { + public FileMetadata(@Nonnull String name, @Nonnull String id, @Nonnull Date clientModified, @Nonnull Date serverModified, @Nonnull String rev, long size) { this(name, id, clientModified, serverModified, rev, size, null, null, null, null, null, null, null, true, null, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FileSharingInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FileSharingInfo.java index 5d720977a..766d5490e 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FileSharingInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FileSharingInfo.java @@ -76,7 +76,7 @@ public FileSharingInfo(boolean readOnly, @Nonnull String parentSharedFolderId, @ * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FileSharingInfo(boolean readOnly, String parentSharedFolderId) { + public FileSharingInfo(boolean readOnly, @Nonnull String parentSharedFolderId) { this(readOnly, parentSharedFolderId, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FolderMetadata.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FolderMetadata.java index c850a29ec..690d38ca7 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FolderMetadata.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/FolderMetadata.java @@ -104,7 +104,7 @@ public FolderMetadata(@Nonnull String name, @Nonnull String id, @Nullable String * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FolderMetadata(String name, String id) { + public FolderMetadata(@Nonnull String name, @Nonnull String id) { this(name, id, null, null, null, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/GetMetadataArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/GetMetadataArg.java index 0a660ad22..47eb11802 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/GetMetadataArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/GetMetadataArg.java @@ -79,7 +79,7 @@ public GetMetadataArg(@Nonnull String path, boolean includeMediaInfo, boolean in * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GetMetadataArg(String path) { + public GetMetadataArg(@Nonnull String path) { this(path, false, false, false, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/GetTemporaryUploadLinkArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/GetTemporaryUploadLinkArg.java index 13565a3a1..1d5ad6382 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/GetTemporaryUploadLinkArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/GetTemporaryUploadLinkArg.java @@ -63,7 +63,7 @@ public GetTemporaryUploadLinkArg(@Nonnull CommitInfo commitInfo, double duration * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GetTemporaryUploadLinkArg(CommitInfo commitInfo) { + public GetTemporaryUploadLinkArg(@Nonnull CommitInfo commitInfo) { this(commitInfo, 14400.0); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListFolderArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListFolderArg.java index 983cbf3fb..d15149078 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListFolderArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListFolderArg.java @@ -112,7 +112,7 @@ public ListFolderArg(@Nonnull String path, boolean recursive, boolean includeMed * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListFolderArg(String path) { + public ListFolderArg(@Nonnull String path) { this(path, false, false, false, false, true, null, null, null, true); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListFolderLongpollArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListFolderLongpollArg.java index b90764393..86aa20786 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListFolderLongpollArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListFolderLongpollArg.java @@ -74,7 +74,7 @@ public ListFolderLongpollArg(@Nonnull String cursor, long timeout) { * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListFolderLongpollArg(String cursor) { + public ListFolderLongpollArg(@Nonnull String cursor) { this(cursor, 30L); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListRevisionsArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListRevisionsArg.java index d0c23a60c..3eb8c351c 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListRevisionsArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListRevisionsArg.java @@ -74,7 +74,7 @@ public ListRevisionsArg(@Nonnull String path, @Nonnull ListRevisionsMode mode, l * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListRevisionsArg(String path) { + public ListRevisionsArg(@Nonnull String path) { this(path, ListRevisionsMode.PATH, 10L); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListRevisionsResult.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListRevisionsResult.java index a2c05afc6..37d762122 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListRevisionsResult.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ListRevisionsResult.java @@ -69,7 +69,7 @@ public ListRevisionsResult(boolean isDeleted, @Nonnull List entrie * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListRevisionsResult(boolean isDeleted, List entries) { + public ListRevisionsResult(boolean isDeleted, @Nonnull List entries) { this(isDeleted, entries, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/Metadata.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/Metadata.java index 73afbbb06..be59e4833 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/Metadata.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/Metadata.java @@ -85,7 +85,7 @@ public Metadata(@Nonnull String name, @Nullable String pathLower, @Nullable Stri * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public Metadata(String name) { + public Metadata(@Nonnull String name) { this(name, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/MinimalFileLinkMetadata.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/MinimalFileLinkMetadata.java index 49a754b96..9d5c3a115 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/MinimalFileLinkMetadata.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/MinimalFileLinkMetadata.java @@ -84,7 +84,7 @@ public MinimalFileLinkMetadata(@Nonnull String url, @Nonnull String rev, @Nullab * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MinimalFileLinkMetadata(String url, String rev) { + public MinimalFileLinkMetadata(@Nonnull String url, @Nonnull String rev) { this(url, rev, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/MoveBatchArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/MoveBatchArg.java index a9245bf75..faf5f12f8 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/MoveBatchArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/MoveBatchArg.java @@ -59,7 +59,7 @@ public MoveBatchArg(@Nonnull List entries, boolean autorename, b * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MoveBatchArg(List entries) { + public MoveBatchArg(@Nonnull List entries) { this(entries, false, false); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/PaperUpdateArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/PaperUpdateArg.java index b479fdef0..ca440f311 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/PaperUpdateArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/PaperUpdateArg.java @@ -81,7 +81,7 @@ public PaperUpdateArg(@Nonnull String path, @Nonnull ImportFormat importFormat, * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperUpdateArg(String path, ImportFormat importFormat, PaperDocUpdatePolicy docUpdatePolicy) { + public PaperUpdateArg(@Nonnull String path, @Nonnull ImportFormat importFormat, @Nonnull PaperDocUpdatePolicy docUpdatePolicy) { this(path, importFormat, docUpdatePolicy, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/PreviewArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/PreviewArg.java index b7ab12f15..ca0c01052 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/PreviewArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/PreviewArg.java @@ -69,7 +69,7 @@ public PreviewArg(@Nonnull String path, @Nullable String rev) { * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PreviewArg(String path) { + public PreviewArg(@Nonnull String path) { this(path, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/RelocationArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/RelocationArg.java index fbef1f98e..166ad2154 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/RelocationArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/RelocationArg.java @@ -68,7 +68,7 @@ public RelocationArg(@Nonnull String fromPath, @Nonnull String toPath, boolean a * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public RelocationArg(String fromPath, String toPath) { + public RelocationArg(@Nonnull String fromPath, @Nonnull String toPath) { this(fromPath, toPath, false, false, false); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/RelocationBatchArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/RelocationBatchArg.java index 3a0bc741a..8599c194d 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/RelocationBatchArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/RelocationBatchArg.java @@ -62,7 +62,7 @@ public RelocationBatchArg(@Nonnull List entries, boolean autoren * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public RelocationBatchArg(List entries) { + public RelocationBatchArg(@Nonnull List entries) { this(entries, false, false, false); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/RelocationBatchArgBase.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/RelocationBatchArgBase.java index dc5d72649..4bed363b7 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/RelocationBatchArgBase.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/RelocationBatchArgBase.java @@ -69,7 +69,7 @@ public RelocationBatchArgBase(@Nonnull List entries, boolean aut * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public RelocationBatchArgBase(List entries) { + public RelocationBatchArgBase(@Nonnull List entries) { this(entries, false); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchArg.java index 6c2522b0c..182e049ce 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchArg.java @@ -100,7 +100,7 @@ public SearchArg(@Nonnull String path, @Nonnull String query, long start, long m * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SearchArg(String path, String query) { + public SearchArg(@Nonnull String path, @Nonnull String query) { this(path, query, 0L, 100L, SearchMode.FILENAME); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchMatchV2.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchMatchV2.java index 86b80ea4c..6390a4621 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchMatchV2.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchMatchV2.java @@ -68,7 +68,7 @@ public SearchMatchV2(@Nonnull MetadataV2 metadata, @Nullable SearchMatchTypeV2 m * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SearchMatchV2(MetadataV2 metadata) { + public SearchMatchV2(@Nonnull MetadataV2 metadata) { this(metadata, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchV2Arg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchV2Arg.java index cb091cbc7..20775bc28 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchV2Arg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchV2Arg.java @@ -67,7 +67,7 @@ public SearchV2Arg(@Nonnull String query, @Nullable SearchOptions options, @Null * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SearchV2Arg(String query) { + public SearchV2Arg(@Nonnull String query) { this(query, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchV2Result.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchV2Result.java index f7ea3a0f6..b76bbacaf 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchV2Result.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SearchV2Result.java @@ -74,7 +74,7 @@ public SearchV2Result(@Nonnull List matches, boolean hasMore, @Nu * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SearchV2Result(List matches, boolean hasMore) { + public SearchV2Result(@Nonnull List matches, boolean hasMore) { this(matches, hasMore, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SharedLink.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SharedLink.java index f58f384d3..0f670bc7d 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SharedLink.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SharedLink.java @@ -51,7 +51,7 @@ public SharedLink(@Nonnull String url, @Nullable String password) { * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedLink(String url) { + public SharedLink(@Nonnull String url) { this(url, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SharedLinkFileInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SharedLinkFileInfo.java index c4f425d2e..8e0d9bbb6 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SharedLinkFileInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SharedLinkFileInfo.java @@ -65,7 +65,7 @@ public SharedLinkFileInfo(@Nonnull String url, @Nullable String path, @Nullable * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedLinkFileInfo(String url) { + public SharedLinkFileInfo(@Nonnull String url) { this(url, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SingleUserLock.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SingleUserLock.java index 2ebdf4baf..97aa1ac21 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SingleUserLock.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/SingleUserLock.java @@ -71,7 +71,7 @@ public SingleUserLock(@Nonnull Date created, @Nonnull String lockHolderAccountId * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SingleUserLock(Date created, String lockHolderAccountId) { + public SingleUserLock(@Nonnull Date created, @Nonnull String lockHolderAccountId) { this(created, lockHolderAccountId, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ThumbnailArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ThumbnailArg.java index 5532788dc..01345a843 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ThumbnailArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ThumbnailArg.java @@ -80,7 +80,7 @@ public ThumbnailArg(@Nonnull String path, @Nonnull ThumbnailFormat format, @Nonn * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ThumbnailArg(String path) { + public ThumbnailArg(@Nonnull String path) { this(path, ThumbnailFormat.JPEG, ThumbnailSize.W64H64, ThumbnailMode.STRICT); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ThumbnailV2Arg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ThumbnailV2Arg.java index d8a1c9e3d..cbb785a33 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ThumbnailV2Arg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ThumbnailV2Arg.java @@ -76,7 +76,7 @@ public ThumbnailV2Arg(@Nonnull PathOrLink resource, @Nonnull ThumbnailFormat for * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ThumbnailV2Arg(PathOrLink resource) { + public ThumbnailV2Arg(@Nonnull PathOrLink resource) { this(resource, ThumbnailFormat.JPEG, ThumbnailSize.W64H64, ThumbnailMode.STRICT); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/UploadArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/UploadArg.java index 20c1a770f..c6d2fe6b1 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/UploadArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/UploadArg.java @@ -94,7 +94,7 @@ public UploadArg(@Nonnull String path, @Nonnull WriteMode mode, boolean autorena * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public UploadArg(String path) { + public UploadArg(@Nonnull String path) { this(path, WriteMode.ADD, false, null, false, null, false, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/UploadSessionAppendArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/UploadSessionAppendArg.java index 10d2db4a5..3b5391e01 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/UploadSessionAppendArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/UploadSessionAppendArg.java @@ -74,7 +74,7 @@ public UploadSessionAppendArg(@Nonnull UploadSessionCursor cursor, boolean close * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public UploadSessionAppendArg(UploadSessionCursor cursor) { + public UploadSessionAppendArg(@Nonnull UploadSessionCursor cursor) { this(cursor, false, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/UploadSessionFinishArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/UploadSessionFinishArg.java index c73f900c2..a5858bd6e 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/UploadSessionFinishArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/UploadSessionFinishArg.java @@ -75,7 +75,7 @@ public UploadSessionFinishArg(@Nonnull UploadSessionCursor cursor, @Nonnull Comm * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public UploadSessionFinishArg(UploadSessionCursor cursor, CommitInfo commit) { + public UploadSessionFinishArg(@Nonnull UploadSessionCursor cursor, @Nonnull CommitInfo commit) { this(cursor, commit, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/AddMember.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/AddMember.java index d0277ab1e..29ba1d4e3 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/AddMember.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/AddMember.java @@ -57,7 +57,7 @@ public AddMember(@Nonnull MemberSelector member, @Nonnull PaperDocPermissionLeve * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public AddMember(MemberSelector member) { + public AddMember(@Nonnull MemberSelector member) { this(member, PaperDocPermissionLevel.EDIT); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/AddPaperDocUser.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/AddPaperDocUser.java index 4d00ab864..a5ff281e3 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/AddPaperDocUser.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/AddPaperDocUser.java @@ -74,7 +74,7 @@ public AddPaperDocUser(@Nonnull String docId, @Nonnull List members, * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public AddPaperDocUser(String docId, List members) { + public AddPaperDocUser(@Nonnull String docId, @Nonnull List members) { this(docId, members, null, false); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/Cursor.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/Cursor.java index f25756cd0..76ec51214 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/Cursor.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/Cursor.java @@ -66,7 +66,7 @@ public Cursor(@Nonnull String value, @Nullable Date expiration) { * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public Cursor(String value) { + public Cursor(@Nonnull String value) { this(value, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/ListUsersOnFolderArgs.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/ListUsersOnFolderArgs.java index 00ba312fc..4d8751321 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/ListUsersOnFolderArgs.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/ListUsersOnFolderArgs.java @@ -55,7 +55,7 @@ public ListUsersOnFolderArgs(@Nonnull String docId, int limit) { * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListUsersOnFolderArgs(String docId) { + public ListUsersOnFolderArgs(@Nonnull String docId) { this(docId, 1000); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/ListUsersOnPaperDocArgs.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/ListUsersOnPaperDocArgs.java index a89d89130..5431ce7fb 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/ListUsersOnPaperDocArgs.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/ListUsersOnPaperDocArgs.java @@ -64,7 +64,7 @@ public ListUsersOnPaperDocArgs(@Nonnull String docId, int limit, @Nonnull UserOn * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListUsersOnPaperDocArgs(String docId) { + public ListUsersOnPaperDocArgs(@Nonnull String docId) { this(docId, 1000, UserOnPaperDocFilter.SHARED); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/PaperDocCreateArgs.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/PaperDocCreateArgs.java index 42a85605d..43efb66b0 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/PaperDocCreateArgs.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/PaperDocCreateArgs.java @@ -55,7 +55,7 @@ public PaperDocCreateArgs(@Nonnull ImportFormat importFormat, @Nullable String p * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperDocCreateArgs(ImportFormat importFormat) { + public PaperDocCreateArgs(@Nonnull ImportFormat importFormat) { this(importFormat, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/PaperFolderCreateArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/PaperFolderCreateArg.java index 9d933192a..c5dc03fc3 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/PaperFolderCreateArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/paper/PaperFolderCreateArg.java @@ -63,7 +63,7 @@ public PaperFolderCreateArg(@Nonnull String name, @Nullable String parentFolderI * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperFolderCreateArg(String name) { + public PaperFolderCreateArg(@Nonnull String name) { this(name, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/AddFileMemberArgs.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/AddFileMemberArgs.java index 589f698c4..d4831ff9a 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/AddFileMemberArgs.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/AddFileMemberArgs.java @@ -106,7 +106,7 @@ public AddFileMemberArgs(@Nonnull String file, @Nonnull List mem * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public AddFileMemberArgs(String file, List members) { + public AddFileMemberArgs(@Nonnull String file, @Nonnull List members) { this(file, members, null, false, AccessLevel.VIEWER, false); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/AddFolderMemberArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/AddFolderMemberArg.java index a1da35dcc..fbb5d333a 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/AddFolderMemberArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/AddFolderMemberArg.java @@ -86,7 +86,7 @@ public AddFolderMemberArg(@Nonnull String sharedFolderId, @Nonnull List members) { + public AddFolderMemberArg(@Nonnull String sharedFolderId, @Nonnull List members) { this(sharedFolderId, members, false, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/AddMember.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/AddMember.java index 3f3462fd3..3b571dd4c 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/AddMember.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/AddMember.java @@ -64,7 +64,7 @@ public AddMember(@Nonnull MemberSelector member, @Nonnull AccessLevel accessLeve * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public AddMember(MemberSelector member) { + public AddMember(@Nonnull MemberSelector member) { this(member, AccessLevel.VIEWER); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/CollectionLinkMetadata.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/CollectionLinkMetadata.java index 57ac50d50..9234fbe8c 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/CollectionLinkMetadata.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/CollectionLinkMetadata.java @@ -53,7 +53,7 @@ public CollectionLinkMetadata(@Nonnull String url, @Nonnull Visibility visibilit * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public CollectionLinkMetadata(String url, Visibility visibility) { + public CollectionLinkMetadata(@Nonnull String url, @Nonnull Visibility visibility) { this(url, visibility, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/CreateSharedLinkArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/CreateSharedLinkArg.java index 3cb46d990..32d2414c7 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/CreateSharedLinkArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/CreateSharedLinkArg.java @@ -58,7 +58,7 @@ public CreateSharedLinkArg(@Nonnull String path, boolean shortUrl, @Nullable Pen * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public CreateSharedLinkArg(String path) { + public CreateSharedLinkArg(@Nonnull String path) { this(path, false, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/CreateSharedLinkWithSettingsArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/CreateSharedLinkWithSettingsArg.java index 4afc260c6..102568dd6 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/CreateSharedLinkWithSettingsArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/CreateSharedLinkWithSettingsArg.java @@ -60,7 +60,7 @@ public CreateSharedLinkWithSettingsArg(@Nonnull String path, @Nullable SharedLin * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public CreateSharedLinkWithSettingsArg(String path) { + public CreateSharedLinkWithSettingsArg(@Nonnull String path) { this(path, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ExpectedSharedContentLinkMetadata.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ExpectedSharedContentLinkMetadata.java index 99ce6281f..6c3d7e2fa 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ExpectedSharedContentLinkMetadata.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ExpectedSharedContentLinkMetadata.java @@ -84,7 +84,7 @@ public ExpectedSharedContentLinkMetadata(@Nonnull List audienceOpt * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ExpectedSharedContentLinkMetadata(List audienceOptions, LinkAudience currentAudience, List linkPermissions, boolean passwordProtected) { + public ExpectedSharedContentLinkMetadata(@Nonnull List audienceOptions, @Nonnull LinkAudience currentAudience, @Nonnull List linkPermissions, boolean passwordProtected) { this(audienceOptions, currentAudience, linkPermissions, passwordProtected, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FileLinkMetadata.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FileLinkMetadata.java index 51f5141ac..fccee9cdf 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FileLinkMetadata.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FileLinkMetadata.java @@ -126,7 +126,7 @@ public FileLinkMetadata(@Nonnull String url, @Nonnull String name, @Nonnull Link * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FileLinkMetadata(String url, String name, LinkPermissions linkPermissions, Date clientModified, Date serverModified, String rev, long size) { + public FileLinkMetadata(@Nonnull String url, @Nonnull String name, @Nonnull LinkPermissions linkPermissions, @Nonnull Date clientModified, @Nonnull Date serverModified, @Nonnull String rev, long size) { this(url, name, linkPermissions, clientModified, serverModified, rev, size, null, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FileMemberActionResult.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FileMemberActionResult.java index 4093e2977..662eafd17 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FileMemberActionResult.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FileMemberActionResult.java @@ -84,7 +84,7 @@ public FileMemberActionResult(@Nonnull MemberSelector member, @Nonnull FileMembe * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FileMemberActionResult(MemberSelector member, FileMemberActionIndividualResult result) { + public FileMemberActionResult(@Nonnull MemberSelector member, @Nonnull FileMemberActionIndividualResult result) { this(member, result, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FilePermission.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FilePermission.java index e22c43905..89c685264 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FilePermission.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FilePermission.java @@ -62,7 +62,7 @@ public FilePermission(@Nonnull FileAction action, boolean allow, @Nullable Permi * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FilePermission(FileAction action, boolean allow) { + public FilePermission(@Nonnull FileAction action, boolean allow) { this(action, allow, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FolderLinkMetadata.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FolderLinkMetadata.java index 2c782bf08..6fcbacf91 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FolderLinkMetadata.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FolderLinkMetadata.java @@ -75,7 +75,7 @@ public FolderLinkMetadata(@Nonnull String url, @Nonnull String name, @Nonnull Li * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FolderLinkMetadata(String url, String name, LinkPermissions linkPermissions) { + public FolderLinkMetadata(@Nonnull String url, @Nonnull String name, @Nonnull LinkPermissions linkPermissions) { this(url, name, linkPermissions, null, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FolderPermission.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FolderPermission.java index ce47d5c9f..a72a82f11 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FolderPermission.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FolderPermission.java @@ -62,7 +62,7 @@ public FolderPermission(@Nonnull FolderAction action, boolean allow, @Nullable P * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FolderPermission(FolderAction action, boolean allow) { + public FolderPermission(@Nonnull FolderAction action, boolean allow) { this(action, allow, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FolderPolicy.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FolderPolicy.java index 9ba15e022..1bdccc712 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FolderPolicy.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/FolderPolicy.java @@ -85,7 +85,7 @@ public FolderPolicy(@Nonnull AclUpdatePolicy aclUpdatePolicy, @Nonnull SharedLin * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FolderPolicy(AclUpdatePolicy aclUpdatePolicy, SharedLinkPolicy sharedLinkPolicy) { + public FolderPolicy(@Nonnull AclUpdatePolicy aclUpdatePolicy, @Nonnull SharedLinkPolicy sharedLinkPolicy) { this(aclUpdatePolicy, sharedLinkPolicy, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/GetFileMetadataArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/GetFileMetadataArg.java index f3c6efeb7..f096fe369 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/GetFileMetadataArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/GetFileMetadataArg.java @@ -78,7 +78,7 @@ public GetFileMetadataArg(@Nonnull String file, @Nullable List actio * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GetFileMetadataArg(String file) { + public GetFileMetadataArg(@Nonnull String file) { this(file, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/GetFileMetadataBatchArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/GetFileMetadataBatchArg.java index 99e750795..b3d80581d 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/GetFileMetadataBatchArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/GetFileMetadataBatchArg.java @@ -85,7 +85,7 @@ public GetFileMetadataBatchArg(@Nonnull List files, @Nullable List files) { + public GetFileMetadataBatchArg(@Nonnull List files) { this(files, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/GetMetadataArgs.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/GetMetadataArgs.java index 38a5afada..cc0ccdaa0 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/GetMetadataArgs.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/GetMetadataArgs.java @@ -69,7 +69,7 @@ public GetMetadataArgs(@Nonnull String sharedFolderId, @Nullable List visibi * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public LinkPermissions(boolean canRevoke, List visibilityPolicies, boolean canSetExpiry, boolean canRemoveExpiry, boolean allowDownload, boolean canAllowDownload, boolean canDisallowDownload, boolean allowComments, boolean teamRestrictsComments) { + public LinkPermissions(boolean canRevoke, @Nonnull List visibilityPolicies, boolean canSetExpiry, boolean canRemoveExpiry, boolean allowDownload, boolean canAllowDownload, boolean canDisallowDownload, boolean allowComments, boolean teamRestrictsComments) { this(canRevoke, visibilityPolicies, canSetExpiry, canRemoveExpiry, allowDownload, canAllowDownload, canDisallowDownload, allowComments, teamRestrictsComments, null, null, null, null, null, null, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFileMembersArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFileMembersArg.java index e5bb83d8b..4261a6f3a 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFileMembersArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFileMembersArg.java @@ -95,7 +95,7 @@ public ListFileMembersArg(@Nonnull String file, @Nullable List act * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListFileMembersArg(String file) { + public ListFileMembersArg(@Nonnull String file) { this(file, null, true, 100L); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFileMembersBatchArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFileMembersBatchArg.java index d66305da7..e7ab42c12 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFileMembersBatchArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFileMembersBatchArg.java @@ -77,7 +77,7 @@ public ListFileMembersBatchArg(@Nonnull List files, long limit) { * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListFileMembersBatchArg(List files) { + public ListFileMembersBatchArg(@Nonnull List files) { this(files, 10L); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFilesResult.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFilesResult.java index db5b8f2c3..e4f9f2daf 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFilesResult.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFilesResult.java @@ -63,7 +63,7 @@ public ListFilesResult(@Nonnull List entries, @Nullable Stri * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListFilesResult(List entries) { + public ListFilesResult(@Nonnull List entries) { this(entries, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFolderMembersArgs.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFolderMembersArgs.java index 9d9b0b75f..8d3d7bace 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFolderMembersArgs.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListFolderMembersArgs.java @@ -65,7 +65,7 @@ public ListFolderMembersArgs(@Nonnull String sharedFolderId, @Nullable List entries, @Nullable * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListFoldersResult(List entries) { + public ListFoldersResult(@Nonnull List entries) { this(entries, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListSharedLinksResult.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListSharedLinksResult.java index 43abf8312..91e58ff20 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListSharedLinksResult.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/ListSharedLinksResult.java @@ -69,7 +69,7 @@ public ListSharedLinksResult(@Nonnull List links, boolean ha * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListSharedLinksResult(List links, boolean hasMore) { + public ListSharedLinksResult(@Nonnull List links, boolean hasMore) { this(links, hasMore, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/MemberPermission.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/MemberPermission.java index 29e900fc8..159c347df 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/MemberPermission.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/MemberPermission.java @@ -62,7 +62,7 @@ public MemberPermission(@Nonnull MemberAction action, boolean allow, @Nullable P * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MemberPermission(MemberAction action, boolean allow) { + public MemberPermission(@Nonnull MemberAction action, boolean allow) { this(action, allow, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/MembershipInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/MembershipInfo.java index 1f942b966..6426a6f61 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/MembershipInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/MembershipInfo.java @@ -78,7 +78,7 @@ public MembershipInfo(@Nonnull AccessLevel accessType, @Nullable List audienceOptions, @N * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedContentLinkMetadata(List audienceOptions, LinkAudience currentAudience, List linkPermissions, boolean passwordProtected, String url) { + public SharedContentLinkMetadata(@Nonnull List audienceOptions, @Nonnull LinkAudience currentAudience, @Nonnull List linkPermissions, boolean passwordProtected, @Nonnull String url) { this(audienceOptions, currentAudience, linkPermissions, passwordProtected, url, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedContentLinkMetadataBase.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedContentLinkMetadataBase.java index 604e5058e..a42e5bbf4 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedContentLinkMetadataBase.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedContentLinkMetadataBase.java @@ -109,7 +109,7 @@ public SharedContentLinkMetadataBase(@Nonnull List audienceOptions * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedContentLinkMetadataBase(List audienceOptions, LinkAudience currentAudience, List linkPermissions, boolean passwordProtected) { + public SharedContentLinkMetadataBase(@Nonnull List audienceOptions, @Nonnull LinkAudience currentAudience, @Nonnull List linkPermissions, boolean passwordProtected) { this(audienceOptions, currentAudience, linkPermissions, passwordProtected, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFileMembers.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFileMembers.java index bb6a3a1f8..05c3566e5 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFileMembers.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFileMembers.java @@ -108,7 +108,7 @@ public SharedFileMembers(@Nonnull List users, @Nonnull L * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedFileMembers(List users, List groups, List invitees) { + public SharedFileMembers(@Nonnull List users, @Nonnull List groups, @Nonnull List invitees) { this(users, groups, invitees, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFileMetadata.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFileMetadata.java index a761fa3c0..732f26b1e 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFileMetadata.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFileMetadata.java @@ -165,7 +165,7 @@ public SharedFileMetadata(@Nonnull String id, @Nonnull String name, @Nonnull Fol * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedFileMetadata(String id, String name, FolderPolicy policy, String previewUrl) { + public SharedFileMetadata(@Nonnull String id, @Nonnull String name, @Nonnull FolderPolicy policy, @Nonnull String previewUrl) { this(id, name, policy, previewUrl, null, null, null, null, null, null, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFolderMembers.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFolderMembers.java index dbe5c1fea..335d76940 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFolderMembers.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFolderMembers.java @@ -94,7 +94,7 @@ public SharedFolderMembers(@Nonnull List users, @Nonnull Lis * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedFolderMembers(List users, List groups, List invitees) { + public SharedFolderMembers(@Nonnull List users, @Nonnull List groups, @Nonnull List invitees) { this(users, groups, invitees, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFolderMetadata.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFolderMetadata.java index e73349ea1..fb5042119 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFolderMetadata.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFolderMetadata.java @@ -152,7 +152,7 @@ public SharedFolderMetadata(@Nonnull AccessLevel accessType, boolean isInsideTea * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedFolderMetadata(AccessLevel accessType, boolean isInsideTeamFolder, boolean isTeamFolder, String name, FolderPolicy policy, String previewUrl, String sharedFolderId, Date timeInvited) { + public SharedFolderMetadata(@Nonnull AccessLevel accessType, boolean isInsideTeamFolder, boolean isTeamFolder, @Nonnull String name, @Nonnull FolderPolicy policy, @Nonnull String previewUrl, @Nonnull String sharedFolderId, @Nonnull Date timeInvited) { this(accessType, isInsideTeamFolder, isTeamFolder, name, policy, previewUrl, sharedFolderId, timeInvited, null, null, null, null, null, null, null, null, AccessInheritance.INHERIT); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFolderMetadataBase.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFolderMetadataBase.java index a5173bf62..6678fff16 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFolderMetadataBase.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedFolderMetadataBase.java @@ -109,7 +109,7 @@ public SharedFolderMetadataBase(@Nonnull AccessLevel accessType, boolean isInsid * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedFolderMetadataBase(AccessLevel accessType, boolean isInsideTeamFolder, boolean isTeamFolder) { + public SharedFolderMetadataBase(@Nonnull AccessLevel accessType, boolean isInsideTeamFolder, boolean isTeamFolder) { this(accessType, isInsideTeamFolder, isTeamFolder, null, null, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedLinkMetadata.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedLinkMetadata.java index 76498faf6..c6d1a7b26 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedLinkMetadata.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/SharedLinkMetadata.java @@ -105,7 +105,7 @@ public SharedLinkMetadata(@Nonnull String url, @Nonnull String name, @Nonnull Li * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedLinkMetadata(String url, String name, LinkPermissions linkPermissions) { + public SharedLinkMetadata(@Nonnull String url, @Nonnull String name, @Nonnull LinkPermissions linkPermissions) { this(url, name, linkPermissions, null, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/TeamMemberInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/TeamMemberInfo.java index f8712639a..42b8785c2 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/TeamMemberInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/TeamMemberInfo.java @@ -68,7 +68,7 @@ public TeamMemberInfo(@Nonnull Team teamInfo, @Nonnull String displayName, @Null * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public TeamMemberInfo(Team teamInfo, String displayName) { + public TeamMemberInfo(@Nonnull Team teamInfo, @Nonnull String displayName) { this(teamInfo, displayName, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UnshareFolderArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UnshareFolderArg.java index e13186534..3118a342e 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UnshareFolderArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UnshareFolderArg.java @@ -59,7 +59,7 @@ public UnshareFolderArg(@Nonnull String sharedFolderId, boolean leaveACopy) { * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public UnshareFolderArg(String sharedFolderId) { + public UnshareFolderArg(@Nonnull String sharedFolderId) { this(sharedFolderId, false); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UpdateFolderPolicyArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UpdateFolderPolicyArg.java index f470eee40..b88762475 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UpdateFolderPolicyArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UpdateFolderPolicyArg.java @@ -96,7 +96,7 @@ public UpdateFolderPolicyArg(@Nonnull String sharedFolderId, @Nullable MemberPol * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public UpdateFolderPolicyArg(String sharedFolderId) { + public UpdateFolderPolicyArg(@Nonnull String sharedFolderId) { this(sharedFolderId, null, null, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UserFileMembershipInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UserFileMembershipInfo.java index 2af0a17f8..ca298ad3c 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UserFileMembershipInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UserFileMembershipInfo.java @@ -80,7 +80,7 @@ public UserFileMembershipInfo(@Nonnull AccessLevel accessType, @Nonnull UserInfo * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public UserFileMembershipInfo(AccessLevel accessType, UserInfo user) { + public UserFileMembershipInfo(@Nonnull AccessLevel accessType, @Nonnull UserInfo user) { this(accessType, user, null, null, false, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UserInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UserInfo.java index 6c99a8496..70f477413 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UserInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UserInfo.java @@ -95,7 +95,7 @@ public UserInfo(@Nonnull String accountId, @Nonnull String email, @Nonnull Strin * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public UserInfo(String accountId, String email, String displayName, boolean sameTeam) { + public UserInfo(@Nonnull String accountId, @Nonnull String email, @Nonnull String displayName, boolean sameTeam) { this(accountId, email, displayName, sameTeam, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UserMembershipInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UserMembershipInfo.java index f9ddc5e41..01687d4a1 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UserMembershipInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/UserMembershipInfo.java @@ -70,7 +70,7 @@ public UserMembershipInfo(@Nonnull AccessLevel accessType, @Nonnull UserInfo use * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public UserMembershipInfo(AccessLevel accessType, UserInfo user) { + public UserMembershipInfo(@Nonnull AccessLevel accessType, @Nonnull UserInfo user) { this(accessType, user, null, null, false); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/VisibilityPolicy.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/VisibilityPolicy.java index a38e9a68e..fc6110c5c 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/VisibilityPolicy.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/VisibilityPolicy.java @@ -76,7 +76,7 @@ public VisibilityPolicy(@Nonnull RequestedVisibility policy, @Nonnull AlphaResol * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public VisibilityPolicy(RequestedVisibility policy, AlphaResolvedVisibility resolvedPolicy, boolean allowed) { + public VisibilityPolicy(@Nonnull RequestedVisibility policy, @Nonnull AlphaResolvedVisibility resolvedPolicy, boolean allowed) { this(policy, resolvedPolicy, allowed, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ActiveWebSession.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ActiveWebSession.java index 4949bcb63..8668a89b3 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ActiveWebSession.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ActiveWebSession.java @@ -88,7 +88,7 @@ public ActiveWebSession(@Nonnull String sessionId, @Nonnull String userAgent, @N * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ActiveWebSession(String sessionId, String userAgent, String os, String browser) { + public ActiveWebSession(@Nonnull String sessionId, @Nonnull String userAgent, @Nonnull String os, @Nonnull String browser) { this(sessionId, userAgent, os, browser, null, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ApiApp.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ApiApp.java index ccdf7c852..2daf3846c 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ApiApp.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ApiApp.java @@ -79,7 +79,7 @@ public ApiApp(@Nonnull String appId, @Nonnull String appName, boolean isAppFolde * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ApiApp(String appId, String appName, boolean isAppFolder) { + public ApiApp(@Nonnull String appId, @Nonnull String appName, boolean isAppFolder) { this(appId, appName, isAppFolder, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/DesktopClientSession.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/DesktopClientSession.java index 8ff27d66d..3b84fccdc 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/DesktopClientSession.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/DesktopClientSession.java @@ -98,7 +98,7 @@ public DesktopClientSession(@Nonnull String sessionId, @Nonnull String hostName, * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public DesktopClientSession(String sessionId, String hostName, DesktopPlatform clientType, String clientVersion, String platform, boolean isDeleteOnUnlinkSupported) { + public DesktopClientSession(@Nonnull String sessionId, @Nonnull String hostName, @Nonnull DesktopPlatform clientType, @Nonnull String clientVersion, @Nonnull String platform, boolean isDeleteOnUnlinkSupported) { this(sessionId, hostName, clientType, clientVersion, platform, isDeleteOnUnlinkSupported, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/DeviceSession.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/DeviceSession.java index 4a840329e..3c72eef48 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/DeviceSession.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/DeviceSession.java @@ -65,7 +65,7 @@ public DeviceSession(@Nonnull String sessionId, @Nullable String ipAddress, @Nul * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public DeviceSession(String sessionId) { + public DeviceSession(@Nonnull String sessionId) { this(sessionId, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ExcludedUsersListResult.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ExcludedUsersListResult.java index c027f41f7..347694d9d 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ExcludedUsersListResult.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ExcludedUsersListResult.java @@ -75,7 +75,7 @@ public ExcludedUsersListResult(@Nonnull List users, boolean hasMo * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ExcludedUsersListResult(List users, boolean hasMore) { + public ExcludedUsersListResult(@Nonnull List users, boolean hasMore) { this(users, hasMore, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupCreateArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupCreateArg.java index 4ce575106..bdadc9fea 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupCreateArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupCreateArg.java @@ -62,7 +62,7 @@ public GroupCreateArg(@Nonnull String groupName, boolean addCreatorAsOwner, @Nul * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GroupCreateArg(String groupName) { + public GroupCreateArg(@Nonnull String groupName) { this(groupName, false, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupFullInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupFullInfo.java index 3f8c7f160..444da0ca6 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupFullInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupFullInfo.java @@ -80,7 +80,7 @@ public GroupFullInfo(@Nonnull String groupName, @Nonnull String groupId, @Nonnul * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GroupFullInfo(String groupName, String groupId, GroupManagementType groupManagementType, long created) { + public GroupFullInfo(@Nonnull String groupName, @Nonnull String groupId, @Nonnull GroupManagementType groupManagementType, long created) { this(groupName, groupId, groupManagementType, created, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupMembersAddArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupMembersAddArg.java index f296d7d6e..faeb5bb5f 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupMembersAddArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupMembersAddArg.java @@ -68,7 +68,7 @@ public GroupMembersAddArg(@Nonnull GroupSelector group, @Nonnull List members) { + public GroupMembersAddArg(@Nonnull GroupSelector group, @Nonnull List members) { this(group, members, true); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupMembersRemoveArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupMembersRemoveArg.java index 87396ca48..7c7efefdc 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupMembersRemoveArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupMembersRemoveArg.java @@ -68,7 +68,7 @@ public GroupMembersRemoveArg(@Nonnull GroupSelector group, @Nonnull List users) { + public GroupMembersRemoveArg(@Nonnull GroupSelector group, @Nonnull List users) { this(group, users, true); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupMembersSetAccessTypeArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupMembersSetAccessTypeArg.java index ba05a167f..b41e032f0 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupMembersSetAccessTypeArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupMembersSetAccessTypeArg.java @@ -65,7 +65,7 @@ public GroupMembersSetAccessTypeArg(@Nonnull GroupSelector group, @Nonnull UserS * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GroupMembersSetAccessTypeArg(GroupSelector group, UserSelectorArg user, GroupAccessType accessType) { + public GroupMembersSetAccessTypeArg(@Nonnull GroupSelector group, @Nonnull UserSelectorArg user, @Nonnull GroupAccessType accessType) { this(group, user, accessType, true); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupUpdateArgs.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupUpdateArgs.java index 42ee9e5ad..2c16f02a8 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupUpdateArgs.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupUpdateArgs.java @@ -69,7 +69,7 @@ public GroupUpdateArgs(@Nonnull GroupSelector group, boolean returnMembers, @Nul * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GroupUpdateArgs(GroupSelector group) { + public GroupUpdateArgs(@Nonnull GroupSelector group) { this(group, true, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupsMembersListArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupsMembersListArg.java index 89938cdab..e62b68a12 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupsMembersListArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/GroupsMembersListArg.java @@ -59,7 +59,7 @@ public GroupsMembersListArg(@Nonnull GroupSelector group, long limit) { * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GroupsMembersListArg(GroupSelector group) { + public GroupsMembersListArg(@Nonnull GroupSelector group) { this(group, 1000L); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldPolicy.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldPolicy.java index 609ee4b48..e4bd10a04 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldPolicy.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldPolicy.java @@ -110,7 +110,7 @@ public LegalHoldPolicy(@Nonnull String id, @Nonnull String name, @Nonnull Member * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public LegalHoldPolicy(String id, String name, MembersInfo members, LegalHoldStatus status, Date startDate) { + public LegalHoldPolicy(@Nonnull String id, @Nonnull String name, @Nonnull MembersInfo members, @Nonnull LegalHoldStatus status, @Nonnull Date startDate) { this(id, name, members, status, startDate, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsListHeldRevisionResult.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsListHeldRevisionResult.java index 9cf567b69..04456ea4e 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsListHeldRevisionResult.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsListHeldRevisionResult.java @@ -76,7 +76,7 @@ public LegalHoldsListHeldRevisionResult(@Nonnull List entries, boolean hasMore) { + public LegalHoldsListHeldRevisionResult(@Nonnull List entries, boolean hasMore) { this(entries, hasMore, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsListHeldRevisionsContinueArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsListHeldRevisionsContinueArg.java index 4bc92cbf8..bdc900d67 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsListHeldRevisionsContinueArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsListHeldRevisionsContinueArg.java @@ -64,7 +64,7 @@ public LegalHoldsListHeldRevisionsContinueArg(@Nonnull String id, @Nullable Stri * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public LegalHoldsListHeldRevisionsContinueArg(String id) { + public LegalHoldsListHeldRevisionsContinueArg(@Nonnull String id) { this(id, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsPolicyCreateArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsPolicyCreateArg.java index 79a018c21..bb62d9da2 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsPolicyCreateArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsPolicyCreateArg.java @@ -87,7 +87,7 @@ public LegalHoldsPolicyCreateArg(@Nonnull String name, @Nonnull List mem * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public LegalHoldsPolicyCreateArg(String name, List members) { + public LegalHoldsPolicyCreateArg(@Nonnull String name, @Nonnull List members) { this(name, members, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsPolicyUpdateArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsPolicyUpdateArg.java index 0a279207a..6d5af7607 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsPolicyUpdateArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/LegalHoldsPolicyUpdateArg.java @@ -85,7 +85,7 @@ public LegalHoldsPolicyUpdateArg(@Nonnull String id, @Nullable String name, @Nul * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public LegalHoldsPolicyUpdateArg(String id) { + public LegalHoldsPolicyUpdateArg(@Nonnull String id) { this(id, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListMemberDevicesArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListMemberDevicesArg.java index 0f4c91e09..4041c61d2 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListMemberDevicesArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListMemberDevicesArg.java @@ -61,7 +61,7 @@ public ListMemberDevicesArg(@Nonnull String teamMemberId, boolean includeWebSess * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListMemberDevicesArg(String teamMemberId) { + public ListMemberDevicesArg(@Nonnull String teamMemberId) { this(teamMemberId, true, true, true); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListMembersAppsResult.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListMembersAppsResult.java index 11548755e..0c7c8d2a1 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListMembersAppsResult.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListMembersAppsResult.java @@ -78,7 +78,7 @@ public ListMembersAppsResult(@Nonnull List apps, boolean hasMo * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListMembersAppsResult(List apps, boolean hasMore) { + public ListMembersAppsResult(@Nonnull List apps, boolean hasMore) { this(apps, hasMore, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListMembersDevicesResult.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListMembersDevicesResult.java index 3e8575b5b..3421e51a3 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListMembersDevicesResult.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListMembersDevicesResult.java @@ -69,7 +69,7 @@ public ListMembersDevicesResult(@Nonnull List devices, boolean ha * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListMembersDevicesResult(List devices, boolean hasMore) { + public ListMembersDevicesResult(@Nonnull List devices, boolean hasMore) { this(devices, hasMore, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListTeamAppsResult.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListTeamAppsResult.java index c10c4168f..dcbba071e 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListTeamAppsResult.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListTeamAppsResult.java @@ -78,7 +78,7 @@ public ListTeamAppsResult(@Nonnull List apps, boolean hasMore, * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListTeamAppsResult(List apps, boolean hasMore) { + public ListTeamAppsResult(@Nonnull List apps, boolean hasMore) { this(apps, hasMore, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListTeamDevicesResult.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListTeamDevicesResult.java index cb700330e..1a3278e43 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListTeamDevicesResult.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/ListTeamDevicesResult.java @@ -69,7 +69,7 @@ public ListTeamDevicesResult(@Nonnull List devices, boolean hasMo * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ListTeamDevicesResult(List devices, boolean hasMore) { + public ListTeamDevicesResult(@Nonnull List devices, boolean hasMore) { this(devices, hasMore, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberAddArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberAddArg.java index 104a7192b..18b37dd1d 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberAddArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberAddArg.java @@ -72,7 +72,7 @@ public MemberAddArg(@Nonnull String memberEmail, @Nullable String memberGivenNam * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MemberAddArg(String memberEmail) { + public MemberAddArg(@Nonnull String memberEmail) { this(memberEmail, null, null, null, null, true, null, AdminTier.MEMBER_ONLY); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberAddArgBase.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberAddArgBase.java index 0807bbfb1..4a518a83f 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberAddArgBase.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberAddArgBase.java @@ -109,7 +109,7 @@ public MemberAddArgBase(@Nonnull String memberEmail, @Nullable String memberGive * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MemberAddArgBase(String memberEmail) { + public MemberAddArgBase(@Nonnull String memberEmail) { this(memberEmail, null, null, null, null, true, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberAddV2Arg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberAddV2Arg.java index 5db99cc60..7593de98b 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberAddV2Arg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberAddV2Arg.java @@ -87,7 +87,7 @@ public MemberAddV2Arg(@Nonnull String memberEmail, @Nullable String memberGivenN * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MemberAddV2Arg(String memberEmail) { + public MemberAddV2Arg(@Nonnull String memberEmail) { this(memberEmail, null, null, null, null, true, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberDevices.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberDevices.java index 2be0bda18..fcb29098a 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberDevices.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MemberDevices.java @@ -89,7 +89,7 @@ public MemberDevices(@Nonnull String teamMemberId, @Nullable List newMembers, boolean forceAsync) * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MembersAddArg(List newMembers) { + public MembersAddArg(@Nonnull List newMembers) { this(newMembers, false); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersAddV2Arg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersAddV2Arg.java index 2028b7a06..141eda132 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersAddV2Arg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersAddV2Arg.java @@ -57,7 +57,7 @@ public MembersAddV2Arg(@Nonnull List newMembers, boolean forceAs * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MembersAddV2Arg(List newMembers) { + public MembersAddV2Arg(@Nonnull List newMembers) { this(newMembers, false); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersDeactivateArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersDeactivateArg.java index e94fdc8bc..3c1e5a01e 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersDeactivateArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersDeactivateArg.java @@ -49,7 +49,7 @@ public MembersDeactivateArg(@Nonnull UserSelectorArg user, boolean wipeData) { * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MembersDeactivateArg(UserSelectorArg user) { + public MembersDeactivateArg(@Nonnull UserSelectorArg user) { this(user, true); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersRemoveArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersRemoveArg.java index 92fb751d1..0583e8dd1 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersRemoveArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersRemoveArg.java @@ -79,7 +79,7 @@ public MembersRemoveArg(@Nonnull UserSelectorArg user, boolean wipeData, @Nullab * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MembersRemoveArg(UserSelectorArg user) { + public MembersRemoveArg(@Nonnull UserSelectorArg user) { this(user, true, null, null, false, false); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersSetPermissions2Arg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersSetPermissions2Arg.java index 235610eb4..ba18cc2ff 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersSetPermissions2Arg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/MembersSetPermissions2Arg.java @@ -79,7 +79,7 @@ public MembersSetPermissions2Arg(@Nonnull UserSelectorArg user, @Nullable List domains, @Nonnull List * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharingAllowlistListResponse(List domains, List emails) { + public SharingAllowlistListResponse(@Nonnull List domains, @Nonnull List emails) { this(domains, emails, "", false); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamFolderArchiveArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamFolderArchiveArg.java index 1e7bdaf4d..b8218c058 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamFolderArchiveArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamFolderArchiveArg.java @@ -50,7 +50,7 @@ public TeamFolderArchiveArg(@Nonnull String teamFolderId, boolean forceAsyncOff) * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public TeamFolderArchiveArg(String teamFolderId) { + public TeamFolderArchiveArg(@Nonnull String teamFolderId) { this(teamFolderId, false); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamFolderCreateArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamFolderCreateArg.java index 1937d0af7..99bc07d85 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamFolderCreateArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamFolderCreateArg.java @@ -53,7 +53,7 @@ public TeamFolderCreateArg(@Nonnull String name, @Nullable SyncSettingArg syncSe * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public TeamFolderCreateArg(String name) { + public TeamFolderCreateArg(@Nonnull String name) { this(name, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamFolderUpdateSyncSettingsArg.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamFolderUpdateSyncSettingsArg.java index 74de1db42..ef2951ae7 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamFolderUpdateSyncSettingsArg.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamFolderUpdateSyncSettingsArg.java @@ -67,7 +67,7 @@ public TeamFolderUpdateSyncSettingsArg(@Nonnull String teamFolderId, @Nullable S * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public TeamFolderUpdateSyncSettingsArg(String teamFolderId) { + public TeamFolderUpdateSyncSettingsArg(@Nonnull String teamFolderId) { this(teamFolderId, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamGetInfoResult.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamGetInfoResult.java index ee77b6f8d..aa1e4497f 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamGetInfoResult.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamGetInfoResult.java @@ -75,7 +75,7 @@ public TeamGetInfoResult(@Nonnull String name, @Nonnull String teamId, long numL * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public TeamGetInfoResult(String name, String teamId, long numLicensedUsers, long numProvisionedUsers, TeamMemberPolicies policies) { + public TeamGetInfoResult(@Nonnull String name, @Nonnull String teamId, long numLicensedUsers, long numProvisionedUsers, @Nonnull TeamMemberPolicies policies) { this(name, teamId, numLicensedUsers, numProvisionedUsers, policies, 0L); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamMemberInfoV2.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamMemberInfoV2.java index dcd6552bc..312484570 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamMemberInfoV2.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/TeamMemberInfoV2.java @@ -66,7 +66,7 @@ public TeamMemberInfoV2(@Nonnull TeamMemberProfile profile, @Nullable List groups, String memberFolderId) { + public TeamMemberProfile(@Nonnull String teamMemberId, @Nonnull String email, boolean emailVerified, @Nonnull TeamMemberStatus status, @Nonnull Name name, @Nonnull TeamMembershipType membershipType, @Nonnull List groups, @Nonnull String memberFolderId) { this(teamMemberId, email, emailVerified, status, name, membershipType, groups, memberFolderId, null, null, null, null, null, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/UserCustomQuotaResult.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/UserCustomQuotaResult.java index a6e681946..fcdf4e99a 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/UserCustomQuotaResult.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/team/UserCustomQuotaResult.java @@ -63,7 +63,7 @@ public UserCustomQuotaResult(@Nonnull UserSelectorArg user, @Nullable Long quota * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public UserCustomQuotaResult(UserSelectorArg user) { + public UserCustomQuotaResult(@Nonnull UserSelectorArg user) { this(user, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamcommon/GroupSummary.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamcommon/GroupSummary.java index 8172e019e..d3213e276 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamcommon/GroupSummary.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamcommon/GroupSummary.java @@ -78,7 +78,7 @@ public GroupSummary(@Nonnull String groupName, @Nonnull String groupId, @Nonnull * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GroupSummary(String groupName, String groupId, GroupManagementType groupManagementType) { + public GroupSummary(@Nonnull String groupName, @Nonnull String groupId, @Nonnull GroupManagementType groupManagementType) { this(groupName, groupId, groupManagementType, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AccountCaptureChangeAvailabilityDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AccountCaptureChangeAvailabilityDetails.java index a9d68ade8..4eb609cc8 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AccountCaptureChangeAvailabilityDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AccountCaptureChangeAvailabilityDetails.java @@ -58,7 +58,7 @@ public AccountCaptureChangeAvailabilityDetails(@Nonnull AccountCaptureAvailabili * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public AccountCaptureChangeAvailabilityDetails(AccountCaptureAvailability newValue) { + public AccountCaptureChangeAvailabilityDetails(@Nonnull AccountCaptureAvailability newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AccountCaptureChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AccountCaptureChangePolicyDetails.java index 7a0de0900..83740a642 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AccountCaptureChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AccountCaptureChangePolicyDetails.java @@ -56,7 +56,7 @@ public AccountCaptureChangePolicyDetails(@Nonnull AccountCapturePolicy newValue, * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public AccountCaptureChangePolicyDetails(AccountCapturePolicy newValue) { + public AccountCaptureChangePolicyDetails(@Nonnull AccountCapturePolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AccountCaptureNotificationEmailsSentDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AccountCaptureNotificationEmailsSentDetails.java index 4fa8646f5..0730e1610 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AccountCaptureNotificationEmailsSentDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AccountCaptureNotificationEmailsSentDetails.java @@ -55,7 +55,7 @@ public AccountCaptureNotificationEmailsSentDetails(@Nonnull String domainName, @ * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public AccountCaptureNotificationEmailsSentDetails(String domainName) { + public AccountCaptureNotificationEmailsSentDetails(@Nonnull String domainName) { this(domainName, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AppPermissionsChangedDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AppPermissionsChangedDetails.java index aed6dc908..0f925d6b7 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AppPermissionsChangedDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/AppPermissionsChangedDetails.java @@ -68,7 +68,7 @@ public AppPermissionsChangedDetails(@Nonnull AdminConsoleAppPolicy previousValue * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public AppPermissionsChangedDetails(AdminConsoleAppPolicy previousValue, AdminConsoleAppPolicy newValue) { + public AppPermissionsChangedDetails(@Nonnull AdminConsoleAppPolicy previousValue, @Nonnull AdminConsoleAppPolicy newValue) { this(previousValue, newValue, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/BinderRenamePageDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/BinderRenamePageDetails.java index 98dc6c2dd..2184e6758 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/BinderRenamePageDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/BinderRenamePageDetails.java @@ -71,7 +71,7 @@ public BinderRenamePageDetails(@Nonnull String eventUuid, @Nonnull String docTit * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public BinderRenamePageDetails(String eventUuid, String docTitle, String binderItemName) { + public BinderRenamePageDetails(@Nonnull String eventUuid, @Nonnull String docTitle, @Nonnull String binderItemName) { this(eventUuid, docTitle, binderItemName, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/BinderRenameSectionDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/BinderRenameSectionDetails.java index d3a34360a..984117f34 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/BinderRenameSectionDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/BinderRenameSectionDetails.java @@ -71,7 +71,7 @@ public BinderRenameSectionDetails(@Nonnull String eventUuid, @Nonnull String doc * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public BinderRenameSectionDetails(String eventUuid, String docTitle, String binderItemName) { + public BinderRenameSectionDetails(@Nonnull String eventUuid, @Nonnull String docTitle, @Nonnull String binderItemName) { this(eventUuid, docTitle, binderItemName, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/Certificate.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/Certificate.java index 61bcbdcd9..4fa5fcf7f 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/Certificate.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/Certificate.java @@ -94,7 +94,7 @@ public Certificate(@Nonnull String subject, @Nonnull String issuer, @Nonnull Str * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public Certificate(String subject, String issuer, String issueDate, String expirationDate, String serialNumber, String sha1Fingerprint) { + public Certificate(@Nonnull String subject, @Nonnull String issuer, @Nonnull String issueDate, @Nonnull String expirationDate, @Nonnull String serialNumber, @Nonnull String sha1Fingerprint) { this(subject, issuer, issueDate, expirationDate, serialNumber, sha1Fingerprint, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DesktopDeviceSessionLogInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DesktopDeviceSessionLogInfo.java index d0d22caad..c4f4a3814 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DesktopDeviceSessionLogInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DesktopDeviceSessionLogInfo.java @@ -92,7 +92,7 @@ public DesktopDeviceSessionLogInfo(@Nonnull String hostName, @Nonnull DesktopPla * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public DesktopDeviceSessionLogInfo(String hostName, DesktopPlatform clientType, String platform, boolean isDeleteOnUnlinkSupported) { + public DesktopDeviceSessionLogInfo(@Nonnull String hostName, @Nonnull DesktopPlatform clientType, @Nonnull String platform, boolean isDeleteOnUnlinkSupported) { this(hostName, clientType, platform, isDeleteOnUnlinkSupported, null, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DeviceLinkFailDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DeviceLinkFailDetails.java index abab3db8a..a07663e73 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DeviceLinkFailDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DeviceLinkFailDetails.java @@ -58,7 +58,7 @@ public DeviceLinkFailDetails(@Nonnull DeviceType deviceType, @Nullable String ip * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public DeviceLinkFailDetails(DeviceType deviceType) { + public DeviceLinkFailDetails(@Nonnull DeviceType deviceType) { this(deviceType, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DomainVerificationAddDomainFailDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DomainVerificationAddDomainFailDetails.java index edde7b643..9983d387a 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DomainVerificationAddDomainFailDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DomainVerificationAddDomainFailDetails.java @@ -56,7 +56,7 @@ public DomainVerificationAddDomainFailDetails(@Nonnull String domainName, @Nulla * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public DomainVerificationAddDomainFailDetails(String domainName) { + public DomainVerificationAddDomainFailDetails(@Nonnull String domainName) { this(domainName, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DomainVerificationAddDomainSuccessDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DomainVerificationAddDomainSuccessDetails.java index 504b7e07e..0a534709d 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DomainVerificationAddDomainSuccessDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/DomainVerificationAddDomainSuccessDetails.java @@ -64,7 +64,7 @@ public DomainVerificationAddDomainSuccessDetails(@Nonnull List domainNam * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public DomainVerificationAddDomainSuccessDetails(List domainNames) { + public DomainVerificationAddDomainSuccessDetails(@Nonnull List domainNames) { this(domainNames, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/EmailIngestReceiveFileDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/EmailIngestReceiveFileDetails.java index c18b43d6e..499f8cfb5 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/EmailIngestReceiveFileDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/EmailIngestReceiveFileDetails.java @@ -85,7 +85,7 @@ public EmailIngestReceiveFileDetails(@Nonnull String inboxName, @Nonnull List attachmentNames) { + public EmailIngestReceiveFileDetails(@Nonnull String inboxName, @Nonnull List attachmentNames) { this(inboxName, attachmentNames, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/EmmChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/EmmChangePolicyDetails.java index 108bc9594..75e9f9328 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/EmmChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/EmmChangePolicyDetails.java @@ -59,7 +59,7 @@ public EmmChangePolicyDetails(@Nonnull EmmState newValue, @Nullable EmmState pre * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public EmmChangePolicyDetails(EmmState newValue) { + public EmmChangePolicyDetails(@Nonnull EmmState newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ExtendedVersionHistoryChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ExtendedVersionHistoryChangePolicyDetails.java index b9fd507ce..46d1a624d 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ExtendedVersionHistoryChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ExtendedVersionHistoryChangePolicyDetails.java @@ -58,7 +58,7 @@ public ExtendedVersionHistoryChangePolicyDetails(@Nonnull ExtendedVersionHistory * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ExtendedVersionHistoryChangePolicyDetails(ExtendedVersionHistoryPolicy newValue) { + public ExtendedVersionHistoryChangePolicyDetails(@Nonnull ExtendedVersionHistoryPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileChangeCommentSubscriptionDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileChangeCommentSubscriptionDetails.java index 82619ab32..23db6240d 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileChangeCommentSubscriptionDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileChangeCommentSubscriptionDetails.java @@ -56,7 +56,7 @@ public FileChangeCommentSubscriptionDetails(@Nonnull FileCommentNotificationPoli * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FileChangeCommentSubscriptionDetails(FileCommentNotificationPolicy newValue) { + public FileChangeCommentSubscriptionDetails(@Nonnull FileCommentNotificationPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileCommentsChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileCommentsChangePolicyDetails.java index 7e6b66e4a..6672c1956 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileCommentsChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileCommentsChangePolicyDetails.java @@ -58,7 +58,7 @@ public FileCommentsChangePolicyDetails(@Nonnull FileCommentsPolicy newValue, @Nu * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FileCommentsChangePolicyDetails(FileCommentsPolicy newValue) { + public FileCommentsChangePolicyDetails(@Nonnull FileCommentsPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileEditCommentDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileEditCommentDetails.java index 0db6ef551..13a594ea0 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileEditCommentDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileEditCommentDetails.java @@ -57,7 +57,7 @@ public FileEditCommentDetails(@Nonnull String previousCommentText, @Nullable Str * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FileEditCommentDetails(String previousCommentText) { + public FileEditCommentDetails(@Nonnull String previousCommentText) { this(previousCommentText, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileLogInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileLogInfo.java index 7f2cacf65..49db20ec4 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileLogInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileLogInfo.java @@ -53,7 +53,7 @@ public FileLogInfo(@Nonnull PathLogInfo path, @Nullable String displayName, @Nul * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FileLogInfo(PathLogInfo path) { + public FileLogInfo(@Nonnull PathLogInfo path) { this(path, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileOrFolderLogInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileOrFolderLogInfo.java index a71450874..15cdd56de 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileOrFolderLogInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileOrFolderLogInfo.java @@ -64,7 +64,7 @@ public FileOrFolderLogInfo(@Nonnull PathLogInfo path, @Nullable String displayNa * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FileOrFolderLogInfo(PathLogInfo path) { + public FileOrFolderLogInfo(@Nonnull PathLogInfo path) { this(path, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileRequestChangeDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileRequestChangeDetails.java index 1c3025a5a..11adc6f9d 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileRequestChangeDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileRequestChangeDetails.java @@ -72,7 +72,7 @@ public FileRequestChangeDetails(@Nonnull FileRequestDetails newDetails, @Nullabl * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FileRequestChangeDetails(FileRequestDetails newDetails) { + public FileRequestChangeDetails(@Nonnull FileRequestDetails newDetails) { this(newDetails, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileRequestReceiveFileDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileRequestReceiveFileDetails.java index f5ee57f36..79d716195 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileRequestReceiveFileDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileRequestReceiveFileDetails.java @@ -92,7 +92,7 @@ public FileRequestReceiveFileDetails(@Nonnull List submittedFileNames, @ * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FileRequestReceiveFileDetails(List submittedFileNames) { + public FileRequestReceiveFileDetails(@Nonnull List submittedFileNames) { this(submittedFileNames, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileRequestsChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileRequestsChangePolicyDetails.java index 9ff3387fa..ab8f4d864 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileRequestsChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FileRequestsChangePolicyDetails.java @@ -56,7 +56,7 @@ public FileRequestsChangePolicyDetails(@Nonnull FileRequestsPolicy newValue, @Nu * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FileRequestsChangePolicyDetails(FileRequestsPolicy newValue) { + public FileRequestsChangePolicyDetails(@Nonnull FileRequestsPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FolderLogInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FolderLogInfo.java index bce29fc16..16aa602c3 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FolderLogInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/FolderLogInfo.java @@ -57,7 +57,7 @@ public FolderLogInfo(@Nonnull PathLogInfo path, @Nullable String displayName, @N * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FolderLogInfo(PathLogInfo path) { + public FolderLogInfo(@Nonnull PathLogInfo path) { this(path, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GeoLocationLogInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GeoLocationLogInfo.java index 6c7e4f8fa..382dff305 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GeoLocationLogInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GeoLocationLogInfo.java @@ -64,7 +64,7 @@ public GeoLocationLogInfo(@Nonnull String ipAddress, @Nullable String city, @Nul * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GeoLocationLogInfo(String ipAddress) { + public GeoLocationLogInfo(@Nonnull String ipAddress) { this(ipAddress, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GoogleSsoChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GoogleSsoChangePolicyDetails.java index cf5c156bd..5826cd9fc 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GoogleSsoChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GoogleSsoChangePolicyDetails.java @@ -58,7 +58,7 @@ public GoogleSsoChangePolicyDetails(@Nonnull GoogleSsoPolicy newValue, @Nullable * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GoogleSsoChangePolicyDetails(GoogleSsoPolicy newValue) { + public GoogleSsoChangePolicyDetails(@Nonnull GoogleSsoPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyAddFolderFailedDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyAddFolderFailedDetails.java index 98225fabd..a46149726 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyAddFolderFailedDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyAddFolderFailedDetails.java @@ -75,7 +75,7 @@ public GovernancePolicyAddFolderFailedDetails(@Nonnull String governancePolicyId * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GovernancePolicyAddFolderFailedDetails(String governancePolicyId, String name, String folder) { + public GovernancePolicyAddFolderFailedDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull String folder) { this(governancePolicyId, name, folder, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyAddFoldersDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyAddFoldersDetails.java index 5e83ad5ad..03d053415 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyAddFoldersDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyAddFoldersDetails.java @@ -76,7 +76,7 @@ public GovernancePolicyAddFoldersDetails(@Nonnull String governancePolicyId, @No * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GovernancePolicyAddFoldersDetails(String governancePolicyId, String name) { + public GovernancePolicyAddFoldersDetails(@Nonnull String governancePolicyId, @Nonnull String name) { this(governancePolicyId, name, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyContentDisposedDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyContentDisposedDetails.java index 389110def..71446e51b 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyContentDisposedDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyContentDisposedDetails.java @@ -69,7 +69,7 @@ public GovernancePolicyContentDisposedDetails(@Nonnull String governancePolicyId * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GovernancePolicyContentDisposedDetails(String governancePolicyId, String name, DispositionActionType dispositionType) { + public GovernancePolicyContentDisposedDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull DispositionActionType dispositionType) { this(governancePolicyId, name, dispositionType, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyCreateDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyCreateDetails.java index cc7124c8e..ef821e940 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyCreateDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyCreateDetails.java @@ -83,7 +83,7 @@ public GovernancePolicyCreateDetails(@Nonnull String governancePolicyId, @Nonnul * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GovernancePolicyCreateDetails(String governancePolicyId, String name, DurationLogInfo duration) { + public GovernancePolicyCreateDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull DurationLogInfo duration) { this(governancePolicyId, name, duration, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyDeleteDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyDeleteDetails.java index da7facbd1..dbb7a07ea 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyDeleteDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyDeleteDetails.java @@ -62,7 +62,7 @@ public GovernancePolicyDeleteDetails(@Nonnull String governancePolicyId, @Nonnul * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GovernancePolicyDeleteDetails(String governancePolicyId, String name) { + public GovernancePolicyDeleteDetails(@Nonnull String governancePolicyId, @Nonnull String name) { this(governancePolicyId, name, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyEditDetailsDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyEditDetailsDetails.java index 8c37bb301..c1f2749ec 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyEditDetailsDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyEditDetailsDetails.java @@ -83,7 +83,7 @@ public GovernancePolicyEditDetailsDetails(@Nonnull String governancePolicyId, @N * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GovernancePolicyEditDetailsDetails(String governancePolicyId, String name, String attribute, String previousValue, String newValue) { + public GovernancePolicyEditDetailsDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull String attribute, @Nonnull String previousValue, @Nonnull String newValue) { this(governancePolicyId, name, attribute, previousValue, newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyEditDurationDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyEditDurationDetails.java index d6faa2920..4729a9cad 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyEditDurationDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyEditDurationDetails.java @@ -76,7 +76,7 @@ public GovernancePolicyEditDurationDetails(@Nonnull String governancePolicyId, @ * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GovernancePolicyEditDurationDetails(String governancePolicyId, String name, DurationLogInfo previousValue, DurationLogInfo newValue) { + public GovernancePolicyEditDurationDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull DurationLogInfo previousValue, @Nonnull DurationLogInfo newValue) { this(governancePolicyId, name, previousValue, newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyExportCreatedDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyExportCreatedDetails.java index 5de9bab8b..75836c53b 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyExportCreatedDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyExportCreatedDetails.java @@ -69,7 +69,7 @@ public GovernancePolicyExportCreatedDetails(@Nonnull String governancePolicyId, * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GovernancePolicyExportCreatedDetails(String governancePolicyId, String name, String exportName) { + public GovernancePolicyExportCreatedDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull String exportName) { this(governancePolicyId, name, exportName, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyExportRemovedDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyExportRemovedDetails.java index f5146221e..17839a061 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyExportRemovedDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyExportRemovedDetails.java @@ -69,7 +69,7 @@ public GovernancePolicyExportRemovedDetails(@Nonnull String governancePolicyId, * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GovernancePolicyExportRemovedDetails(String governancePolicyId, String name, String exportName) { + public GovernancePolicyExportRemovedDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull String exportName) { this(governancePolicyId, name, exportName, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyRemoveFoldersDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyRemoveFoldersDetails.java index da4f8845e..eb94ec1dd 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyRemoveFoldersDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyRemoveFoldersDetails.java @@ -79,7 +79,7 @@ public GovernancePolicyRemoveFoldersDetails(@Nonnull String governancePolicyId, * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GovernancePolicyRemoveFoldersDetails(String governancePolicyId, String name) { + public GovernancePolicyRemoveFoldersDetails(@Nonnull String governancePolicyId, @Nonnull String name) { this(governancePolicyId, name, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyReportCreatedDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyReportCreatedDetails.java index 87fa5720a..576c29703 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyReportCreatedDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyReportCreatedDetails.java @@ -62,7 +62,7 @@ public GovernancePolicyReportCreatedDetails(@Nonnull String governancePolicyId, * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GovernancePolicyReportCreatedDetails(String governancePolicyId, String name) { + public GovernancePolicyReportCreatedDetails(@Nonnull String governancePolicyId, @Nonnull String name) { this(governancePolicyId, name, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyZipPartDownloadedDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyZipPartDownloadedDetails.java index d0a15390c..0911ceb9c 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyZipPartDownloadedDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GovernancePolicyZipPartDownloadedDetails.java @@ -75,7 +75,7 @@ public GovernancePolicyZipPartDownloadedDetails(@Nonnull String governancePolicy * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GovernancePolicyZipPartDownloadedDetails(String governancePolicyId, String name, String exportName) { + public GovernancePolicyZipPartDownloadedDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull String exportName) { this(governancePolicyId, name, exportName, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GroupChangeManagementTypeDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GroupChangeManagementTypeDetails.java index 494c8d957..22157495b 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GroupChangeManagementTypeDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GroupChangeManagementTypeDetails.java @@ -57,7 +57,7 @@ public GroupChangeManagementTypeDetails(@Nonnull GroupManagementType newValue, @ * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GroupChangeManagementTypeDetails(GroupManagementType newValue) { + public GroupChangeManagementTypeDetails(@Nonnull GroupManagementType newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GroupLogInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GroupLogInfo.java index d27a3ff42..fc9d0987d 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GroupLogInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GroupLogInfo.java @@ -61,7 +61,7 @@ public GroupLogInfo(@Nonnull String displayName, @Nullable String groupId, @Null * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GroupLogInfo(String displayName) { + public GroupLogInfo(@Nonnull String displayName) { this(displayName, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GroupUserManagementChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GroupUserManagementChangePolicyDetails.java index bc2369782..af393466a 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GroupUserManagementChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GroupUserManagementChangePolicyDetails.java @@ -59,7 +59,7 @@ public GroupUserManagementChangePolicyDetails(@Nonnull GroupCreation newValue, @ * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GroupUserManagementChangePolicyDetails(GroupCreation newValue) { + public GroupUserManagementChangePolicyDetails(@Nonnull GroupCreation newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GuestAdminChangeStatusDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GuestAdminChangeStatusDetails.java index 3fe822f7a..48a8796a5 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GuestAdminChangeStatusDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/GuestAdminChangeStatusDetails.java @@ -79,7 +79,7 @@ public GuestAdminChangeStatusDetails(boolean isGuest, @Nonnull TrustedTeamsReque * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public GuestAdminChangeStatusDetails(boolean isGuest, TrustedTeamsRequestState previousValue, TrustedTeamsRequestState newValue, TrustedTeamsRequestAction actionDetails) { + public GuestAdminChangeStatusDetails(boolean isGuest, @Nonnull TrustedTeamsRequestState previousValue, @Nonnull TrustedTeamsRequestState newValue, @Nonnull TrustedTeamsRequestAction actionDetails) { this(isGuest, previousValue, newValue, actionDetails, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/JoinTeamDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/JoinTeamDetails.java index 9e7c063e3..72760d81a 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/JoinTeamDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/JoinTeamDetails.java @@ -120,7 +120,7 @@ public JoinTeamDetails(@Nonnull List linkedApps, @Nonnull * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public JoinTeamDetails(List linkedApps, List linkedDevices, List linkedSharedFolders) { + public JoinTeamDetails(@Nonnull List linkedApps, @Nonnull List linkedDevices, @Nonnull List linkedSharedFolders) { this(linkedApps, linkedDevices, linkedSharedFolders, null, null, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LegalHoldsActivateAHoldDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LegalHoldsActivateAHoldDetails.java index 755052380..e9c2eab90 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LegalHoldsActivateAHoldDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LegalHoldsActivateAHoldDetails.java @@ -71,7 +71,7 @@ public LegalHoldsActivateAHoldDetails(@Nonnull String legalHoldId, @Nonnull Stri * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public LegalHoldsActivateAHoldDetails(String legalHoldId, String name, Date startDate) { + public LegalHoldsActivateAHoldDetails(@Nonnull String legalHoldId, @Nonnull String name, @Nonnull Date startDate) { this(legalHoldId, name, startDate, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LegalHoldsExportAHoldDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LegalHoldsExportAHoldDetails.java index 58a913089..e886e1b92 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LegalHoldsExportAHoldDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LegalHoldsExportAHoldDetails.java @@ -62,7 +62,7 @@ public LegalHoldsExportAHoldDetails(@Nonnull String legalHoldId, @Nonnull String * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public LegalHoldsExportAHoldDetails(String legalHoldId, String name) { + public LegalHoldsExportAHoldDetails(@Nonnull String legalHoldId, @Nonnull String name) { this(legalHoldId, name, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LegalHoldsExportDownloadedDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LegalHoldsExportDownloadedDetails.java index de92db7c2..eebe7547d 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LegalHoldsExportDownloadedDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LegalHoldsExportDownloadedDetails.java @@ -75,7 +75,7 @@ public LegalHoldsExportDownloadedDetails(@Nonnull String legalHoldId, @Nonnull S * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public LegalHoldsExportDownloadedDetails(String legalHoldId, String name, String exportName) { + public LegalHoldsExportDownloadedDetails(@Nonnull String legalHoldId, @Nonnull String name, @Nonnull String exportName) { this(legalHoldId, name, exportName, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LoginFailDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LoginFailDetails.java index 3ed847d90..233ffe8e7 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LoginFailDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LoginFailDetails.java @@ -63,7 +63,7 @@ public LoginFailDetails(@Nonnull LoginMethod loginMethod, @Nonnull FailureDetail * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public LoginFailDetails(LoginMethod loginMethod, FailureDetailsLogInfo errorDetails) { + public LoginFailDetails(@Nonnull LoginMethod loginMethod, @Nonnull FailureDetailsLogInfo errorDetails) { this(loginMethod, errorDetails, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LoginSuccessDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LoginSuccessDetails.java index 1a36a7eb8..8b4287962 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LoginSuccessDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/LoginSuccessDetails.java @@ -56,7 +56,7 @@ public LoginSuccessDetails(@Nonnull LoginMethod loginMethod, @Nullable Boolean i * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public LoginSuccessDetails(LoginMethod loginMethod) { + public LoginSuccessDetails(@Nonnull LoginMethod loginMethod) { this(loginMethod, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberChangeEmailDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberChangeEmailDetails.java index db313e691..8ba72b1e2 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberChangeEmailDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberChangeEmailDetails.java @@ -66,7 +66,7 @@ public MemberChangeEmailDetails(@Nonnull String newValue, @Nullable String previ * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MemberChangeEmailDetails(String newValue) { + public MemberChangeEmailDetails(@Nonnull String newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberChangeNameDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberChangeNameDetails.java index 929a319c7..2d01b1a3b 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberChangeNameDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberChangeNameDetails.java @@ -56,7 +56,7 @@ public MemberChangeNameDetails(@Nonnull UserNameLogInfo newValue, @Nullable User * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MemberChangeNameDetails(UserNameLogInfo newValue) { + public MemberChangeNameDetails(@Nonnull UserNameLogInfo newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberChangeStatusDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberChangeStatusDetails.java index fb3a63150..2d0ff90bb 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberChangeStatusDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberChangeStatusDetails.java @@ -71,7 +71,7 @@ public MemberChangeStatusDetails(@Nonnull MemberStatus newValue, @Nullable Membe * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MemberChangeStatusDetails(MemberStatus newValue) { + public MemberChangeStatusDetails(@Nonnull MemberStatus newValue) { this(newValue, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberRequestsChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberRequestsChangePolicyDetails.java index 9e31858d2..d2d2eb43b 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberRequestsChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberRequestsChangePolicyDetails.java @@ -58,7 +58,7 @@ public MemberRequestsChangePolicyDetails(@Nonnull MemberRequestsPolicy newValue, * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MemberRequestsChangePolicyDetails(MemberRequestsPolicy newValue) { + public MemberRequestsChangePolicyDetails(@Nonnull MemberRequestsPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberSuggestionsChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberSuggestionsChangePolicyDetails.java index 20239811b..632cac7b4 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberSuggestionsChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MemberSuggestionsChangePolicyDetails.java @@ -60,7 +60,7 @@ public MemberSuggestionsChangePolicyDetails(@Nonnull MemberSuggestionsPolicy new * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MemberSuggestionsChangePolicyDetails(MemberSuggestionsPolicy newValue) { + public MemberSuggestionsChangePolicyDetails(@Nonnull MemberSuggestionsPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MicrosoftOfficeAddinChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MicrosoftOfficeAddinChangePolicyDetails.java index 2f908746c..58b499cbb 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MicrosoftOfficeAddinChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MicrosoftOfficeAddinChangePolicyDetails.java @@ -58,7 +58,7 @@ public MicrosoftOfficeAddinChangePolicyDetails(@Nonnull MicrosoftOfficeAddinPoli * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MicrosoftOfficeAddinChangePolicyDetails(MicrosoftOfficeAddinPolicy newValue) { + public MicrosoftOfficeAddinChangePolicyDetails(@Nonnull MicrosoftOfficeAddinPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MobileDeviceSessionLogInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MobileDeviceSessionLogInfo.java index 5c6a4de0a..4b7d59d7a 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MobileDeviceSessionLogInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/MobileDeviceSessionLogInfo.java @@ -81,7 +81,7 @@ public MobileDeviceSessionLogInfo(@Nonnull String deviceName, @Nonnull MobileCli * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public MobileDeviceSessionLogInfo(String deviceName, MobileClientPlatform clientType) { + public MobileDeviceSessionLogInfo(@Nonnull String deviceName, @Nonnull MobileClientPlatform clientType) { this(deviceName, clientType, null, null, null, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/NetworkControlChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/NetworkControlChangePolicyDetails.java index 3e7cf71fd..bf158c53c 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/NetworkControlChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/NetworkControlChangePolicyDetails.java @@ -56,7 +56,7 @@ public NetworkControlChangePolicyDetails(@Nonnull NetworkControlPolicy newValue, * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public NetworkControlChangePolicyDetails(NetworkControlPolicy newValue) { + public NetworkControlChangePolicyDetails(@Nonnull NetworkControlPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/OriginLogInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/OriginLogInfo.java index bec501fb0..196aa1be0 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/OriginLogInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/OriginLogInfo.java @@ -57,7 +57,7 @@ public OriginLogInfo(@Nonnull AccessMethodLogInfo accessMethod, @Nullable GeoLoc * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public OriginLogInfo(AccessMethodLogInfo accessMethod) { + public OriginLogInfo(@Nonnull AccessMethodLogInfo accessMethod) { this(accessMethod, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperChangeDeploymentPolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperChangeDeploymentPolicyDetails.java index 7de688666..cf0be7792 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperChangeDeploymentPolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperChangeDeploymentPolicyDetails.java @@ -62,7 +62,7 @@ public PaperChangeDeploymentPolicyDetails(@Nonnull PaperDeploymentPolicy newValu * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperChangeDeploymentPolicyDetails(PaperDeploymentPolicy newValue) { + public PaperChangeDeploymentPolicyDetails(@Nonnull PaperDeploymentPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperChangeMemberPolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperChangeMemberPolicyDetails.java index fc0b47fa7..517627fad 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperChangeMemberPolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperChangeMemberPolicyDetails.java @@ -61,7 +61,7 @@ public PaperChangeMemberPolicyDetails(@Nonnull PaperMemberPolicy newValue, @Null * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperChangeMemberPolicyDetails(PaperMemberPolicy newValue) { + public PaperChangeMemberPolicyDetails(@Nonnull PaperMemberPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperChangePolicyDetails.java index dd0d49fdb..e7bf0d74e 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperChangePolicyDetails.java @@ -57,7 +57,7 @@ public PaperChangePolicyDetails(@Nonnull PaperEnabledPolicy newValue, @Nullable * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperChangePolicyDetails(PaperEnabledPolicy newValue) { + public PaperChangePolicyDetails(@Nonnull PaperEnabledPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperContentRemoveFromFolderDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperContentRemoveFromFolderDetails.java index 3f475692a..b7b3ef509 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperContentRemoveFromFolderDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperContentRemoveFromFolderDetails.java @@ -61,7 +61,7 @@ public PaperContentRemoveFromFolderDetails(@Nonnull String eventUuid, @Nullable * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperContentRemoveFromFolderDetails(String eventUuid) { + public PaperContentRemoveFromFolderDetails(@Nonnull String eventUuid) { this(eventUuid, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocAddCommentDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocAddCommentDetails.java index 40f60fa0f..1ab534be8 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocAddCommentDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocAddCommentDetails.java @@ -55,7 +55,7 @@ public PaperDocAddCommentDetails(@Nonnull String eventUuid, @Nullable String com * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperDocAddCommentDetails(String eventUuid) { + public PaperDocAddCommentDetails(@Nonnull String eventUuid) { this(eventUuid, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocChangeSharingPolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocChangeSharingPolicyDetails.java index e0c4e7d7f..12e659745 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocChangeSharingPolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocChangeSharingPolicyDetails.java @@ -61,7 +61,7 @@ public PaperDocChangeSharingPolicyDetails(@Nonnull String eventUuid, @Nullable S * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperDocChangeSharingPolicyDetails(String eventUuid) { + public PaperDocChangeSharingPolicyDetails(@Nonnull String eventUuid) { this(eventUuid, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocChangeSubscriptionDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocChangeSubscriptionDetails.java index e43303db2..5e86c427e 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocChangeSubscriptionDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocChangeSubscriptionDetails.java @@ -65,7 +65,7 @@ public PaperDocChangeSubscriptionDetails(@Nonnull String eventUuid, @Nonnull Str * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperDocChangeSubscriptionDetails(String eventUuid, String newSubscriptionLevel) { + public PaperDocChangeSubscriptionDetails(@Nonnull String eventUuid, @Nonnull String newSubscriptionLevel) { this(eventUuid, newSubscriptionLevel, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocDeleteCommentDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocDeleteCommentDetails.java index 26fa62ee5..6d171cd47 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocDeleteCommentDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocDeleteCommentDetails.java @@ -55,7 +55,7 @@ public PaperDocDeleteCommentDetails(@Nonnull String eventUuid, @Nullable String * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperDocDeleteCommentDetails(String eventUuid) { + public PaperDocDeleteCommentDetails(@Nonnull String eventUuid) { this(eventUuid, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocEditCommentDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocEditCommentDetails.java index 5ec37d278..36f9f2a2f 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocEditCommentDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocEditCommentDetails.java @@ -55,7 +55,7 @@ public PaperDocEditCommentDetails(@Nonnull String eventUuid, @Nullable String co * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperDocEditCommentDetails(String eventUuid) { + public PaperDocEditCommentDetails(@Nonnull String eventUuid) { this(eventUuid, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocOwnershipChangedDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocOwnershipChangedDetails.java index d5c2b2587..716c225f5 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocOwnershipChangedDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocOwnershipChangedDetails.java @@ -79,7 +79,7 @@ public PaperDocOwnershipChangedDetails(@Nonnull String eventUuid, @Nonnull Strin * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperDocOwnershipChangedDetails(String eventUuid, String newOwnerUserId) { + public PaperDocOwnershipChangedDetails(@Nonnull String eventUuid, @Nonnull String newOwnerUserId) { this(eventUuid, newOwnerUserId, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocResolveCommentDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocResolveCommentDetails.java index 83fc88ddf..bcf43f8e2 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocResolveCommentDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocResolveCommentDetails.java @@ -55,7 +55,7 @@ public PaperDocResolveCommentDetails(@Nonnull String eventUuid, @Nullable String * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperDocResolveCommentDetails(String eventUuid) { + public PaperDocResolveCommentDetails(@Nonnull String eventUuid) { this(eventUuid, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocUnresolveCommentDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocUnresolveCommentDetails.java index d0e4714a0..9e530988b 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocUnresolveCommentDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperDocUnresolveCommentDetails.java @@ -55,7 +55,7 @@ public PaperDocUnresolveCommentDetails(@Nonnull String eventUuid, @Nullable Stri * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperDocUnresolveCommentDetails(String eventUuid) { + public PaperDocUnresolveCommentDetails(@Nonnull String eventUuid) { this(eventUuid, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperFolderChangeSubscriptionDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperFolderChangeSubscriptionDetails.java index e37747566..bfca85e5a 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperFolderChangeSubscriptionDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PaperFolderChangeSubscriptionDetails.java @@ -65,7 +65,7 @@ public PaperFolderChangeSubscriptionDetails(@Nonnull String eventUuid, @Nonnull * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PaperFolderChangeSubscriptionDetails(String eventUuid, String newSubscriptionLevel) { + public PaperFolderChangeSubscriptionDetails(@Nonnull String eventUuid, @Nonnull String newSubscriptionLevel) { this(eventUuid, newSubscriptionLevel, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PathLogInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PathLogInfo.java index 5e1827f66..63490e9ad 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PathLogInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PathLogInfo.java @@ -57,7 +57,7 @@ public PathLogInfo(@Nonnull NamespaceRelativePathLogInfo namespaceRelative, @Nul * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PathLogInfo(NamespaceRelativePathLogInfo namespaceRelative) { + public PathLogInfo(@Nonnull NamespaceRelativePathLogInfo namespaceRelative) { this(namespaceRelative, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PermanentDeleteChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PermanentDeleteChangePolicyDetails.java index d8d5f8fbb..5de106fe7 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PermanentDeleteChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/PermanentDeleteChangePolicyDetails.java @@ -58,7 +58,7 @@ public PermanentDeleteChangePolicyDetails(@Nonnull ContentPermanentDeletePolicy * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public PermanentDeleteChangePolicyDetails(ContentPermanentDeletePolicy newValue) { + public PermanentDeleteChangePolicyDetails(@Nonnull ContentPermanentDeletePolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfAddGroupDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfAddGroupDetails.java index 375498d21..9e2f70b3c 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfAddGroupDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfAddGroupDetails.java @@ -68,7 +68,7 @@ public SfAddGroupDetails(long targetAssetIndex, @Nonnull String originalFolderNa * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SfAddGroupDetails(long targetAssetIndex, String originalFolderName, String teamName) { + public SfAddGroupDetails(long targetAssetIndex, @Nonnull String originalFolderName, @Nonnull String teamName) { this(targetAssetIndex, originalFolderName, teamName, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfAllowNonMembersToViewSharedLinksDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfAllowNonMembersToViewSharedLinksDetails.java index 1ac14e3a4..4b39b97a3 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfAllowNonMembersToViewSharedLinksDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfAllowNonMembersToViewSharedLinksDetails.java @@ -61,7 +61,7 @@ public SfAllowNonMembersToViewSharedLinksDetails(long targetAssetIndex, @Nonnull * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SfAllowNonMembersToViewSharedLinksDetails(long targetAssetIndex, String originalFolderName) { + public SfAllowNonMembersToViewSharedLinksDetails(long targetAssetIndex, @Nonnull String originalFolderName) { this(targetAssetIndex, originalFolderName, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfExternalInviteWarnDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfExternalInviteWarnDetails.java index bf0a64ad6..d7b17e46d 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfExternalInviteWarnDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfExternalInviteWarnDetails.java @@ -67,7 +67,7 @@ public SfExternalInviteWarnDetails(long targetAssetIndex, @Nonnull String origin * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SfExternalInviteWarnDetails(long targetAssetIndex, String originalFolderName) { + public SfExternalInviteWarnDetails(long targetAssetIndex, @Nonnull String originalFolderName) { this(targetAssetIndex, originalFolderName, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfFbInviteChangeRoleDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfFbInviteChangeRoleDetails.java index a0c6ad6ef..faf126ca3 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfFbInviteChangeRoleDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfFbInviteChangeRoleDetails.java @@ -67,7 +67,7 @@ public SfFbInviteChangeRoleDetails(long targetAssetIndex, @Nonnull String origin * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SfFbInviteChangeRoleDetails(long targetAssetIndex, String originalFolderName) { + public SfFbInviteChangeRoleDetails(long targetAssetIndex, @Nonnull String originalFolderName) { this(targetAssetIndex, originalFolderName, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfFbInviteDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfFbInviteDetails.java index b2a09b8e8..9a285b05f 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfFbInviteDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfFbInviteDetails.java @@ -61,7 +61,7 @@ public SfFbInviteDetails(long targetAssetIndex, @Nonnull String originalFolderNa * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SfFbInviteDetails(long targetAssetIndex, String originalFolderName) { + public SfFbInviteDetails(long targetAssetIndex, @Nonnull String originalFolderName) { this(targetAssetIndex, originalFolderName, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfTeamInviteChangeRoleDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfTeamInviteChangeRoleDetails.java index c05028fa4..e98c2c9d8 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfTeamInviteChangeRoleDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfTeamInviteChangeRoleDetails.java @@ -67,7 +67,7 @@ public SfTeamInviteChangeRoleDetails(long targetAssetIndex, @Nonnull String orig * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SfTeamInviteChangeRoleDetails(long targetAssetIndex, String originalFolderName) { + public SfTeamInviteChangeRoleDetails(long targetAssetIndex, @Nonnull String originalFolderName) { this(targetAssetIndex, originalFolderName, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfTeamInviteDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfTeamInviteDetails.java index d9ed39d9e..d519a1c12 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfTeamInviteDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfTeamInviteDetails.java @@ -61,7 +61,7 @@ public SfTeamInviteDetails(long targetAssetIndex, @Nonnull String originalFolder * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SfTeamInviteDetails(long targetAssetIndex, String originalFolderName) { + public SfTeamInviteDetails(long targetAssetIndex, @Nonnull String originalFolderName) { this(targetAssetIndex, originalFolderName, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfTeamJoinFromOobLinkDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfTeamJoinFromOobLinkDetails.java index 7e7427de5..ac145c460 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfTeamJoinFromOobLinkDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SfTeamJoinFromOobLinkDetails.java @@ -67,7 +67,7 @@ public SfTeamJoinFromOobLinkDetails(long targetAssetIndex, @Nonnull String origi * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SfTeamJoinFromOobLinkDetails(long targetAssetIndex, String originalFolderName) { + public SfTeamJoinFromOobLinkDetails(long targetAssetIndex, @Nonnull String originalFolderName) { this(targetAssetIndex, originalFolderName, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeDownloadsPolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeDownloadsPolicyDetails.java index a2ff56b78..bb9480ee9 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeDownloadsPolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeDownloadsPolicyDetails.java @@ -56,7 +56,7 @@ public SharedContentChangeDownloadsPolicyDetails(@Nonnull DownloadPolicyType new * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedContentChangeDownloadsPolicyDetails(DownloadPolicyType newValue) { + public SharedContentChangeDownloadsPolicyDetails(@Nonnull DownloadPolicyType newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeInviteeRoleDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeInviteeRoleDetails.java index e8ea057db..4d6f70f0c 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeInviteeRoleDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeInviteeRoleDetails.java @@ -72,7 +72,7 @@ public SharedContentChangeInviteeRoleDetails(@Nonnull AccessLevel newAccessLevel * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedContentChangeInviteeRoleDetails(AccessLevel newAccessLevel, String invitee) { + public SharedContentChangeInviteeRoleDetails(@Nonnull AccessLevel newAccessLevel, @Nonnull String invitee) { this(newAccessLevel, invitee, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeLinkAudienceDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeLinkAudienceDetails.java index 5561679c3..3430957ce 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeLinkAudienceDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeLinkAudienceDetails.java @@ -56,7 +56,7 @@ public SharedContentChangeLinkAudienceDetails(@Nonnull LinkAudience newValue, @N * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedContentChangeLinkAudienceDetails(LinkAudience newValue) { + public SharedContentChangeLinkAudienceDetails(@Nonnull LinkAudience newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeMemberRoleDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeMemberRoleDetails.java index 49b229f66..cf7e1742c 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeMemberRoleDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeMemberRoleDetails.java @@ -57,7 +57,7 @@ public SharedContentChangeMemberRoleDetails(@Nonnull AccessLevel newAccessLevel, * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedContentChangeMemberRoleDetails(AccessLevel newAccessLevel) { + public SharedContentChangeMemberRoleDetails(@Nonnull AccessLevel newAccessLevel) { this(newAccessLevel, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeViewerInfoPolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeViewerInfoPolicyDetails.java index 839ee99f5..9e48843f2 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeViewerInfoPolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentChangeViewerInfoPolicyDetails.java @@ -56,7 +56,7 @@ public SharedContentChangeViewerInfoPolicyDetails(@Nonnull ViewerInfoPolicy newV * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedContentChangeViewerInfoPolicyDetails(ViewerInfoPolicy newValue) { + public SharedContentChangeViewerInfoPolicyDetails(@Nonnull ViewerInfoPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentCopyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentCopyDetails.java index 80d695a6b..45af9588d 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentCopyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentCopyDetails.java @@ -74,7 +74,7 @@ public SharedContentCopyDetails(@Nonnull String sharedContentLink, @Nonnull Acce * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedContentCopyDetails(String sharedContentLink, AccessLevel sharedContentAccessLevel, String destinationPath) { + public SharedContentCopyDetails(@Nonnull String sharedContentLink, @Nonnull AccessLevel sharedContentAccessLevel, @Nonnull String destinationPath) { this(sharedContentLink, sharedContentAccessLevel, destinationPath, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentDownloadDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentDownloadDetails.java index 8a9136000..dc1eaa39d 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentDownloadDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentDownloadDetails.java @@ -65,7 +65,7 @@ public SharedContentDownloadDetails(@Nonnull String sharedContentLink, @Nonnull * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedContentDownloadDetails(String sharedContentLink, AccessLevel sharedContentAccessLevel) { + public SharedContentDownloadDetails(@Nonnull String sharedContentLink, @Nonnull AccessLevel sharedContentAccessLevel) { this(sharedContentLink, sharedContentAccessLevel, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentViewDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentViewDetails.java index 412a34722..3155303a1 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentViewDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedContentViewDetails.java @@ -65,7 +65,7 @@ public SharedContentViewDetails(@Nonnull String sharedContentLink, @Nonnull Acce * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedContentViewDetails(String sharedContentLink, AccessLevel sharedContentAccessLevel) { + public SharedContentViewDetails(@Nonnull String sharedContentLink, @Nonnull AccessLevel sharedContentAccessLevel) { this(sharedContentLink, sharedContentAccessLevel, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeLinkPolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeLinkPolicyDetails.java index f87d2cd22..a749e34fc 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeLinkPolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeLinkPolicyDetails.java @@ -57,7 +57,7 @@ public SharedFolderChangeLinkPolicyDetails(@Nonnull SharedLinkPolicy newValue, @ * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedFolderChangeLinkPolicyDetails(SharedLinkPolicy newValue) { + public SharedFolderChangeLinkPolicyDetails(@Nonnull SharedLinkPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeMembersInheritancePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeMembersInheritancePolicyDetails.java index 1ac31b933..1c62c483d 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeMembersInheritancePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeMembersInheritancePolicyDetails.java @@ -56,7 +56,7 @@ public SharedFolderChangeMembersInheritancePolicyDetails(@Nonnull SharedFolderMe * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedFolderChangeMembersInheritancePolicyDetails(SharedFolderMembersInheritancePolicy newValue) { + public SharedFolderChangeMembersInheritancePolicyDetails(@Nonnull SharedFolderMembersInheritancePolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeMembersManagementPolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeMembersManagementPolicyDetails.java index 817b21339..8b18209da 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeMembersManagementPolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeMembersManagementPolicyDetails.java @@ -57,7 +57,7 @@ public SharedFolderChangeMembersManagementPolicyDetails(@Nonnull AclUpdatePolicy * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedFolderChangeMembersManagementPolicyDetails(AclUpdatePolicy newValue) { + public SharedFolderChangeMembersManagementPolicyDetails(@Nonnull AclUpdatePolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeMembersPolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeMembersPolicyDetails.java index 64cb28901..df8d50072 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeMembersPolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderChangeMembersPolicyDetails.java @@ -57,7 +57,7 @@ public SharedFolderChangeMembersPolicyDetails(@Nonnull MemberPolicy newValue, @N * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedFolderChangeMembersPolicyDetails(MemberPolicy newValue) { + public SharedFolderChangeMembersPolicyDetails(@Nonnull MemberPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderTransferOwnershipDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderTransferOwnershipDetails.java index 842d3a379..b45bcc3a2 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderTransferOwnershipDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedFolderTransferOwnershipDetails.java @@ -66,7 +66,7 @@ public SharedFolderTransferOwnershipDetails(@Nonnull String newOwnerEmail, @Null * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedFolderTransferOwnershipDetails(String newOwnerEmail) { + public SharedFolderTransferOwnershipDetails(@Nonnull String newOwnerEmail) { this(newOwnerEmail, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkChangeVisibilityDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkChangeVisibilityDetails.java index 5649cd87b..41ef60012 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkChangeVisibilityDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkChangeVisibilityDetails.java @@ -56,7 +56,7 @@ public SharedLinkChangeVisibilityDetails(@Nonnull SharedLinkVisibility newValue, * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedLinkChangeVisibilityDetails(SharedLinkVisibility newValue) { + public SharedLinkChangeVisibilityDetails(@Nonnull SharedLinkVisibility newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAddExpirationDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAddExpirationDetails.java index 196e939d6..da181ae8a 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAddExpirationDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAddExpirationDetails.java @@ -67,7 +67,7 @@ public SharedLinkSettingsAddExpirationDetails(@Nonnull AccessLevel sharedContent * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedLinkSettingsAddExpirationDetails(AccessLevel sharedContentAccessLevel) { + public SharedLinkSettingsAddExpirationDetails(@Nonnull AccessLevel sharedContentAccessLevel) { this(sharedContentAccessLevel, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAddPasswordDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAddPasswordDetails.java index 326a0f421..e3255eabb 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAddPasswordDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAddPasswordDetails.java @@ -58,7 +58,7 @@ public SharedLinkSettingsAddPasswordDetails(@Nonnull AccessLevel sharedContentAc * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedLinkSettingsAddPasswordDetails(AccessLevel sharedContentAccessLevel) { + public SharedLinkSettingsAddPasswordDetails(@Nonnull AccessLevel sharedContentAccessLevel) { this(sharedContentAccessLevel, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAllowDownloadDisabledDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAllowDownloadDisabledDetails.java index f423b36e0..71bc50923 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAllowDownloadDisabledDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAllowDownloadDisabledDetails.java @@ -58,7 +58,7 @@ public SharedLinkSettingsAllowDownloadDisabledDetails(@Nonnull AccessLevel share * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedLinkSettingsAllowDownloadDisabledDetails(AccessLevel sharedContentAccessLevel) { + public SharedLinkSettingsAllowDownloadDisabledDetails(@Nonnull AccessLevel sharedContentAccessLevel) { this(sharedContentAccessLevel, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAllowDownloadEnabledDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAllowDownloadEnabledDetails.java index 3a5d738dc..22db9d7f8 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAllowDownloadEnabledDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsAllowDownloadEnabledDetails.java @@ -58,7 +58,7 @@ public SharedLinkSettingsAllowDownloadEnabledDetails(@Nonnull AccessLevel shared * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedLinkSettingsAllowDownloadEnabledDetails(AccessLevel sharedContentAccessLevel) { + public SharedLinkSettingsAllowDownloadEnabledDetails(@Nonnull AccessLevel sharedContentAccessLevel) { this(sharedContentAccessLevel, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsChangeAudienceDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsChangeAudienceDetails.java index dac31a44f..0c10704d8 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsChangeAudienceDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsChangeAudienceDetails.java @@ -72,7 +72,7 @@ public SharedLinkSettingsChangeAudienceDetails(@Nonnull AccessLevel sharedConten * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedLinkSettingsChangeAudienceDetails(AccessLevel sharedContentAccessLevel, LinkAudience newValue) { + public SharedLinkSettingsChangeAudienceDetails(@Nonnull AccessLevel sharedContentAccessLevel, @Nonnull LinkAudience newValue) { this(sharedContentAccessLevel, newValue, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsChangeExpirationDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsChangeExpirationDetails.java index 7278dac57..805bcde62 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsChangeExpirationDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsChangeExpirationDetails.java @@ -71,7 +71,7 @@ public SharedLinkSettingsChangeExpirationDetails(@Nonnull AccessLevel sharedCont * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedLinkSettingsChangeExpirationDetails(AccessLevel sharedContentAccessLevel) { + public SharedLinkSettingsChangeExpirationDetails(@Nonnull AccessLevel sharedContentAccessLevel) { this(sharedContentAccessLevel, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsChangePasswordDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsChangePasswordDetails.java index 597b60a0d..885f806c0 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsChangePasswordDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsChangePasswordDetails.java @@ -58,7 +58,7 @@ public SharedLinkSettingsChangePasswordDetails(@Nonnull AccessLevel sharedConten * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedLinkSettingsChangePasswordDetails(AccessLevel sharedContentAccessLevel) { + public SharedLinkSettingsChangePasswordDetails(@Nonnull AccessLevel sharedContentAccessLevel) { this(sharedContentAccessLevel, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsRemoveExpirationDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsRemoveExpirationDetails.java index e8c0173e0..47003c8cf 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsRemoveExpirationDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsRemoveExpirationDetails.java @@ -67,7 +67,7 @@ public SharedLinkSettingsRemoveExpirationDetails(@Nonnull AccessLevel sharedCont * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedLinkSettingsRemoveExpirationDetails(AccessLevel sharedContentAccessLevel) { + public SharedLinkSettingsRemoveExpirationDetails(@Nonnull AccessLevel sharedContentAccessLevel) { this(sharedContentAccessLevel, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsRemovePasswordDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsRemovePasswordDetails.java index 5eff5cd27..a81d79e26 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsRemovePasswordDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharedLinkSettingsRemovePasswordDetails.java @@ -58,7 +58,7 @@ public SharedLinkSettingsRemovePasswordDetails(@Nonnull AccessLevel sharedConten * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharedLinkSettingsRemovePasswordDetails(AccessLevel sharedContentAccessLevel) { + public SharedLinkSettingsRemovePasswordDetails(@Nonnull AccessLevel sharedContentAccessLevel) { this(sharedContentAccessLevel, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeFolderJoinPolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeFolderJoinPolicyDetails.java index 27050f1a6..6f1437422 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeFolderJoinPolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeFolderJoinPolicyDetails.java @@ -56,7 +56,7 @@ public SharingChangeFolderJoinPolicyDetails(@Nonnull SharingFolderJoinPolicy new * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharingChangeFolderJoinPolicyDetails(SharingFolderJoinPolicy newValue) { + public SharingChangeFolderJoinPolicyDetails(@Nonnull SharingFolderJoinPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkAllowChangeExpirationPolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkAllowChangeExpirationPolicyDetails.java index 86df2bd87..a7c005de5 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkAllowChangeExpirationPolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkAllowChangeExpirationPolicyDetails.java @@ -58,7 +58,7 @@ public SharingChangeLinkAllowChangeExpirationPolicyDetails(@Nonnull EnforceLinkP * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharingChangeLinkAllowChangeExpirationPolicyDetails(EnforceLinkPasswordPolicy newValue) { + public SharingChangeLinkAllowChangeExpirationPolicyDetails(@Nonnull EnforceLinkPasswordPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkDefaultExpirationPolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkDefaultExpirationPolicyDetails.java index 690bd6ad9..79d94073b 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkDefaultExpirationPolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkDefaultExpirationPolicyDetails.java @@ -55,7 +55,7 @@ public SharingChangeLinkDefaultExpirationPolicyDetails(@Nonnull DefaultLinkExpir * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharingChangeLinkDefaultExpirationPolicyDetails(DefaultLinkExpirationDaysPolicy newValue) { + public SharingChangeLinkDefaultExpirationPolicyDetails(@Nonnull DefaultLinkExpirationDaysPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkEnforcePasswordPolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkEnforcePasswordPolicyDetails.java index ca08a3b76..c2b493fa7 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkEnforcePasswordPolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkEnforcePasswordPolicyDetails.java @@ -57,7 +57,7 @@ public SharingChangeLinkEnforcePasswordPolicyDetails(@Nonnull ChangeLinkExpirati * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharingChangeLinkEnforcePasswordPolicyDetails(ChangeLinkExpirationPolicy newValue) { + public SharingChangeLinkEnforcePasswordPolicyDetails(@Nonnull ChangeLinkExpirationPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkPolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkPolicyDetails.java index 6aa69c3b9..04d1d36f0 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkPolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeLinkPolicyDetails.java @@ -61,7 +61,7 @@ public SharingChangeLinkPolicyDetails(@Nonnull SharingLinkPolicy newValue, @Null * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharingChangeLinkPolicyDetails(SharingLinkPolicy newValue) { + public SharingChangeLinkPolicyDetails(@Nonnull SharingLinkPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeMemberPolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeMemberPolicyDetails.java index 1a3acfa0e..ea545f6f8 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeMemberPolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SharingChangeMemberPolicyDetails.java @@ -56,7 +56,7 @@ public SharingChangeMemberPolicyDetails(@Nonnull SharingMemberPolicy newValue, @ * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SharingChangeMemberPolicyDetails(SharingMemberPolicy newValue) { + public SharingChangeMemberPolicyDetails(@Nonnull SharingMemberPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseDeleteCommentDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseDeleteCommentDetails.java index 11e3c8911..608a959d9 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseDeleteCommentDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseDeleteCommentDetails.java @@ -55,7 +55,7 @@ public ShowcaseDeleteCommentDetails(@Nonnull String eventUuid, @Nullable String * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ShowcaseDeleteCommentDetails(String eventUuid) { + public ShowcaseDeleteCommentDetails(@Nonnull String eventUuid) { this(eventUuid, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseEditCommentDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseEditCommentDetails.java index b88471ff6..9769a2338 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseEditCommentDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseEditCommentDetails.java @@ -55,7 +55,7 @@ public ShowcaseEditCommentDetails(@Nonnull String eventUuid, @Nullable String co * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ShowcaseEditCommentDetails(String eventUuid) { + public ShowcaseEditCommentDetails(@Nonnull String eventUuid) { this(eventUuid, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcasePostCommentDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcasePostCommentDetails.java index a766844a1..4c6b1fa37 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcasePostCommentDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcasePostCommentDetails.java @@ -55,7 +55,7 @@ public ShowcasePostCommentDetails(@Nonnull String eventUuid, @Nullable String co * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ShowcasePostCommentDetails(String eventUuid) { + public ShowcasePostCommentDetails(@Nonnull String eventUuid) { this(eventUuid, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseResolveCommentDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseResolveCommentDetails.java index f242040e8..e71252bc6 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseResolveCommentDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseResolveCommentDetails.java @@ -55,7 +55,7 @@ public ShowcaseResolveCommentDetails(@Nonnull String eventUuid, @Nullable String * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ShowcaseResolveCommentDetails(String eventUuid) { + public ShowcaseResolveCommentDetails(@Nonnull String eventUuid) { this(eventUuid, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseUnresolveCommentDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseUnresolveCommentDetails.java index 0bfb45ab6..cda2a1ef7 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseUnresolveCommentDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/ShowcaseUnresolveCommentDetails.java @@ -55,7 +55,7 @@ public ShowcaseUnresolveCommentDetails(@Nonnull String eventUuid, @Nullable Stri * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public ShowcaseUnresolveCommentDetails(String eventUuid) { + public ShowcaseUnresolveCommentDetails(@Nonnull String eventUuid) { this(eventUuid, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SsoChangeCertDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SsoChangeCertDetails.java index 9c30be7bf..c81f1ad6c 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SsoChangeCertDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SsoChangeCertDetails.java @@ -58,7 +58,7 @@ public SsoChangeCertDetails(@Nonnull Certificate newCertificateDetails, @Nullabl * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SsoChangeCertDetails(Certificate newCertificateDetails) { + public SsoChangeCertDetails(@Nonnull Certificate newCertificateDetails) { this(newCertificateDetails, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SsoChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SsoChangePolicyDetails.java index 63e4da072..c07a47ae3 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SsoChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/SsoChangePolicyDetails.java @@ -57,7 +57,7 @@ public SsoChangePolicyDetails(@Nonnull SsoPolicy newValue, @Nullable SsoPolicy p * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public SsoChangePolicyDetails(SsoPolicy newValue) { + public SsoChangePolicyDetails(@Nonnull SsoPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamEvent.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamEvent.java index 8f58bf6a8..8e8d38fe4 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamEvent.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamEvent.java @@ -133,7 +133,7 @@ public TeamEvent(@Nonnull Date timestamp, @Nonnull EventCategory eventCategory, * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public TeamEvent(Date timestamp, EventCategory eventCategory, EventType eventType, EventDetails details) { + public TeamEvent(@Nonnull Date timestamp, @Nonnull EventCategory eventCategory, @Nonnull EventType eventType, @Nonnull EventDetails details) { this(timestamp, eventCategory, eventType, details, null, null, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamFolderChangeStatusDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamFolderChangeStatusDetails.java index 97a744af3..1bc7df0eb 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamFolderChangeStatusDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamFolderChangeStatusDetails.java @@ -57,7 +57,7 @@ public TeamFolderChangeStatusDetails(@Nonnull TeamFolderStatus newValue, @Nullab * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public TeamFolderChangeStatusDetails(TeamFolderStatus newValue) { + public TeamFolderChangeStatusDetails(@Nonnull TeamFolderStatus newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamInviteDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamInviteDetails.java index 9b9b489f7..b11d7d170 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamInviteDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamInviteDetails.java @@ -58,7 +58,7 @@ public TeamInviteDetails(@Nonnull InviteMethod inviteMethod, @Nullable Boolean a * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public TeamInviteDetails(InviteMethod inviteMethod) { + public TeamInviteDetails(@Nonnull InviteMethod inviteMethod) { this(inviteMethod, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamProfileChangeNameDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamProfileChangeNameDetails.java index baf8bdefc..0c2692aac 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamProfileChangeNameDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TeamProfileChangeNameDetails.java @@ -56,7 +56,7 @@ public TeamProfileChangeNameDetails(@Nonnull TeamName newValue, @Nullable TeamNa * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public TeamProfileChangeNameDetails(TeamName newValue) { + public TeamProfileChangeNameDetails(@Nonnull TeamName newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TfaChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TfaChangePolicyDetails.java index ba70e9333..e620faafa 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TfaChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TfaChangePolicyDetails.java @@ -57,7 +57,7 @@ public TfaChangePolicyDetails(@Nonnull TwoStepVerificationPolicy newValue, @Null * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public TfaChangePolicyDetails(TwoStepVerificationPolicy newValue) { + public TfaChangePolicyDetails(@Nonnull TwoStepVerificationPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TfaChangeStatusDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TfaChangeStatusDetails.java index ba4b3bfce..bcc79dc5a 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TfaChangeStatusDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TfaChangeStatusDetails.java @@ -66,7 +66,7 @@ public TfaChangeStatusDetails(@Nonnull TfaConfiguration newValue, @Nullable TfaC * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public TfaChangeStatusDetails(TfaConfiguration newValue) { + public TfaChangeStatusDetails(@Nonnull TfaConfiguration newValue) { this(newValue, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TrustedNonTeamMemberLogInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TrustedNonTeamMemberLogInfo.java index ea7d0e9b6..5e2b57f02 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TrustedNonTeamMemberLogInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TrustedNonTeamMemberLogInfo.java @@ -65,7 +65,7 @@ public TrustedNonTeamMemberLogInfo(@Nonnull TrustedNonTeamMemberType trustedNonT * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public TrustedNonTeamMemberLogInfo(TrustedNonTeamMemberType trustedNonTeamMemberType) { + public TrustedNonTeamMemberLogInfo(@Nonnull TrustedNonTeamMemberType trustedNonTeamMemberType) { this(trustedNonTeamMemberType, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TwoAccountChangePolicyDetails.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TwoAccountChangePolicyDetails.java index fb5fc8ed1..37cb1df09 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TwoAccountChangePolicyDetails.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/TwoAccountChangePolicyDetails.java @@ -59,7 +59,7 @@ public TwoAccountChangePolicyDetails(@Nonnull TwoAccountPolicy newValue, @Nullab * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public TwoAccountChangePolicyDetails(TwoAccountPolicy newValue) { + public TwoAccountChangePolicyDetails(@Nonnull TwoAccountPolicy newValue) { this(newValue, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/UserNameLogInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/UserNameLogInfo.java index 298d25c1c..1cec6da27 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/UserNameLogInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/UserNameLogInfo.java @@ -62,7 +62,7 @@ public UserNameLogInfo(@Nonnull String givenName, @Nonnull String surname, @Null * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public UserNameLogInfo(String givenName, String surname) { + public UserNameLogInfo(@Nonnull String givenName, @Nonnull String surname) { this(givenName, surname, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/WebDeviceSessionLogInfo.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/WebDeviceSessionLogInfo.java index e395560ee..0146201bc 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/WebDeviceSessionLogInfo.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/teamlog/WebDeviceSessionLogInfo.java @@ -84,7 +84,7 @@ public WebDeviceSessionLogInfo(@Nonnull String userAgent, @Nonnull String os, @N * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public WebDeviceSessionLogInfo(String userAgent, String os, String browser) { + public WebDeviceSessionLogInfo(@Nonnull String userAgent, @Nonnull String os, @Nonnull String browser) { this(userAgent, os, browser, null, null, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/users/Account.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/users/Account.java index 445bde2d8..dbdd56f90 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/users/Account.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/users/Account.java @@ -95,7 +95,7 @@ public Account(@Nonnull String accountId, @Nonnull Name name, @Nonnull String em * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public Account(String accountId, Name name, String email, boolean emailVerified, boolean disabled) { + public Account(@Nonnull String accountId, @Nonnull Name name, @Nonnull String email, boolean emailVerified, boolean disabled) { this(accountId, name, email, emailVerified, disabled, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/users/BasicAccount.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/users/BasicAccount.java index 1a0bb1e23..84e8b4010 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/users/BasicAccount.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/users/BasicAccount.java @@ -82,7 +82,7 @@ public BasicAccount(@Nonnull String accountId, @Nonnull Name name, @Nonnull Stri * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public BasicAccount(String accountId, Name name, String email, boolean emailVerified, boolean disabled, boolean isTeammate) { + public BasicAccount(@Nonnull String accountId, @Nonnull Name name, @Nonnull String email, boolean emailVerified, boolean disabled, boolean isTeammate) { this(accountId, name, email, emailVerified, disabled, isTeammate, null, null); } diff --git a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/users/FullAccount.java b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/users/FullAccount.java index 40ce1ce9b..17195bb5f 100644 --- a/core/build/generated_stone_source/main/src/com/dropbox/core/v2/users/FullAccount.java +++ b/core/build/generated_stone_source/main/src/com/dropbox/core/v2/users/FullAccount.java @@ -148,7 +148,7 @@ public FullAccount(@Nonnull String accountId, @Nonnull Name name, @Nonnull Strin * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ - public FullAccount(String accountId, Name name, String email, boolean emailVerified, boolean disabled, String locale, String referralLink, boolean isPaired, AccountType accountType, RootInfo rootInfo) { + public FullAccount(@Nonnull String accountId, @Nonnull Name name, @Nonnull String email, boolean emailVerified, boolean disabled, @Nonnull String locale, @Nonnull String referralLink, boolean isPaired, @Nonnull AccountType accountType, @Nonnull RootInfo rootInfo) { this(accountId, name, email, emailVerified, disabled, locale, referralLink, isPaired, accountType, rootInfo, null, null, null, null); } diff --git a/core/generator/java/java.stoneg.py b/core/generator/java/java.stoneg.py index e7a319628..59dd96ca3 100644 --- a/core/generator/java/java.stoneg.py +++ b/core/generator/java/java.stoneg.py @@ -3410,7 +3410,7 @@ def generate_data_type_struct(self, data_type): # create a constructor with just required fields (for convenience) required_fields = data_type.all_required_fields required_args = ', '.join( - w.fmt('%s %s', j.java_class(f), j.param_name(f)) + w.fmt('%s %s %s', j.nullability_annotation(f), j.java_class(f), j.param_name(f)).lstrip() for f in required_fields ) w.out('')