diff --git a/Dropbox.Api.Tests/DropboxApiTests.cs b/Dropbox.Api.Tests/DropboxApiTests.cs index f9f2aea6b1..82ed0f8df2 100644 --- a/Dropbox.Api.Tests/DropboxApiTests.cs +++ b/Dropbox.Api.Tests/DropboxApiTests.cs @@ -249,6 +249,22 @@ public async Task TestNoAuth() Assert.IsTrue(response.Changes); } + /// Test APM flow. + /// + [TestMethod] + public void TaskAPM() + { + var result = Client.Users.BeginGetCurrentAccount(null); + var account = Client.Users.EndGetCurrentAccount(result); + var accountId = account.AccountId; + + result = Client.Users.BeginGetAccountBatch(new string[] { accountId }, null); + var accounts = Client.Users.EndGetAccountBatch(result); + + Assert.AreEqual(accounts.Count, 1); + Assert.AreEqual(accounts[0].AccountId, accountId); + } + /// /// Converts string to a memory stream. /// diff --git a/Dropbox.Api/Async/PollArg.cs b/Dropbox.Api/Async/PollArg.cs index 29deb09156..d6da9b84e6 100644 --- a/Dropbox.Api/Async/PollArg.cs +++ b/Dropbox.Api/Async/PollArg.cs @@ -51,6 +51,7 @@ public PollArg(string asyncJobId) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public PollArg() { } diff --git a/Dropbox.Api/Auth/RateLimitError.cs b/Dropbox.Api/Auth/RateLimitError.cs index 8ec1d421f4..8e1a0fe3ae 100644 --- a/Dropbox.Api/Auth/RateLimitError.cs +++ b/Dropbox.Api/Auth/RateLimitError.cs @@ -50,6 +50,7 @@ public RateLimitError(RateLimitReason reason, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RateLimitError() { this.RetryAfter = 1; diff --git a/Dropbox.Api/Auth/TokenFromOAuth1Arg.cs b/Dropbox.Api/Auth/TokenFromOAuth1Arg.cs index ea0093b476..990b6294a9 100644 --- a/Dropbox.Api/Auth/TokenFromOAuth1Arg.cs +++ b/Dropbox.Api/Auth/TokenFromOAuth1Arg.cs @@ -65,6 +65,7 @@ public TokenFromOAuth1Arg(string oauth1Token, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TokenFromOAuth1Arg() { } diff --git a/Dropbox.Api/Auth/TokenFromOAuth1Result.cs b/Dropbox.Api/Auth/TokenFromOAuth1Result.cs index cbd020b135..f11a1fdc03 100644 --- a/Dropbox.Api/Auth/TokenFromOAuth1Result.cs +++ b/Dropbox.Api/Auth/TokenFromOAuth1Result.cs @@ -53,6 +53,7 @@ public TokenFromOAuth1Result(string oauth2Token) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TokenFromOAuth1Result() { } diff --git a/Dropbox.Api/DropboxRequestHandler.cs b/Dropbox.Api/DropboxRequestHandler.cs index b11a43cd70..8ae0a72553 100644 --- a/Dropbox.Api/DropboxRequestHandler.cs +++ b/Dropbox.Api/DropboxRequestHandler.cs @@ -243,12 +243,21 @@ private async Task RequestJsonStringWithRetry( if (routeStyle == RouteStyle.Upload) { + if (body == null) + { + throw new ArgumentNullException("body"); + } + // to support retry logic, the body stream must be seekable // if it isn't we won't retry if (!body.CanSeek) { maxRetries = 0; } + else if (maxRetries == 0) + { + // Do not copy the stream + } else if (body is MemoryStream) { cachedStreamStart = body.Position; @@ -565,7 +574,6 @@ private class Result /// /// The type of the response. private class DownloadResponse : IDownloadResponse - where TResponse : new() { /// /// The HTTP response containing the body content. diff --git a/Dropbox.Api/Files/AlphaGetMetadataArg.cs b/Dropbox.Api/Files/AlphaGetMetadataArg.cs index 7fa5c36e45..67466ab3e4 100644 --- a/Dropbox.Api/Files/AlphaGetMetadataArg.cs +++ b/Dropbox.Api/Files/AlphaGetMetadataArg.cs @@ -63,6 +63,7 @@ public AlphaGetMetadataArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public AlphaGetMetadataArg() { } diff --git a/Dropbox.Api/Files/CommitInfo.cs b/Dropbox.Api/Files/CommitInfo.cs index bf148edfb0..91255b4fd4 100644 --- a/Dropbox.Api/Files/CommitInfo.cs +++ b/Dropbox.Api/Files/CommitInfo.cs @@ -77,6 +77,7 @@ public CommitInfo(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public CommitInfo() { this.Mode = Dropbox.Api.Files.WriteMode.Add.Instance; diff --git a/Dropbox.Api/Files/CommitInfoWithProperties.cs b/Dropbox.Api/Files/CommitInfoWithProperties.cs index 60764dd2f8..1337df5100 100644 --- a/Dropbox.Api/Files/CommitInfoWithProperties.cs +++ b/Dropbox.Api/Files/CommitInfoWithProperties.cs @@ -66,6 +66,7 @@ public CommitInfoWithProperties(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public CommitInfoWithProperties() { } diff --git a/Dropbox.Api/Files/CreateFolderArg.cs b/Dropbox.Api/Files/CreateFolderArg.cs index 35be8885e9..676bdaf194 100644 --- a/Dropbox.Api/Files/CreateFolderArg.cs +++ b/Dropbox.Api/Files/CreateFolderArg.cs @@ -56,6 +56,7 @@ public CreateFolderArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public CreateFolderArg() { this.Autorename = false; diff --git a/Dropbox.Api/Files/DeleteArg.cs b/Dropbox.Api/Files/DeleteArg.cs index f3d2e89492..96e6f6bf29 100644 --- a/Dropbox.Api/Files/DeleteArg.cs +++ b/Dropbox.Api/Files/DeleteArg.cs @@ -50,6 +50,7 @@ public DeleteArg(string path) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public DeleteArg() { } diff --git a/Dropbox.Api/Files/DeleteBatchArg.cs b/Dropbox.Api/Files/DeleteBatchArg.cs index b8dc7185b1..9260da1f5a 100644 --- a/Dropbox.Api/Files/DeleteBatchArg.cs +++ b/Dropbox.Api/Files/DeleteBatchArg.cs @@ -48,6 +48,7 @@ public DeleteBatchArg(col.IEnumerable entries) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public DeleteBatchArg() { } diff --git a/Dropbox.Api/Files/DeleteBatchResult.cs b/Dropbox.Api/Files/DeleteBatchResult.cs index c663929941..45135b777c 100644 --- a/Dropbox.Api/Files/DeleteBatchResult.cs +++ b/Dropbox.Api/Files/DeleteBatchResult.cs @@ -50,6 +50,7 @@ public DeleteBatchResult(col.IEnumerable entries) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public DeleteBatchResult() { } diff --git a/Dropbox.Api/Files/DeleteResult.cs b/Dropbox.Api/Files/DeleteResult.cs index b681dcf185..f260369810 100644 --- a/Dropbox.Api/Files/DeleteResult.cs +++ b/Dropbox.Api/Files/DeleteResult.cs @@ -46,6 +46,7 @@ public DeleteResult(Metadata metadata) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public DeleteResult() { } diff --git a/Dropbox.Api/Files/DeletedMetadata.cs b/Dropbox.Api/Files/DeletedMetadata.cs index c214503a27..84de0299ea 100644 --- a/Dropbox.Api/Files/DeletedMetadata.cs +++ b/Dropbox.Api/Files/DeletedMetadata.cs @@ -62,6 +62,7 @@ public DeletedMetadata(string name, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public DeletedMetadata() { } diff --git a/Dropbox.Api/Files/Dimensions.cs b/Dropbox.Api/Files/Dimensions.cs index 963e7ef35b..ca7abfaea5 100644 --- a/Dropbox.Api/Files/Dimensions.cs +++ b/Dropbox.Api/Files/Dimensions.cs @@ -44,6 +44,7 @@ public Dimensions(ulong height, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public Dimensions() { } diff --git a/Dropbox.Api/Files/DownloadArg.cs b/Dropbox.Api/Files/DownloadArg.cs index 02995220e4..2290578ae5 100644 --- a/Dropbox.Api/Files/DownloadArg.cs +++ b/Dropbox.Api/Files/DownloadArg.cs @@ -66,6 +66,7 @@ public DownloadArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public DownloadArg() { } diff --git a/Dropbox.Api/Files/FileMetadata.cs b/Dropbox.Api/Files/FileMetadata.cs index b8c78b19dc..63941b2e20 100644 --- a/Dropbox.Api/Files/FileMetadata.cs +++ b/Dropbox.Api/Files/FileMetadata.cs @@ -126,6 +126,7 @@ public FileMetadata(string name, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public FileMetadata() { } diff --git a/Dropbox.Api/Files/FileSharingInfo.cs b/Dropbox.Api/Files/FileSharingInfo.cs index d340cf71b8..7f20979c89 100644 --- a/Dropbox.Api/Files/FileSharingInfo.cs +++ b/Dropbox.Api/Files/FileSharingInfo.cs @@ -74,6 +74,7 @@ public FileSharingInfo(bool readOnly, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public FileSharingInfo() { } diff --git a/Dropbox.Api/Files/FolderMetadata.cs b/Dropbox.Api/Files/FolderMetadata.cs index 1dff329a26..829d90b2ec 100644 --- a/Dropbox.Api/Files/FolderMetadata.cs +++ b/Dropbox.Api/Files/FolderMetadata.cs @@ -93,6 +93,7 @@ public FolderMetadata(string name, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public FolderMetadata() { } diff --git a/Dropbox.Api/Files/FolderSharingInfo.cs b/Dropbox.Api/Files/FolderSharingInfo.cs index b8b993ec6d..62392e22a4 100644 --- a/Dropbox.Api/Files/FolderSharingInfo.cs +++ b/Dropbox.Api/Files/FolderSharingInfo.cs @@ -80,6 +80,7 @@ public FolderSharingInfo(bool readOnly, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public FolderSharingInfo() { this.TraverseOnly = false; diff --git a/Dropbox.Api/Files/GetCopyReferenceArg.cs b/Dropbox.Api/Files/GetCopyReferenceArg.cs index 9135a76eae..20d8ba8deb 100644 --- a/Dropbox.Api/Files/GetCopyReferenceArg.cs +++ b/Dropbox.Api/Files/GetCopyReferenceArg.cs @@ -53,6 +53,7 @@ public GetCopyReferenceArg(string path) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetCopyReferenceArg() { } diff --git a/Dropbox.Api/Files/GetCopyReferenceResult.cs b/Dropbox.Api/Files/GetCopyReferenceResult.cs index 3bc8dbfbb7..fd77c779c8 100644 --- a/Dropbox.Api/Files/GetCopyReferenceResult.cs +++ b/Dropbox.Api/Files/GetCopyReferenceResult.cs @@ -61,6 +61,7 @@ public GetCopyReferenceResult(Metadata metadata, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetCopyReferenceResult() { } diff --git a/Dropbox.Api/Files/GetMetadataArg.cs b/Dropbox.Api/Files/GetMetadataArg.cs index a59af3da83..b09d34001d 100644 --- a/Dropbox.Api/Files/GetMetadataArg.cs +++ b/Dropbox.Api/Files/GetMetadataArg.cs @@ -66,6 +66,7 @@ public GetMetadataArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetMetadataArg() { this.IncludeMediaInfo = false; diff --git a/Dropbox.Api/Files/GetTemporaryLinkArg.cs b/Dropbox.Api/Files/GetTemporaryLinkArg.cs index a1f5c45adf..093e38b490 100644 --- a/Dropbox.Api/Files/GetTemporaryLinkArg.cs +++ b/Dropbox.Api/Files/GetTemporaryLinkArg.cs @@ -52,6 +52,7 @@ public GetTemporaryLinkArg(string path) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetTemporaryLinkArg() { } diff --git a/Dropbox.Api/Files/GetTemporaryLinkResult.cs b/Dropbox.Api/Files/GetTemporaryLinkResult.cs index 7709e4ba3d..8dc7ef53e6 100644 --- a/Dropbox.Api/Files/GetTemporaryLinkResult.cs +++ b/Dropbox.Api/Files/GetTemporaryLinkResult.cs @@ -57,6 +57,7 @@ public GetTemporaryLinkResult(FileMetadata metadata, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetTemporaryLinkResult() { } diff --git a/Dropbox.Api/Files/GpsCoordinates.cs b/Dropbox.Api/Files/GpsCoordinates.cs index 711abdb381..6d22325ae0 100644 --- a/Dropbox.Api/Files/GpsCoordinates.cs +++ b/Dropbox.Api/Files/GpsCoordinates.cs @@ -44,6 +44,7 @@ public GpsCoordinates(double latitude, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GpsCoordinates() { } diff --git a/Dropbox.Api/Files/ListFolderArg.cs b/Dropbox.Api/Files/ListFolderArg.cs index f46a4e7c99..e28915d3ce 100644 --- a/Dropbox.Api/Files/ListFolderArg.cs +++ b/Dropbox.Api/Files/ListFolderArg.cs @@ -69,6 +69,7 @@ public ListFolderArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFolderArg() { this.Recursive = false; diff --git a/Dropbox.Api/Files/ListFolderContinueArg.cs b/Dropbox.Api/Files/ListFolderContinueArg.cs index 44933c5998..8993ea12a9 100644 --- a/Dropbox.Api/Files/ListFolderContinueArg.cs +++ b/Dropbox.Api/Files/ListFolderContinueArg.cs @@ -54,6 +54,7 @@ public ListFolderContinueArg(string cursor) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFolderContinueArg() { } diff --git a/Dropbox.Api/Files/ListFolderGetLatestCursorResult.cs b/Dropbox.Api/Files/ListFolderGetLatestCursorResult.cs index 5ad5d93678..1471393d63 100644 --- a/Dropbox.Api/Files/ListFolderGetLatestCursorResult.cs +++ b/Dropbox.Api/Files/ListFolderGetLatestCursorResult.cs @@ -54,6 +54,7 @@ public ListFolderGetLatestCursorResult(string cursor) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFolderGetLatestCursorResult() { } diff --git a/Dropbox.Api/Files/ListFolderLongpollArg.cs b/Dropbox.Api/Files/ListFolderLongpollArg.cs index 80aca940a8..69a10d5343 100644 --- a/Dropbox.Api/Files/ListFolderLongpollArg.cs +++ b/Dropbox.Api/Files/ListFolderLongpollArg.cs @@ -71,6 +71,7 @@ public ListFolderLongpollArg(string cursor, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFolderLongpollArg() { this.Timeout = 30; diff --git a/Dropbox.Api/Files/ListFolderLongpollResult.cs b/Dropbox.Api/Files/ListFolderLongpollResult.cs index bc8438f5a8..0a0ccc30e0 100644 --- a/Dropbox.Api/Files/ListFolderLongpollResult.cs +++ b/Dropbox.Api/Files/ListFolderLongpollResult.cs @@ -51,6 +51,7 @@ public ListFolderLongpollResult(bool changes, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFolderLongpollResult() { } diff --git a/Dropbox.Api/Files/ListFolderResult.cs b/Dropbox.Api/Files/ListFolderResult.cs index 6d183fe8de..57788a0ec5 100644 --- a/Dropbox.Api/Files/ListFolderResult.cs +++ b/Dropbox.Api/Files/ListFolderResult.cs @@ -70,6 +70,7 @@ public ListFolderResult(col.IEnumerable entries, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFolderResult() { } diff --git a/Dropbox.Api/Files/ListRevisionsArg.cs b/Dropbox.Api/Files/ListRevisionsArg.cs index edef6ab7c6..b10a971b44 100644 --- a/Dropbox.Api/Files/ListRevisionsArg.cs +++ b/Dropbox.Api/Files/ListRevisionsArg.cs @@ -64,6 +64,7 @@ public ListRevisionsArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListRevisionsArg() { this.Limit = 10; diff --git a/Dropbox.Api/Files/ListRevisionsResult.cs b/Dropbox.Api/Files/ListRevisionsResult.cs index 3146636bb4..b54ab91091 100644 --- a/Dropbox.Api/Files/ListRevisionsResult.cs +++ b/Dropbox.Api/Files/ListRevisionsResult.cs @@ -54,6 +54,7 @@ public ListRevisionsResult(bool isDeleted, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListRevisionsResult() { } diff --git a/Dropbox.Api/Files/MediaMetadata.cs b/Dropbox.Api/Files/MediaMetadata.cs index fb5a307ff1..bffc8ef353 100644 --- a/Dropbox.Api/Files/MediaMetadata.cs +++ b/Dropbox.Api/Files/MediaMetadata.cs @@ -49,6 +49,7 @@ protected MediaMetadata(Dimensions dimensions = null, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MediaMetadata() { } diff --git a/Dropbox.Api/Files/Metadata.cs b/Dropbox.Api/Files/Metadata.cs index 5ea9df1135..0915522b8a 100644 --- a/Dropbox.Api/Files/Metadata.cs +++ b/Dropbox.Api/Files/Metadata.cs @@ -82,6 +82,7 @@ protected Metadata(string name, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public Metadata() { } diff --git a/Dropbox.Api/Files/PathRootError.cs b/Dropbox.Api/Files/PathRootError.cs index 71c4467cf2..424a9d98b0 100644 --- a/Dropbox.Api/Files/PathRootError.cs +++ b/Dropbox.Api/Files/PathRootError.cs @@ -42,6 +42,7 @@ public PathRootError(string pathRoot = null) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public PathRootError() { } diff --git a/Dropbox.Api/Files/PhotoMetadata.cs b/Dropbox.Api/Files/PhotoMetadata.cs index 74321f66df..207a7b6ba1 100644 --- a/Dropbox.Api/Files/PhotoMetadata.cs +++ b/Dropbox.Api/Files/PhotoMetadata.cs @@ -46,6 +46,7 @@ public PhotoMetadata(Dimensions dimensions = null, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public PhotoMetadata() { } diff --git a/Dropbox.Api/Files/PreviewArg.cs b/Dropbox.Api/Files/PreviewArg.cs index 742c125829..42b9c17f22 100644 --- a/Dropbox.Api/Files/PreviewArg.cs +++ b/Dropbox.Api/Files/PreviewArg.cs @@ -66,6 +66,7 @@ public PreviewArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public PreviewArg() { } diff --git a/Dropbox.Api/Files/PropertyGroupUpdate.cs b/Dropbox.Api/Files/PropertyGroupUpdate.cs index 5f0d24a687..835e6d95fc 100644 --- a/Dropbox.Api/Files/PropertyGroupUpdate.cs +++ b/Dropbox.Api/Files/PropertyGroupUpdate.cs @@ -69,6 +69,7 @@ public PropertyGroupUpdate(string templateId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public PropertyGroupUpdate() { } diff --git a/Dropbox.Api/Files/PropertyGroupWithPath.cs b/Dropbox.Api/Files/PropertyGroupWithPath.cs index 1ccebc545e..5c84a3cab5 100644 --- a/Dropbox.Api/Files/PropertyGroupWithPath.cs +++ b/Dropbox.Api/Files/PropertyGroupWithPath.cs @@ -63,6 +63,7 @@ public PropertyGroupWithPath(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public PropertyGroupWithPath() { } diff --git a/Dropbox.Api/Files/RelocationArg.cs b/Dropbox.Api/Files/RelocationArg.cs index 5b11e1e844..4fe76f5001 100644 --- a/Dropbox.Api/Files/RelocationArg.cs +++ b/Dropbox.Api/Files/RelocationArg.cs @@ -56,6 +56,7 @@ public RelocationArg(string fromPath, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RelocationArg() { this.AllowSharedFolder = false; diff --git a/Dropbox.Api/Files/RelocationBatchArg.cs b/Dropbox.Api/Files/RelocationBatchArg.cs index 744be3e2fc..39ba713b97 100644 --- a/Dropbox.Api/Files/RelocationBatchArg.cs +++ b/Dropbox.Api/Files/RelocationBatchArg.cs @@ -64,6 +64,7 @@ public RelocationBatchArg(col.IEnumerable entries, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RelocationBatchArg() { this.AllowSharedFolder = false; diff --git a/Dropbox.Api/Files/RelocationBatchResult.cs b/Dropbox.Api/Files/RelocationBatchResult.cs index ee9226a5c5..624449d4aa 100644 --- a/Dropbox.Api/Files/RelocationBatchResult.cs +++ b/Dropbox.Api/Files/RelocationBatchResult.cs @@ -50,6 +50,7 @@ public RelocationBatchResult(col.IEnumerable entries) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RelocationBatchResult() { } diff --git a/Dropbox.Api/Files/RelocationPath.cs b/Dropbox.Api/Files/RelocationPath.cs index 58871aa2c4..6df272e4e6 100644 --- a/Dropbox.Api/Files/RelocationPath.cs +++ b/Dropbox.Api/Files/RelocationPath.cs @@ -63,6 +63,7 @@ public RelocationPath(string fromPath, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RelocationPath() { } diff --git a/Dropbox.Api/Files/RelocationResult.cs b/Dropbox.Api/Files/RelocationResult.cs index 059eba1a90..c0fe71cfde 100644 --- a/Dropbox.Api/Files/RelocationResult.cs +++ b/Dropbox.Api/Files/RelocationResult.cs @@ -48,6 +48,7 @@ public RelocationResult(Metadata metadata) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RelocationResult() { } diff --git a/Dropbox.Api/Files/RemovePropertiesArg.cs b/Dropbox.Api/Files/RemovePropertiesArg.cs index 71a3f7b4a1..aab8002084 100644 --- a/Dropbox.Api/Files/RemovePropertiesArg.cs +++ b/Dropbox.Api/Files/RemovePropertiesArg.cs @@ -63,6 +63,7 @@ public RemovePropertiesArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RemovePropertiesArg() { } diff --git a/Dropbox.Api/Files/RestoreArg.cs b/Dropbox.Api/Files/RestoreArg.cs index 4e4dbfb40a..c4a7b9b0b8 100644 --- a/Dropbox.Api/Files/RestoreArg.cs +++ b/Dropbox.Api/Files/RestoreArg.cs @@ -66,6 +66,7 @@ public RestoreArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RestoreArg() { } diff --git a/Dropbox.Api/Files/SaveCopyReferenceArg.cs b/Dropbox.Api/Files/SaveCopyReferenceArg.cs index bf4d20950b..193c8f1911 100644 --- a/Dropbox.Api/Files/SaveCopyReferenceArg.cs +++ b/Dropbox.Api/Files/SaveCopyReferenceArg.cs @@ -61,6 +61,7 @@ public SaveCopyReferenceArg(string copyReference, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public SaveCopyReferenceArg() { } diff --git a/Dropbox.Api/Files/SaveCopyReferenceResult.cs b/Dropbox.Api/Files/SaveCopyReferenceResult.cs index f1037f87f6..71c84430df 100644 --- a/Dropbox.Api/Files/SaveCopyReferenceResult.cs +++ b/Dropbox.Api/Files/SaveCopyReferenceResult.cs @@ -49,6 +49,7 @@ public SaveCopyReferenceResult(Metadata metadata) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public SaveCopyReferenceResult() { } diff --git a/Dropbox.Api/Files/SaveUrlArg.cs b/Dropbox.Api/Files/SaveUrlArg.cs index ec7480cb8d..e48512ca93 100644 --- a/Dropbox.Api/Files/SaveUrlArg.cs +++ b/Dropbox.Api/Files/SaveUrlArg.cs @@ -58,6 +58,7 @@ public SaveUrlArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public SaveUrlArg() { } diff --git a/Dropbox.Api/Files/SearchArg.cs b/Dropbox.Api/Files/SearchArg.cs index fad06a13aa..0a6c970fd2 100644 --- a/Dropbox.Api/Files/SearchArg.cs +++ b/Dropbox.Api/Files/SearchArg.cs @@ -86,6 +86,7 @@ public SearchArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public SearchArg() { this.Start = 0; diff --git a/Dropbox.Api/Files/SearchMatch.cs b/Dropbox.Api/Files/SearchMatch.cs index 649838f770..1f5ce6a00d 100644 --- a/Dropbox.Api/Files/SearchMatch.cs +++ b/Dropbox.Api/Files/SearchMatch.cs @@ -54,6 +54,7 @@ public SearchMatch(SearchMatchType matchType, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public SearchMatch() { } diff --git a/Dropbox.Api/Files/SearchResult.cs b/Dropbox.Api/Files/SearchResult.cs index 545098d457..7f8ca9b5f2 100644 --- a/Dropbox.Api/Files/SearchResult.cs +++ b/Dropbox.Api/Files/SearchResult.cs @@ -58,6 +58,7 @@ public SearchResult(col.IEnumerable matches, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public SearchResult() { } diff --git a/Dropbox.Api/Files/SharingInfo.cs b/Dropbox.Api/Files/SharingInfo.cs index efb29c4a56..b681faa6b2 100644 --- a/Dropbox.Api/Files/SharingInfo.cs +++ b/Dropbox.Api/Files/SharingInfo.cs @@ -44,6 +44,7 @@ public SharingInfo(bool readOnly) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public SharingInfo() { } diff --git a/Dropbox.Api/Files/ThumbnailArg.cs b/Dropbox.Api/Files/ThumbnailArg.cs index 3596b61e1c..25a6ed52a5 100644 --- a/Dropbox.Api/Files/ThumbnailArg.cs +++ b/Dropbox.Api/Files/ThumbnailArg.cs @@ -66,6 +66,7 @@ public ThumbnailArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ThumbnailArg() { this.Format = Dropbox.Api.Files.ThumbnailFormat.Jpeg.Instance; diff --git a/Dropbox.Api/Files/UpdatePropertyGroupArg.cs b/Dropbox.Api/Files/UpdatePropertyGroupArg.cs index 4bf0463ac4..0caaa277cc 100644 --- a/Dropbox.Api/Files/UpdatePropertyGroupArg.cs +++ b/Dropbox.Api/Files/UpdatePropertyGroupArg.cs @@ -63,6 +63,7 @@ public UpdatePropertyGroupArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UpdatePropertyGroupArg() { } diff --git a/Dropbox.Api/Files/UploadSessionAppendArg.cs b/Dropbox.Api/Files/UploadSessionAppendArg.cs index f2bf85b7ee..a27a42f1bd 100644 --- a/Dropbox.Api/Files/UploadSessionAppendArg.cs +++ b/Dropbox.Api/Files/UploadSessionAppendArg.cs @@ -54,6 +54,7 @@ public UploadSessionAppendArg(UploadSessionCursor cursor, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UploadSessionAppendArg() { this.Close = false; diff --git a/Dropbox.Api/Files/UploadSessionCursor.cs b/Dropbox.Api/Files/UploadSessionCursor.cs index 96940fd441..74bdfab8ec 100644 --- a/Dropbox.Api/Files/UploadSessionCursor.cs +++ b/Dropbox.Api/Files/UploadSessionCursor.cs @@ -57,6 +57,7 @@ public UploadSessionCursor(string sessionId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UploadSessionCursor() { } diff --git a/Dropbox.Api/Files/UploadSessionFinishArg.cs b/Dropbox.Api/Files/UploadSessionFinishArg.cs index 7a3d2b3cff..ef5a0db530 100644 --- a/Dropbox.Api/Files/UploadSessionFinishArg.cs +++ b/Dropbox.Api/Files/UploadSessionFinishArg.cs @@ -57,6 +57,7 @@ public UploadSessionFinishArg(UploadSessionCursor cursor, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UploadSessionFinishArg() { } diff --git a/Dropbox.Api/Files/UploadSessionFinishBatchArg.cs b/Dropbox.Api/Files/UploadSessionFinishBatchArg.cs index b45f681507..dd2c51991c 100644 --- a/Dropbox.Api/Files/UploadSessionFinishBatchArg.cs +++ b/Dropbox.Api/Files/UploadSessionFinishBatchArg.cs @@ -54,6 +54,7 @@ public UploadSessionFinishBatchArg(col.IEnumerable entri /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UploadSessionFinishBatchArg() { } diff --git a/Dropbox.Api/Files/UploadSessionFinishBatchResult.cs b/Dropbox.Api/Files/UploadSessionFinishBatchResult.cs index 5693325d53..e724bd4e98 100644 --- a/Dropbox.Api/Files/UploadSessionFinishBatchResult.cs +++ b/Dropbox.Api/Files/UploadSessionFinishBatchResult.cs @@ -50,6 +50,7 @@ public UploadSessionFinishBatchResult(col.IEnumerable /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UploadSessionFinishBatchResult() { } diff --git a/Dropbox.Api/Files/UploadSessionOffsetError.cs b/Dropbox.Api/Files/UploadSessionOffsetError.cs index c30bd79df2..4b947d101c 100644 --- a/Dropbox.Api/Files/UploadSessionOffsetError.cs +++ b/Dropbox.Api/Files/UploadSessionOffsetError.cs @@ -43,6 +43,7 @@ public UploadSessionOffsetError(ulong correctOffset) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UploadSessionOffsetError() { } diff --git a/Dropbox.Api/Files/UploadSessionStartArg.cs b/Dropbox.Api/Files/UploadSessionStartArg.cs index daf6a21a05..ebf90be1b8 100644 --- a/Dropbox.Api/Files/UploadSessionStartArg.cs +++ b/Dropbox.Api/Files/UploadSessionStartArg.cs @@ -46,6 +46,7 @@ public UploadSessionStartArg(bool close = false) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UploadSessionStartArg() { this.Close = false; diff --git a/Dropbox.Api/Files/UploadSessionStartResult.cs b/Dropbox.Api/Files/UploadSessionStartResult.cs index 46a16e8a49..5c01d78fed 100644 --- a/Dropbox.Api/Files/UploadSessionStartResult.cs +++ b/Dropbox.Api/Files/UploadSessionStartResult.cs @@ -51,6 +51,7 @@ public UploadSessionStartResult(string sessionId) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UploadSessionStartResult() { } diff --git a/Dropbox.Api/Files/UploadWriteFailed.cs b/Dropbox.Api/Files/UploadWriteFailed.cs index 5cc9b22168..10ee261e7d 100644 --- a/Dropbox.Api/Files/UploadWriteFailed.cs +++ b/Dropbox.Api/Files/UploadWriteFailed.cs @@ -57,6 +57,7 @@ public UploadWriteFailed(WriteError reason, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UploadWriteFailed() { } diff --git a/Dropbox.Api/Files/VideoMetadata.cs b/Dropbox.Api/Files/VideoMetadata.cs index 23bb89929d..397a3ebc9c 100644 --- a/Dropbox.Api/Files/VideoMetadata.cs +++ b/Dropbox.Api/Files/VideoMetadata.cs @@ -49,6 +49,7 @@ public VideoMetadata(Dimensions dimensions = null, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public VideoMetadata() { } diff --git a/Dropbox.Api/Properties/GetPropertyTemplateArg.cs b/Dropbox.Api/Properties/GetPropertyTemplateArg.cs index 23e12e21ea..a3971c7643 100644 --- a/Dropbox.Api/Properties/GetPropertyTemplateArg.cs +++ b/Dropbox.Api/Properties/GetPropertyTemplateArg.cs @@ -57,6 +57,7 @@ public GetPropertyTemplateArg(string templateId) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetPropertyTemplateArg() { } diff --git a/Dropbox.Api/Properties/GetPropertyTemplateResult.cs b/Dropbox.Api/Properties/GetPropertyTemplateResult.cs index 9128d3ac81..2db89a4152 100644 --- a/Dropbox.Api/Properties/GetPropertyTemplateResult.cs +++ b/Dropbox.Api/Properties/GetPropertyTemplateResult.cs @@ -51,6 +51,7 @@ public GetPropertyTemplateResult(string name, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetPropertyTemplateResult() { } diff --git a/Dropbox.Api/Properties/ListPropertyTemplateIds.cs b/Dropbox.Api/Properties/ListPropertyTemplateIds.cs index 28c22f7d21..2d112b2e9c 100644 --- a/Dropbox.Api/Properties/ListPropertyTemplateIds.cs +++ b/Dropbox.Api/Properties/ListPropertyTemplateIds.cs @@ -51,6 +51,7 @@ public ListPropertyTemplateIds(col.IEnumerable templateIds) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListPropertyTemplateIds() { } diff --git a/Dropbox.Api/Properties/PropertyField.cs b/Dropbox.Api/Properties/PropertyField.cs index 6f4f9ffda9..f2fb74261a 100644 --- a/Dropbox.Api/Properties/PropertyField.cs +++ b/Dropbox.Api/Properties/PropertyField.cs @@ -56,6 +56,7 @@ public PropertyField(string name, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public PropertyField() { } diff --git a/Dropbox.Api/Properties/PropertyFieldTemplate.cs b/Dropbox.Api/Properties/PropertyFieldTemplate.cs index f1a04d354e..8d81bdadc8 100644 --- a/Dropbox.Api/Properties/PropertyFieldTemplate.cs +++ b/Dropbox.Api/Properties/PropertyFieldTemplate.cs @@ -68,6 +68,7 @@ public PropertyFieldTemplate(string name, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public PropertyFieldTemplate() { } diff --git a/Dropbox.Api/Properties/PropertyGroup.cs b/Dropbox.Api/Properties/PropertyGroup.cs index 4c67e3dc03..4c5a27f690 100644 --- a/Dropbox.Api/Properties/PropertyGroup.cs +++ b/Dropbox.Api/Properties/PropertyGroup.cs @@ -65,6 +65,7 @@ public PropertyGroup(string templateId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public PropertyGroup() { } diff --git a/Dropbox.Api/Properties/PropertyGroupTemplate.cs b/Dropbox.Api/Properties/PropertyGroupTemplate.cs index 6b589148e5..fa3910c76b 100644 --- a/Dropbox.Api/Properties/PropertyGroupTemplate.cs +++ b/Dropbox.Api/Properties/PropertyGroupTemplate.cs @@ -71,6 +71,7 @@ public PropertyGroupTemplate(string name, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public PropertyGroupTemplate() { } diff --git a/Dropbox.Api/Sharing/AddFileMemberArgs.cs b/Dropbox.Api/Sharing/AddFileMemberArgs.cs index 745f331b11..1e926d8272 100644 --- a/Dropbox.Api/Sharing/AddFileMemberArgs.cs +++ b/Dropbox.Api/Sharing/AddFileMemberArgs.cs @@ -89,6 +89,7 @@ public AddFileMemberArgs(string file, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public AddFileMemberArgs() { this.Quiet = false; diff --git a/Dropbox.Api/Sharing/AddFolderMemberArg.cs b/Dropbox.Api/Sharing/AddFolderMemberArg.cs index a47718aefd..8a6bc249b8 100644 --- a/Dropbox.Api/Sharing/AddFolderMemberArg.cs +++ b/Dropbox.Api/Sharing/AddFolderMemberArg.cs @@ -79,6 +79,7 @@ public AddFolderMemberArg(string sharedFolderId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public AddFolderMemberArg() { this.Quiet = false; diff --git a/Dropbox.Api/Sharing/AddMember.cs b/Dropbox.Api/Sharing/AddMember.cs index ae87ad93ed..48b418455a 100644 --- a/Dropbox.Api/Sharing/AddMember.cs +++ b/Dropbox.Api/Sharing/AddMember.cs @@ -56,6 +56,7 @@ public AddMember(MemberSelector member, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public AddMember() { this.AccessLevel = Dropbox.Api.Sharing.AccessLevel.Viewer.Instance; diff --git a/Dropbox.Api/Sharing/ChangeFileMemberAccessArgs.cs b/Dropbox.Api/Sharing/ChangeFileMemberAccessArgs.cs index b0ee9264ca..1e649e7cf5 100644 --- a/Dropbox.Api/Sharing/ChangeFileMemberAccessArgs.cs +++ b/Dropbox.Api/Sharing/ChangeFileMemberAccessArgs.cs @@ -74,6 +74,7 @@ public ChangeFileMemberAccessArgs(string file, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ChangeFileMemberAccessArgs() { } diff --git a/Dropbox.Api/Sharing/CollectionLinkMetadata.cs b/Dropbox.Api/Sharing/CollectionLinkMetadata.cs index f0ebb34a57..8108487823 100644 --- a/Dropbox.Api/Sharing/CollectionLinkMetadata.cs +++ b/Dropbox.Api/Sharing/CollectionLinkMetadata.cs @@ -49,6 +49,7 @@ public CollectionLinkMetadata(string url, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public CollectionLinkMetadata() { } diff --git a/Dropbox.Api/Sharing/CreateSharedLinkArg.cs b/Dropbox.Api/Sharing/CreateSharedLinkArg.cs index b7ab065701..8d05e2be9b 100644 --- a/Dropbox.Api/Sharing/CreateSharedLinkArg.cs +++ b/Dropbox.Api/Sharing/CreateSharedLinkArg.cs @@ -57,6 +57,7 @@ public CreateSharedLinkArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public CreateSharedLinkArg() { this.ShortUrl = false; diff --git a/Dropbox.Api/Sharing/CreateSharedLinkWithSettingsArg.cs b/Dropbox.Api/Sharing/CreateSharedLinkWithSettingsArg.cs index aad0c69d41..6a7b534968 100644 --- a/Dropbox.Api/Sharing/CreateSharedLinkWithSettingsArg.cs +++ b/Dropbox.Api/Sharing/CreateSharedLinkWithSettingsArg.cs @@ -56,6 +56,7 @@ public CreateSharedLinkWithSettingsArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public CreateSharedLinkWithSettingsArg() { } diff --git a/Dropbox.Api/Sharing/FileLinkMetadata.cs b/Dropbox.Api/Sharing/FileLinkMetadata.cs index 50dd54161e..9db40a6e3a 100644 --- a/Dropbox.Api/Sharing/FileLinkMetadata.cs +++ b/Dropbox.Api/Sharing/FileLinkMetadata.cs @@ -97,6 +97,7 @@ public FileLinkMetadata(string url, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public FileLinkMetadata() { } diff --git a/Dropbox.Api/Sharing/FileMemberActionResult.cs b/Dropbox.Api/Sharing/FileMemberActionResult.cs index b542bec417..2440e2adb6 100644 --- a/Dropbox.Api/Sharing/FileMemberActionResult.cs +++ b/Dropbox.Api/Sharing/FileMemberActionResult.cs @@ -60,6 +60,7 @@ public FileMemberActionResult(MemberSelector member, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public FileMemberActionResult() { } diff --git a/Dropbox.Api/Sharing/FilePermission.cs b/Dropbox.Api/Sharing/FilePermission.cs index d1cce71e6f..a9c9f3beee 100644 --- a/Dropbox.Api/Sharing/FilePermission.cs +++ b/Dropbox.Api/Sharing/FilePermission.cs @@ -53,6 +53,7 @@ public FilePermission(FileAction action, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public FilePermission() { } diff --git a/Dropbox.Api/Sharing/FolderLinkMetadata.cs b/Dropbox.Api/Sharing/FolderLinkMetadata.cs index 928c345401..20050f776d 100644 --- a/Dropbox.Api/Sharing/FolderLinkMetadata.cs +++ b/Dropbox.Api/Sharing/FolderLinkMetadata.cs @@ -65,6 +65,7 @@ public FolderLinkMetadata(string url, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public FolderLinkMetadata() { } diff --git a/Dropbox.Api/Sharing/FolderPermission.cs b/Dropbox.Api/Sharing/FolderPermission.cs index acebe833fb..a87a0e381d 100644 --- a/Dropbox.Api/Sharing/FolderPermission.cs +++ b/Dropbox.Api/Sharing/FolderPermission.cs @@ -56,6 +56,7 @@ public FolderPermission(FolderAction action, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public FolderPermission() { } diff --git a/Dropbox.Api/Sharing/FolderPolicy.cs b/Dropbox.Api/Sharing/FolderPolicy.cs index 04b291bf50..5526a0671d 100644 --- a/Dropbox.Api/Sharing/FolderPolicy.cs +++ b/Dropbox.Api/Sharing/FolderPolicy.cs @@ -69,6 +69,7 @@ public FolderPolicy(AclUpdatePolicy aclUpdatePolicy, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public FolderPolicy() { } diff --git a/Dropbox.Api/Sharing/GetFileMetadataArg.cs b/Dropbox.Api/Sharing/GetFileMetadataArg.cs index 07a35c2e88..21a8455b06 100644 --- a/Dropbox.Api/Sharing/GetFileMetadataArg.cs +++ b/Dropbox.Api/Sharing/GetFileMetadataArg.cs @@ -62,6 +62,7 @@ public GetFileMetadataArg(string file, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetFileMetadataArg() { } diff --git a/Dropbox.Api/Sharing/GetFileMetadataBatchArg.cs b/Dropbox.Api/Sharing/GetFileMetadataBatchArg.cs index 4e7b7d6db6..2e10009dc5 100644 --- a/Dropbox.Api/Sharing/GetFileMetadataBatchArg.cs +++ b/Dropbox.Api/Sharing/GetFileMetadataBatchArg.cs @@ -60,6 +60,7 @@ public GetFileMetadataBatchArg(col.IEnumerable files, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetFileMetadataBatchArg() { } diff --git a/Dropbox.Api/Sharing/GetFileMetadataBatchResult.cs b/Dropbox.Api/Sharing/GetFileMetadataBatchResult.cs index 23765d10d5..f6e137c822 100644 --- a/Dropbox.Api/Sharing/GetFileMetadataBatchResult.cs +++ b/Dropbox.Api/Sharing/GetFileMetadataBatchResult.cs @@ -66,6 +66,7 @@ public GetFileMetadataBatchResult(string file, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetFileMetadataBatchResult() { } diff --git a/Dropbox.Api/Sharing/GetMetadataArgs.cs b/Dropbox.Api/Sharing/GetMetadataArgs.cs index 082cebdb4c..d989e68fc1 100644 --- a/Dropbox.Api/Sharing/GetMetadataArgs.cs +++ b/Dropbox.Api/Sharing/GetMetadataArgs.cs @@ -60,6 +60,7 @@ public GetMetadataArgs(string sharedFolderId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetMetadataArgs() { } diff --git a/Dropbox.Api/Sharing/GetSharedLinkMetadataArg.cs b/Dropbox.Api/Sharing/GetSharedLinkMetadataArg.cs index 22a919fc7e..aa12164474 100644 --- a/Dropbox.Api/Sharing/GetSharedLinkMetadataArg.cs +++ b/Dropbox.Api/Sharing/GetSharedLinkMetadataArg.cs @@ -65,6 +65,7 @@ public GetSharedLinkMetadataArg(string url, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetSharedLinkMetadataArg() { } diff --git a/Dropbox.Api/Sharing/GetSharedLinksArg.cs b/Dropbox.Api/Sharing/GetSharedLinksArg.cs index 1c51d8d514..00328384c3 100644 --- a/Dropbox.Api/Sharing/GetSharedLinksArg.cs +++ b/Dropbox.Api/Sharing/GetSharedLinksArg.cs @@ -45,6 +45,7 @@ public GetSharedLinksArg(string path = null) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetSharedLinksArg() { } diff --git a/Dropbox.Api/Sharing/GetSharedLinksResult.cs b/Dropbox.Api/Sharing/GetSharedLinksResult.cs index d510cc5cfa..62528e04b7 100644 --- a/Dropbox.Api/Sharing/GetSharedLinksResult.cs +++ b/Dropbox.Api/Sharing/GetSharedLinksResult.cs @@ -50,6 +50,7 @@ public GetSharedLinksResult(col.IEnumerable links) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetSharedLinksResult() { } diff --git a/Dropbox.Api/Sharing/GroupInfo.cs b/Dropbox.Api/Sharing/GroupInfo.cs index 432e16e40b..e825d15a8a 100644 --- a/Dropbox.Api/Sharing/GroupInfo.cs +++ b/Dropbox.Api/Sharing/GroupInfo.cs @@ -70,6 +70,7 @@ public GroupInfo(string groupName, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupInfo() { } diff --git a/Dropbox.Api/Sharing/GroupMembershipInfo.cs b/Dropbox.Api/Sharing/GroupMembershipInfo.cs index fb0b042649..577c91455a 100644 --- a/Dropbox.Api/Sharing/GroupMembershipInfo.cs +++ b/Dropbox.Api/Sharing/GroupMembershipInfo.cs @@ -60,6 +60,7 @@ public GroupMembershipInfo(AccessLevel accessType, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupMembershipInfo() { } diff --git a/Dropbox.Api/Sharing/InsufficientQuotaAmounts.cs b/Dropbox.Api/Sharing/InsufficientQuotaAmounts.cs index 4a94f090ec..cffc0b7092 100644 --- a/Dropbox.Api/Sharing/InsufficientQuotaAmounts.cs +++ b/Dropbox.Api/Sharing/InsufficientQuotaAmounts.cs @@ -52,6 +52,7 @@ public InsufficientQuotaAmounts(ulong spaceNeeded, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public InsufficientQuotaAmounts() { } diff --git a/Dropbox.Api/Sharing/InviteeMembershipInfo.cs b/Dropbox.Api/Sharing/InviteeMembershipInfo.cs index 39f1c3c539..7327baad93 100644 --- a/Dropbox.Api/Sharing/InviteeMembershipInfo.cs +++ b/Dropbox.Api/Sharing/InviteeMembershipInfo.cs @@ -63,6 +63,7 @@ public InviteeMembershipInfo(AccessLevel accessType, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public InviteeMembershipInfo() { } diff --git a/Dropbox.Api/Sharing/LinkMetadata.cs b/Dropbox.Api/Sharing/LinkMetadata.cs index 7de8a6aafe..1edafbed64 100644 --- a/Dropbox.Api/Sharing/LinkMetadata.cs +++ b/Dropbox.Api/Sharing/LinkMetadata.cs @@ -61,6 +61,7 @@ protected LinkMetadata(string url, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public LinkMetadata() { } diff --git a/Dropbox.Api/Sharing/LinkPermissions.cs b/Dropbox.Api/Sharing/LinkPermissions.cs index 4880bb5905..8d398df4ab 100644 --- a/Dropbox.Api/Sharing/LinkPermissions.cs +++ b/Dropbox.Api/Sharing/LinkPermissions.cs @@ -64,6 +64,7 @@ public LinkPermissions(bool canRevoke, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public LinkPermissions() { } diff --git a/Dropbox.Api/Sharing/ListFileMembersArg.cs b/Dropbox.Api/Sharing/ListFileMembersArg.cs index 8e1fdd1d92..222cefb5e9 100644 --- a/Dropbox.Api/Sharing/ListFileMembersArg.cs +++ b/Dropbox.Api/Sharing/ListFileMembersArg.cs @@ -80,6 +80,7 @@ public ListFileMembersArg(string file, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFileMembersArg() { this.IncludeInherited = true; diff --git a/Dropbox.Api/Sharing/ListFileMembersBatchArg.cs b/Dropbox.Api/Sharing/ListFileMembersBatchArg.cs index 418c0956e5..82554c75c0 100644 --- a/Dropbox.Api/Sharing/ListFileMembersBatchArg.cs +++ b/Dropbox.Api/Sharing/ListFileMembersBatchArg.cs @@ -65,6 +65,7 @@ public ListFileMembersBatchArg(col.IEnumerable files, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFileMembersBatchArg() { this.Limit = 10; diff --git a/Dropbox.Api/Sharing/ListFileMembersBatchResult.cs b/Dropbox.Api/Sharing/ListFileMembersBatchResult.cs index 5aca1482ef..df837977af 100644 --- a/Dropbox.Api/Sharing/ListFileMembersBatchResult.cs +++ b/Dropbox.Api/Sharing/ListFileMembersBatchResult.cs @@ -67,6 +67,7 @@ public ListFileMembersBatchResult(string file, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFileMembersBatchResult() { } diff --git a/Dropbox.Api/Sharing/ListFileMembersContinueArg.cs b/Dropbox.Api/Sharing/ListFileMembersContinueArg.cs index 62f170c293..5f01952422 100644 --- a/Dropbox.Api/Sharing/ListFileMembersContinueArg.cs +++ b/Dropbox.Api/Sharing/ListFileMembersContinueArg.cs @@ -55,6 +55,7 @@ public ListFileMembersContinueArg(string cursor) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFileMembersContinueArg() { } diff --git a/Dropbox.Api/Sharing/ListFileMembersCountResult.cs b/Dropbox.Api/Sharing/ListFileMembersCountResult.cs index aa108973ee..414639b346 100644 --- a/Dropbox.Api/Sharing/ListFileMembersCountResult.cs +++ b/Dropbox.Api/Sharing/ListFileMembersCountResult.cs @@ -52,6 +52,7 @@ public ListFileMembersCountResult(SharedFileMembers members, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFileMembersCountResult() { } diff --git a/Dropbox.Api/Sharing/ListFilesArg.cs b/Dropbox.Api/Sharing/ListFilesArg.cs index 40247ecec1..cf31f911fc 100644 --- a/Dropbox.Api/Sharing/ListFilesArg.cs +++ b/Dropbox.Api/Sharing/ListFilesArg.cs @@ -57,6 +57,7 @@ public ListFilesArg(uint limit = 100, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFilesArg() { this.Limit = 100; diff --git a/Dropbox.Api/Sharing/ListFilesContinueArg.cs b/Dropbox.Api/Sharing/ListFilesContinueArg.cs index e25063e6ff..23d0bd8bf1 100644 --- a/Dropbox.Api/Sharing/ListFilesContinueArg.cs +++ b/Dropbox.Api/Sharing/ListFilesContinueArg.cs @@ -51,6 +51,7 @@ public ListFilesContinueArg(string cursor) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFilesContinueArg() { } diff --git a/Dropbox.Api/Sharing/ListFilesResult.cs b/Dropbox.Api/Sharing/ListFilesResult.cs index d0800b5f61..bcbe731858 100644 --- a/Dropbox.Api/Sharing/ListFilesResult.cs +++ b/Dropbox.Api/Sharing/ListFilesResult.cs @@ -54,6 +54,7 @@ public ListFilesResult(col.IEnumerable entries, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFilesResult() { } diff --git a/Dropbox.Api/Sharing/ListFolderMembersArgs.cs b/Dropbox.Api/Sharing/ListFolderMembersArgs.cs index e4debcab3a..34d122b1c1 100644 --- a/Dropbox.Api/Sharing/ListFolderMembersArgs.cs +++ b/Dropbox.Api/Sharing/ListFolderMembersArgs.cs @@ -62,6 +62,7 @@ public ListFolderMembersArgs(string sharedFolderId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFolderMembersArgs() { } diff --git a/Dropbox.Api/Sharing/ListFolderMembersContinueArg.cs b/Dropbox.Api/Sharing/ListFolderMembersContinueArg.cs index 3bcb463510..a1e22e5f8f 100644 --- a/Dropbox.Api/Sharing/ListFolderMembersContinueArg.cs +++ b/Dropbox.Api/Sharing/ListFolderMembersContinueArg.cs @@ -52,6 +52,7 @@ public ListFolderMembersContinueArg(string cursor) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFolderMembersContinueArg() { } diff --git a/Dropbox.Api/Sharing/ListFolderMembersCursorArg.cs b/Dropbox.Api/Sharing/ListFolderMembersCursorArg.cs index 8c89c7d1da..78eafe92aa 100644 --- a/Dropbox.Api/Sharing/ListFolderMembersCursorArg.cs +++ b/Dropbox.Api/Sharing/ListFolderMembersCursorArg.cs @@ -62,6 +62,7 @@ public ListFolderMembersCursorArg(col.IEnumerable actions = null, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFolderMembersCursorArg() { this.Limit = 1000; diff --git a/Dropbox.Api/Sharing/ListFoldersArgs.cs b/Dropbox.Api/Sharing/ListFoldersArgs.cs index 73cdc2d5cf..7348bdb0ca 100644 --- a/Dropbox.Api/Sharing/ListFoldersArgs.cs +++ b/Dropbox.Api/Sharing/ListFoldersArgs.cs @@ -60,6 +60,7 @@ public ListFoldersArgs(uint limit = 1000, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFoldersArgs() { this.Limit = 1000; diff --git a/Dropbox.Api/Sharing/ListFoldersContinueArg.cs b/Dropbox.Api/Sharing/ListFoldersContinueArg.cs index f70b776bb4..f806858e27 100644 --- a/Dropbox.Api/Sharing/ListFoldersContinueArg.cs +++ b/Dropbox.Api/Sharing/ListFoldersContinueArg.cs @@ -49,6 +49,7 @@ public ListFoldersContinueArg(string cursor) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFoldersContinueArg() { } diff --git a/Dropbox.Api/Sharing/ListFoldersResult.cs b/Dropbox.Api/Sharing/ListFoldersResult.cs index 2be05169ba..3c13620d9f 100644 --- a/Dropbox.Api/Sharing/ListFoldersResult.cs +++ b/Dropbox.Api/Sharing/ListFoldersResult.cs @@ -64,6 +64,7 @@ public ListFoldersResult(col.IEnumerable entries, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListFoldersResult() { } diff --git a/Dropbox.Api/Sharing/ListSharedLinksArg.cs b/Dropbox.Api/Sharing/ListSharedLinksArg.cs index db0ebb1322..84477b7c8b 100644 --- a/Dropbox.Api/Sharing/ListSharedLinksArg.cs +++ b/Dropbox.Api/Sharing/ListSharedLinksArg.cs @@ -63,6 +63,7 @@ public ListSharedLinksArg(string path = null, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListSharedLinksArg() { } diff --git a/Dropbox.Api/Sharing/ListSharedLinksResult.cs b/Dropbox.Api/Sharing/ListSharedLinksResult.cs index bc708b2025..afe45fa16e 100644 --- a/Dropbox.Api/Sharing/ListSharedLinksResult.cs +++ b/Dropbox.Api/Sharing/ListSharedLinksResult.cs @@ -61,6 +61,7 @@ public ListSharedLinksResult(col.IEnumerable links, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListSharedLinksResult() { } diff --git a/Dropbox.Api/Sharing/MemberAccessLevelResult.cs b/Dropbox.Api/Sharing/MemberAccessLevelResult.cs index d767376478..a2508c0da3 100644 --- a/Dropbox.Api/Sharing/MemberAccessLevelResult.cs +++ b/Dropbox.Api/Sharing/MemberAccessLevelResult.cs @@ -56,6 +56,7 @@ public MemberAccessLevelResult(AccessLevel accessLevel = null, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MemberAccessLevelResult() { } diff --git a/Dropbox.Api/Sharing/MemberPermission.cs b/Dropbox.Api/Sharing/MemberPermission.cs index dbc491861e..5f1f5611e1 100644 --- a/Dropbox.Api/Sharing/MemberPermission.cs +++ b/Dropbox.Api/Sharing/MemberPermission.cs @@ -56,6 +56,7 @@ public MemberPermission(MemberAction action, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MemberPermission() { } diff --git a/Dropbox.Api/Sharing/MembershipInfo.cs b/Dropbox.Api/Sharing/MembershipInfo.cs index 3a3f53692c..abd725c4f1 100644 --- a/Dropbox.Api/Sharing/MembershipInfo.cs +++ b/Dropbox.Api/Sharing/MembershipInfo.cs @@ -62,6 +62,7 @@ public MembershipInfo(AccessLevel accessType, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MembershipInfo() { this.IsInherited = false; diff --git a/Dropbox.Api/Sharing/ModifySharedLinkSettingsArgs.cs b/Dropbox.Api/Sharing/ModifySharedLinkSettingsArgs.cs index 97c76ba644..e2dc82a59c 100644 --- a/Dropbox.Api/Sharing/ModifySharedLinkSettingsArgs.cs +++ b/Dropbox.Api/Sharing/ModifySharedLinkSettingsArgs.cs @@ -60,6 +60,7 @@ public ModifySharedLinkSettingsArgs(string url, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ModifySharedLinkSettingsArgs() { this.RemoveExpiration = false; diff --git a/Dropbox.Api/Sharing/MountFolderArg.cs b/Dropbox.Api/Sharing/MountFolderArg.cs index 4b5a8b3a63..7f8809f1c3 100644 --- a/Dropbox.Api/Sharing/MountFolderArg.cs +++ b/Dropbox.Api/Sharing/MountFolderArg.cs @@ -50,6 +50,7 @@ public MountFolderArg(string sharedFolderId) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MountFolderArg() { } diff --git a/Dropbox.Api/Sharing/ParentFolderAccessInfo.cs b/Dropbox.Api/Sharing/ParentFolderAccessInfo.cs index 2309ab8b1e..899ea89eb3 100644 --- a/Dropbox.Api/Sharing/ParentFolderAccessInfo.cs +++ b/Dropbox.Api/Sharing/ParentFolderAccessInfo.cs @@ -71,6 +71,7 @@ public ParentFolderAccessInfo(string folderName, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ParentFolderAccessInfo() { } diff --git a/Dropbox.Api/Sharing/PathLinkMetadata.cs b/Dropbox.Api/Sharing/PathLinkMetadata.cs index 9e19ba2f41..d6e1906109 100644 --- a/Dropbox.Api/Sharing/PathLinkMetadata.cs +++ b/Dropbox.Api/Sharing/PathLinkMetadata.cs @@ -57,6 +57,7 @@ public PathLinkMetadata(string url, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public PathLinkMetadata() { } diff --git a/Dropbox.Api/Sharing/RelinquishFileMembershipArg.cs b/Dropbox.Api/Sharing/RelinquishFileMembershipArg.cs index 8ea4e600ab..d9c3a2ba64 100644 --- a/Dropbox.Api/Sharing/RelinquishFileMembershipArg.cs +++ b/Dropbox.Api/Sharing/RelinquishFileMembershipArg.cs @@ -56,6 +56,7 @@ public RelinquishFileMembershipArg(string file) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RelinquishFileMembershipArg() { } diff --git a/Dropbox.Api/Sharing/RelinquishFolderMembershipArg.cs b/Dropbox.Api/Sharing/RelinquishFolderMembershipArg.cs index ce23355547..0f9767f3b5 100644 --- a/Dropbox.Api/Sharing/RelinquishFolderMembershipArg.cs +++ b/Dropbox.Api/Sharing/RelinquishFolderMembershipArg.cs @@ -56,6 +56,7 @@ public RelinquishFolderMembershipArg(string sharedFolderId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RelinquishFolderMembershipArg() { this.LeaveACopy = false; diff --git a/Dropbox.Api/Sharing/RemoveFileMemberArg.cs b/Dropbox.Api/Sharing/RemoveFileMemberArg.cs index 1551ad9cd5..e023ab8b50 100644 --- a/Dropbox.Api/Sharing/RemoveFileMemberArg.cs +++ b/Dropbox.Api/Sharing/RemoveFileMemberArg.cs @@ -67,6 +67,7 @@ public RemoveFileMemberArg(string file, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RemoveFileMemberArg() { } diff --git a/Dropbox.Api/Sharing/RemoveFolderMemberArg.cs b/Dropbox.Api/Sharing/RemoveFolderMemberArg.cs index 7afc217c64..79f32a1900 100644 --- a/Dropbox.Api/Sharing/RemoveFolderMemberArg.cs +++ b/Dropbox.Api/Sharing/RemoveFolderMemberArg.cs @@ -65,6 +65,7 @@ public RemoveFolderMemberArg(string sharedFolderId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RemoveFolderMemberArg() { } diff --git a/Dropbox.Api/Sharing/RevokeSharedLinkArg.cs b/Dropbox.Api/Sharing/RevokeSharedLinkArg.cs index 928f86f404..c06a8b700d 100644 --- a/Dropbox.Api/Sharing/RevokeSharedLinkArg.cs +++ b/Dropbox.Api/Sharing/RevokeSharedLinkArg.cs @@ -48,6 +48,7 @@ public RevokeSharedLinkArg(string url) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RevokeSharedLinkArg() { } diff --git a/Dropbox.Api/Sharing/ShareFolderArg.cs b/Dropbox.Api/Sharing/ShareFolderArg.cs index 0c6e23b775..da49b05c71 100644 --- a/Dropbox.Api/Sharing/ShareFolderArg.cs +++ b/Dropbox.Api/Sharing/ShareFolderArg.cs @@ -80,6 +80,7 @@ public ShareFolderArg(string path, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ShareFolderArg() { this.MemberPolicy = Dropbox.Api.Sharing.MemberPolicy.Anyone.Instance; diff --git a/Dropbox.Api/Sharing/SharedFileMembers.cs b/Dropbox.Api/Sharing/SharedFileMembers.cs index 486ec11f01..9d7b459747 100644 --- a/Dropbox.Api/Sharing/SharedFileMembers.cs +++ b/Dropbox.Api/Sharing/SharedFileMembers.cs @@ -84,6 +84,7 @@ public SharedFileMembers(col.IEnumerable users, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public SharedFileMembers() { } diff --git a/Dropbox.Api/Sharing/SharedFileMetadata.cs b/Dropbox.Api/Sharing/SharedFileMetadata.cs index d2ccc6dc24..94a682d3c1 100644 --- a/Dropbox.Api/Sharing/SharedFileMetadata.cs +++ b/Dropbox.Api/Sharing/SharedFileMetadata.cs @@ -121,6 +121,7 @@ public SharedFileMetadata(FolderPolicy policy, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public SharedFileMetadata() { } diff --git a/Dropbox.Api/Sharing/SharedFolderMembers.cs b/Dropbox.Api/Sharing/SharedFolderMembers.cs index 34022c424a..f37d636d7d 100644 --- a/Dropbox.Api/Sharing/SharedFolderMembers.cs +++ b/Dropbox.Api/Sharing/SharedFolderMembers.cs @@ -76,6 +76,7 @@ public SharedFolderMembers(col.IEnumerable users, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public SharedFolderMembers() { } diff --git a/Dropbox.Api/Sharing/SharedFolderMetadata.cs b/Dropbox.Api/Sharing/SharedFolderMetadata.cs index 226521ccf3..046dcd1583 100644 --- a/Dropbox.Api/Sharing/SharedFolderMetadata.cs +++ b/Dropbox.Api/Sharing/SharedFolderMetadata.cs @@ -100,6 +100,7 @@ public SharedFolderMetadata(AccessLevel accessType, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public SharedFolderMetadata() { } diff --git a/Dropbox.Api/Sharing/SharedFolderMetadataBase.cs b/Dropbox.Api/Sharing/SharedFolderMetadataBase.cs index 0174d8441b..0049e07947 100644 --- a/Dropbox.Api/Sharing/SharedFolderMetadataBase.cs +++ b/Dropbox.Api/Sharing/SharedFolderMetadataBase.cs @@ -78,6 +78,7 @@ public SharedFolderMetadataBase(AccessLevel accessType, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public SharedFolderMetadataBase() { } diff --git a/Dropbox.Api/Sharing/SharedLinkMetadata.cs b/Dropbox.Api/Sharing/SharedLinkMetadata.cs index bc30a176f7..ab1017d698 100644 --- a/Dropbox.Api/Sharing/SharedLinkMetadata.cs +++ b/Dropbox.Api/Sharing/SharedLinkMetadata.cs @@ -96,6 +96,7 @@ protected SharedLinkMetadata(string url, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public SharedLinkMetadata() { } diff --git a/Dropbox.Api/Sharing/SharedLinkSettings.cs b/Dropbox.Api/Sharing/SharedLinkSettings.cs index 9d443fcfaa..18bd9808ef 100644 --- a/Dropbox.Api/Sharing/SharedLinkSettings.cs +++ b/Dropbox.Api/Sharing/SharedLinkSettings.cs @@ -54,6 +54,7 @@ public SharedLinkSettings(RequestedVisibility requestedVisibility = null, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public SharedLinkSettings() { } diff --git a/Dropbox.Api/Sharing/TeamMemberInfo.cs b/Dropbox.Api/Sharing/TeamMemberInfo.cs index 7ed3e7f2f4..0cef047fa5 100644 --- a/Dropbox.Api/Sharing/TeamMemberInfo.cs +++ b/Dropbox.Api/Sharing/TeamMemberInfo.cs @@ -58,6 +58,7 @@ public TeamMemberInfo(Dropbox.Api.Users.Team teamInfo, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamMemberInfo() { } diff --git a/Dropbox.Api/Sharing/TransferFolderArg.cs b/Dropbox.Api/Sharing/TransferFolderArg.cs index 1be79d4fd0..64a3be11d8 100644 --- a/Dropbox.Api/Sharing/TransferFolderArg.cs +++ b/Dropbox.Api/Sharing/TransferFolderArg.cs @@ -65,6 +65,7 @@ public TransferFolderArg(string sharedFolderId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TransferFolderArg() { } diff --git a/Dropbox.Api/Sharing/UnmountFolderArg.cs b/Dropbox.Api/Sharing/UnmountFolderArg.cs index c8eebf6a79..b0f8621304 100644 --- a/Dropbox.Api/Sharing/UnmountFolderArg.cs +++ b/Dropbox.Api/Sharing/UnmountFolderArg.cs @@ -52,6 +52,7 @@ public UnmountFolderArg(string sharedFolderId) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UnmountFolderArg() { } diff --git a/Dropbox.Api/Sharing/UnshareFileArg.cs b/Dropbox.Api/Sharing/UnshareFileArg.cs index 9b27ef4eac..7af1f68ef6 100644 --- a/Dropbox.Api/Sharing/UnshareFileArg.cs +++ b/Dropbox.Api/Sharing/UnshareFileArg.cs @@ -55,6 +55,7 @@ public UnshareFileArg(string file) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UnshareFileArg() { } diff --git a/Dropbox.Api/Sharing/UnshareFolderArg.cs b/Dropbox.Api/Sharing/UnshareFolderArg.cs index 5035e0bd96..306ce95002 100644 --- a/Dropbox.Api/Sharing/UnshareFolderArg.cs +++ b/Dropbox.Api/Sharing/UnshareFolderArg.cs @@ -57,6 +57,7 @@ public UnshareFolderArg(string sharedFolderId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UnshareFolderArg() { this.LeaveACopy = false; diff --git a/Dropbox.Api/Sharing/UpdateFolderMemberArg.cs b/Dropbox.Api/Sharing/UpdateFolderMemberArg.cs index d52e7d03e1..545b3b0e54 100644 --- a/Dropbox.Api/Sharing/UpdateFolderMemberArg.cs +++ b/Dropbox.Api/Sharing/UpdateFolderMemberArg.cs @@ -71,6 +71,7 @@ public UpdateFolderMemberArg(string sharedFolderId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UpdateFolderMemberArg() { } diff --git a/Dropbox.Api/Sharing/UpdateFolderPolicyArg.cs b/Dropbox.Api/Sharing/UpdateFolderPolicyArg.cs index 41a491b707..baca0698dd 100644 --- a/Dropbox.Api/Sharing/UpdateFolderPolicyArg.cs +++ b/Dropbox.Api/Sharing/UpdateFolderPolicyArg.cs @@ -65,6 +65,7 @@ public UpdateFolderPolicyArg(string sharedFolderId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UpdateFolderPolicyArg() { } diff --git a/Dropbox.Api/Sharing/UserInfo.cs b/Dropbox.Api/Sharing/UserInfo.cs index 1fcf3167d1..8ec17ba46e 100644 --- a/Dropbox.Api/Sharing/UserInfo.cs +++ b/Dropbox.Api/Sharing/UserInfo.cs @@ -65,6 +65,7 @@ public UserInfo(string accountId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UserInfo() { } diff --git a/Dropbox.Api/Sharing/UserMembershipInfo.cs b/Dropbox.Api/Sharing/UserMembershipInfo.cs index df47eb0670..8539c20ba8 100644 --- a/Dropbox.Api/Sharing/UserMembershipInfo.cs +++ b/Dropbox.Api/Sharing/UserMembershipInfo.cs @@ -60,6 +60,7 @@ public UserMembershipInfo(AccessLevel accessType, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UserMembershipInfo() { } diff --git a/Dropbox.Api/Stone/Decoder.cs b/Dropbox.Api/Stone/Decoder.cs index d0043fec1b..91263411be 100644 --- a/Dropbox.Api/Stone/Decoder.cs +++ b/Dropbox.Api/Stone/Decoder.cs @@ -441,7 +441,7 @@ private static void EnsureEndObject(IJsonReader reader) /// Decoder for union type. /// /// The union type. - internal abstract class UnionDecoder : StructDecoder where T : class, new() + internal abstract class UnionDecoder : StructDecoder where T : class { /// /// Decode fields without ensuring start and end object. diff --git a/Dropbox.Api/Stone/ITransport.cs b/Dropbox.Api/Stone/ITransport.cs index 88dcede8d2..c8f461bb74 100644 --- a/Dropbox.Api/Stone/ITransport.cs +++ b/Dropbox.Api/Stone/ITransport.cs @@ -17,7 +17,6 @@ namespace Dropbox.Api.Stone /// /// The type of the response. public interface IDownloadResponse : IDisposable - where TResponse : new() { /// /// Gets the response. @@ -72,8 +71,7 @@ Task SendRpcRequestAsync( string auth, IEncoder requestEncoder, IDecoder resposneDecoder, - IDecoder errorDecoder) - where TResponse : new(); + IDecoder errorDecoder); /// /// Sends the upload request asynchronously. @@ -98,8 +96,7 @@ Task SendUploadRequestAsync( string auth, IEncoder requestEncoder, IDecoder resposneDecoder, - IDecoder errorDecoder) - where TResponse : new(); + IDecoder errorDecoder); /// /// Sends the download request asynchronously. @@ -122,7 +119,6 @@ Task> SendDownloadRequestAsync requestEncoder, IDecoder resposneDecoder, - IDecoder errorDecoder) - where TResponse : new(); + IDecoder errorDecoder); } } diff --git a/Dropbox.Api/Team/ActiveWebSession.cs b/Dropbox.Api/Team/ActiveWebSession.cs index b12491077d..2457c4c93e 100644 --- a/Dropbox.Api/Team/ActiveWebSession.cs +++ b/Dropbox.Api/Team/ActiveWebSession.cs @@ -78,6 +78,7 @@ public ActiveWebSession(string sessionId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ActiveWebSession() { } diff --git a/Dropbox.Api/Team/AddPropertyTemplateArg.cs b/Dropbox.Api/Team/AddPropertyTemplateArg.cs index 12e208164c..b306fab81f 100644 --- a/Dropbox.Api/Team/AddPropertyTemplateArg.cs +++ b/Dropbox.Api/Team/AddPropertyTemplateArg.cs @@ -51,6 +51,7 @@ public AddPropertyTemplateArg(string name, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public AddPropertyTemplateArg() { } diff --git a/Dropbox.Api/Team/AddPropertyTemplateResult.cs b/Dropbox.Api/Team/AddPropertyTemplateResult.cs index fd711c5438..270fcfb417 100644 --- a/Dropbox.Api/Team/AddPropertyTemplateResult.cs +++ b/Dropbox.Api/Team/AddPropertyTemplateResult.cs @@ -58,6 +58,7 @@ public AddPropertyTemplateResult(string templateId) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public AddPropertyTemplateResult() { } diff --git a/Dropbox.Api/Team/ApiApp.cs b/Dropbox.Api/Team/ApiApp.cs index 45b6acdeff..d5c0110a30 100644 --- a/Dropbox.Api/Team/ApiApp.cs +++ b/Dropbox.Api/Team/ApiApp.cs @@ -67,6 +67,7 @@ public ApiApp(string appId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ApiApp() { } diff --git a/Dropbox.Api/Team/BaseDfbReport.cs b/Dropbox.Api/Team/BaseDfbReport.cs index cf8e133f79..f7e92b78f4 100644 --- a/Dropbox.Api/Team/BaseDfbReport.cs +++ b/Dropbox.Api/Team/BaseDfbReport.cs @@ -51,6 +51,7 @@ public BaseDfbReport(string startDate) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public BaseDfbReport() { } diff --git a/Dropbox.Api/Team/DateRange.cs b/Dropbox.Api/Team/DateRange.cs index d2a95eb708..8f52f1ea37 100644 --- a/Dropbox.Api/Team/DateRange.cs +++ b/Dropbox.Api/Team/DateRange.cs @@ -44,6 +44,7 @@ public DateRange(sys.DateTime? startDate = null, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public DateRange() { } diff --git a/Dropbox.Api/Team/DesktopClientSession.cs b/Dropbox.Api/Team/DesktopClientSession.cs index 2cdb438c96..f830135d5f 100644 --- a/Dropbox.Api/Team/DesktopClientSession.cs +++ b/Dropbox.Api/Team/DesktopClientSession.cs @@ -90,6 +90,7 @@ public DesktopClientSession(string sessionId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public DesktopClientSession() { } diff --git a/Dropbox.Api/Team/DeviceSession.cs b/Dropbox.Api/Team/DeviceSession.cs index 39840c40d8..b880998e5c 100644 --- a/Dropbox.Api/Team/DeviceSession.cs +++ b/Dropbox.Api/Team/DeviceSession.cs @@ -63,6 +63,7 @@ public DeviceSession(string sessionId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public DeviceSession() { } diff --git a/Dropbox.Api/Team/DeviceSessionArg.cs b/Dropbox.Api/Team/DeviceSessionArg.cs index f76748d614..4de357f044 100644 --- a/Dropbox.Api/Team/DeviceSessionArg.cs +++ b/Dropbox.Api/Team/DeviceSessionArg.cs @@ -57,6 +57,7 @@ public DeviceSessionArg(string sessionId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public DeviceSessionArg() { } diff --git a/Dropbox.Api/Team/DevicesActive.cs b/Dropbox.Api/Team/DevicesActive.cs index fbdc448431..f623884966 100644 --- a/Dropbox.Api/Team/DevicesActive.cs +++ b/Dropbox.Api/Team/DevicesActive.cs @@ -116,6 +116,7 @@ public DevicesActive(col.IEnumerable windows, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public DevicesActive() { } diff --git a/Dropbox.Api/Team/GetActivityReport.cs b/Dropbox.Api/Team/GetActivityReport.cs index 3b18288b60..dbc52c3e59 100644 --- a/Dropbox.Api/Team/GetActivityReport.cs +++ b/Dropbox.Api/Team/GetActivityReport.cs @@ -199,6 +199,7 @@ public GetActivityReport(string startDate, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetActivityReport() { } diff --git a/Dropbox.Api/Team/GetDevicesReport.cs b/Dropbox.Api/Team/GetDevicesReport.cs index 7317802427..956a74b720 100644 --- a/Dropbox.Api/Team/GetDevicesReport.cs +++ b/Dropbox.Api/Team/GetDevicesReport.cs @@ -75,6 +75,7 @@ public GetDevicesReport(string startDate, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetDevicesReport() { } diff --git a/Dropbox.Api/Team/GetMembershipReport.cs b/Dropbox.Api/Team/GetMembershipReport.cs index 0242f93b83..753cd91c27 100644 --- a/Dropbox.Api/Team/GetMembershipReport.cs +++ b/Dropbox.Api/Team/GetMembershipReport.cs @@ -101,6 +101,7 @@ public GetMembershipReport(string startDate, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetMembershipReport() { } diff --git a/Dropbox.Api/Team/GetStorageReport.cs b/Dropbox.Api/Team/GetStorageReport.cs index c463321eca..8ec2e8fdee 100644 --- a/Dropbox.Api/Team/GetStorageReport.cs +++ b/Dropbox.Api/Team/GetStorageReport.cs @@ -105,6 +105,7 @@ public GetStorageReport(string startDate, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetStorageReport() { } diff --git a/Dropbox.Api/Team/GroupCreateArg.cs b/Dropbox.Api/Team/GroupCreateArg.cs index 053342226d..a4598e2fe4 100644 --- a/Dropbox.Api/Team/GroupCreateArg.cs +++ b/Dropbox.Api/Team/GroupCreateArg.cs @@ -54,6 +54,7 @@ public GroupCreateArg(string groupName, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupCreateArg() { } diff --git a/Dropbox.Api/Team/GroupFullInfo.cs b/Dropbox.Api/Team/GroupFullInfo.cs index 34fb48f58a..5634baef3c 100644 --- a/Dropbox.Api/Team/GroupFullInfo.cs +++ b/Dropbox.Api/Team/GroupFullInfo.cs @@ -61,6 +61,7 @@ public GroupFullInfo(string groupName, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupFullInfo() { } diff --git a/Dropbox.Api/Team/GroupMemberInfo.cs b/Dropbox.Api/Team/GroupMemberInfo.cs index 86cf9807e4..3bcb0519a7 100644 --- a/Dropbox.Api/Team/GroupMemberInfo.cs +++ b/Dropbox.Api/Team/GroupMemberInfo.cs @@ -56,6 +56,7 @@ public GroupMemberInfo(MemberProfile profile, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupMemberInfo() { } diff --git a/Dropbox.Api/Team/GroupMemberSelector.cs b/Dropbox.Api/Team/GroupMemberSelector.cs index bcf31fd5ba..a3339b7ed4 100644 --- a/Dropbox.Api/Team/GroupMemberSelector.cs +++ b/Dropbox.Api/Team/GroupMemberSelector.cs @@ -58,6 +58,7 @@ public GroupMemberSelector(GroupSelector @group, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupMemberSelector() { } diff --git a/Dropbox.Api/Team/GroupMembersAddArg.cs b/Dropbox.Api/Team/GroupMembersAddArg.cs index 734df93461..044c0245dc 100644 --- a/Dropbox.Api/Team/GroupMembersAddArg.cs +++ b/Dropbox.Api/Team/GroupMembersAddArg.cs @@ -64,6 +64,7 @@ public GroupMembersAddArg(GroupSelector @group, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupMembersAddArg() { } diff --git a/Dropbox.Api/Team/GroupMembersChangeResult.cs b/Dropbox.Api/Team/GroupMembersChangeResult.cs index 03b1dbbe08..8615beda6b 100644 --- a/Dropbox.Api/Team/GroupMembersChangeResult.cs +++ b/Dropbox.Api/Team/GroupMembersChangeResult.cs @@ -64,6 +64,7 @@ public GroupMembersChangeResult(GroupFullInfo groupInfo, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupMembersChangeResult() { } diff --git a/Dropbox.Api/Team/GroupMembersRemoveArg.cs b/Dropbox.Api/Team/GroupMembersRemoveArg.cs index 5a03fad4d0..eed829be4c 100644 --- a/Dropbox.Api/Team/GroupMembersRemoveArg.cs +++ b/Dropbox.Api/Team/GroupMembersRemoveArg.cs @@ -64,6 +64,7 @@ public GroupMembersRemoveArg(GroupSelector @group, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupMembersRemoveArg() { } diff --git a/Dropbox.Api/Team/GroupMembersSelector.cs b/Dropbox.Api/Team/GroupMembersSelector.cs index cb5c4b563f..6f6d7d4fbe 100644 --- a/Dropbox.Api/Team/GroupMembersSelector.cs +++ b/Dropbox.Api/Team/GroupMembersSelector.cs @@ -57,6 +57,7 @@ public GroupMembersSelector(GroupSelector @group, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupMembersSelector() { } diff --git a/Dropbox.Api/Team/GroupMembersSetAccessTypeArg.cs b/Dropbox.Api/Team/GroupMembersSetAccessTypeArg.cs index 218a8f445a..f6a30be998 100644 --- a/Dropbox.Api/Team/GroupMembersSetAccessTypeArg.cs +++ b/Dropbox.Api/Team/GroupMembersSetAccessTypeArg.cs @@ -60,6 +60,7 @@ public GroupMembersSetAccessTypeArg(GroupSelector @group, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupMembersSetAccessTypeArg() { this.ReturnMembers = true; diff --git a/Dropbox.Api/Team/GroupUpdateArgs.cs b/Dropbox.Api/Team/GroupUpdateArgs.cs index d59a1a89fb..ea40ba0b9f 100644 --- a/Dropbox.Api/Team/GroupUpdateArgs.cs +++ b/Dropbox.Api/Team/GroupUpdateArgs.cs @@ -67,6 +67,7 @@ public GroupUpdateArgs(GroupSelector @group, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupUpdateArgs() { } diff --git a/Dropbox.Api/Team/GroupsListArg.cs b/Dropbox.Api/Team/GroupsListArg.cs index 90061fb916..26171d97d8 100644 --- a/Dropbox.Api/Team/GroupsListArg.cs +++ b/Dropbox.Api/Team/GroupsListArg.cs @@ -50,6 +50,7 @@ public GroupsListArg(uint limit = 1000) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupsListArg() { this.Limit = 1000; diff --git a/Dropbox.Api/Team/GroupsListContinueArg.cs b/Dropbox.Api/Team/GroupsListContinueArg.cs index bf375df0ce..fc7aa2a6aa 100644 --- a/Dropbox.Api/Team/GroupsListContinueArg.cs +++ b/Dropbox.Api/Team/GroupsListContinueArg.cs @@ -49,6 +49,7 @@ public GroupsListContinueArg(string cursor) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupsListContinueArg() { } diff --git a/Dropbox.Api/Team/GroupsListResult.cs b/Dropbox.Api/Team/GroupsListResult.cs index 1651d0e5d9..d85b2cd5f0 100644 --- a/Dropbox.Api/Team/GroupsListResult.cs +++ b/Dropbox.Api/Team/GroupsListResult.cs @@ -66,6 +66,7 @@ public GroupsListResult(col.IEnumerable gro /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupsListResult() { } diff --git a/Dropbox.Api/Team/GroupsMembersListArg.cs b/Dropbox.Api/Team/GroupsMembersListArg.cs index 709044defa..8b91ac3f80 100644 --- a/Dropbox.Api/Team/GroupsMembersListArg.cs +++ b/Dropbox.Api/Team/GroupsMembersListArg.cs @@ -60,6 +60,7 @@ public GroupsMembersListArg(GroupSelector @group, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupsMembersListArg() { this.Limit = 1000; diff --git a/Dropbox.Api/Team/GroupsMembersListContinueArg.cs b/Dropbox.Api/Team/GroupsMembersListContinueArg.cs index cc1f6e4189..fd2b51b1ae 100644 --- a/Dropbox.Api/Team/GroupsMembersListContinueArg.cs +++ b/Dropbox.Api/Team/GroupsMembersListContinueArg.cs @@ -49,6 +49,7 @@ public GroupsMembersListContinueArg(string cursor) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupsMembersListContinueArg() { } diff --git a/Dropbox.Api/Team/GroupsMembersListResult.cs b/Dropbox.Api/Team/GroupsMembersListResult.cs index eef45cc80f..1922a52218 100644 --- a/Dropbox.Api/Team/GroupsMembersListResult.cs +++ b/Dropbox.Api/Team/GroupsMembersListResult.cs @@ -66,6 +66,7 @@ public GroupsMembersListResult(col.IEnumerable members, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupsMembersListResult() { } diff --git a/Dropbox.Api/Team/IncludeMembersArg.cs b/Dropbox.Api/Team/IncludeMembersArg.cs index a3d52e1133..6eaaff40c8 100644 --- a/Dropbox.Api/Team/IncludeMembersArg.cs +++ b/Dropbox.Api/Team/IncludeMembersArg.cs @@ -48,6 +48,7 @@ public IncludeMembersArg(bool returnMembers = true) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public IncludeMembersArg() { this.ReturnMembers = true; diff --git a/Dropbox.Api/Team/ListMemberAppsArg.cs b/Dropbox.Api/Team/ListMemberAppsArg.cs index 930ec09015..7400ffe231 100644 --- a/Dropbox.Api/Team/ListMemberAppsArg.cs +++ b/Dropbox.Api/Team/ListMemberAppsArg.cs @@ -48,6 +48,7 @@ public ListMemberAppsArg(string teamMemberId) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListMemberAppsArg() { } diff --git a/Dropbox.Api/Team/ListMemberAppsResult.cs b/Dropbox.Api/Team/ListMemberAppsResult.cs index 7de9cc6827..ef4d831142 100644 --- a/Dropbox.Api/Team/ListMemberAppsResult.cs +++ b/Dropbox.Api/Team/ListMemberAppsResult.cs @@ -51,6 +51,7 @@ public ListMemberAppsResult(col.IEnumerable linkedApiApps) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListMemberAppsResult() { } diff --git a/Dropbox.Api/Team/ListMemberDevicesArg.cs b/Dropbox.Api/Team/ListMemberDevicesArg.cs index 46552a379d..0c2929430f 100644 --- a/Dropbox.Api/Team/ListMemberDevicesArg.cs +++ b/Dropbox.Api/Team/ListMemberDevicesArg.cs @@ -60,6 +60,7 @@ public ListMemberDevicesArg(string teamMemberId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListMemberDevicesArg() { this.IncludeWebSessions = true; diff --git a/Dropbox.Api/Team/ListMemberDevicesResult.cs b/Dropbox.Api/Team/ListMemberDevicesResult.cs index b64995bfd7..14edcdcf75 100644 --- a/Dropbox.Api/Team/ListMemberDevicesResult.cs +++ b/Dropbox.Api/Team/ListMemberDevicesResult.cs @@ -58,6 +58,7 @@ public ListMemberDevicesResult(col.IEnumerable activeWebSessio /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListMemberDevicesResult() { } diff --git a/Dropbox.Api/Team/ListMembersAppsArg.cs b/Dropbox.Api/Team/ListMembersAppsArg.cs index b71c2811c1..042fc95c96 100644 --- a/Dropbox.Api/Team/ListMembersAppsArg.cs +++ b/Dropbox.Api/Team/ListMembersAppsArg.cs @@ -49,6 +49,7 @@ public ListMembersAppsArg(string cursor = null) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListMembersAppsArg() { } diff --git a/Dropbox.Api/Team/ListMembersAppsResult.cs b/Dropbox.Api/Team/ListMembersAppsResult.cs index 2612754372..5b70684ea4 100644 --- a/Dropbox.Api/Team/ListMembersAppsResult.cs +++ b/Dropbox.Api/Team/ListMembersAppsResult.cs @@ -63,6 +63,7 @@ public ListMembersAppsResult(col.IEnumerable apps, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListMembersAppsResult() { } diff --git a/Dropbox.Api/Team/ListMembersDevicesArg.cs b/Dropbox.Api/Team/ListMembersDevicesArg.cs index 7f583ded56..f314d9612d 100644 --- a/Dropbox.Api/Team/ListMembersDevicesArg.cs +++ b/Dropbox.Api/Team/ListMembersDevicesArg.cs @@ -59,6 +59,7 @@ public ListMembersDevicesArg(string cursor = null, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListMembersDevicesArg() { this.IncludeWebSessions = true; diff --git a/Dropbox.Api/Team/ListMembersDevicesResult.cs b/Dropbox.Api/Team/ListMembersDevicesResult.cs index 5c1fe746bc..393926ed6c 100644 --- a/Dropbox.Api/Team/ListMembersDevicesResult.cs +++ b/Dropbox.Api/Team/ListMembersDevicesResult.cs @@ -61,6 +61,7 @@ public ListMembersDevicesResult(col.IEnumerable devices, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListMembersDevicesResult() { } diff --git a/Dropbox.Api/Team/ListTeamAppsArg.cs b/Dropbox.Api/Team/ListTeamAppsArg.cs index f0ae6289ca..466adfc7a1 100644 --- a/Dropbox.Api/Team/ListTeamAppsArg.cs +++ b/Dropbox.Api/Team/ListTeamAppsArg.cs @@ -49,6 +49,7 @@ public ListTeamAppsArg(string cursor = null) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListTeamAppsArg() { } diff --git a/Dropbox.Api/Team/ListTeamAppsResult.cs b/Dropbox.Api/Team/ListTeamAppsResult.cs index 0ddc87e3ee..a707460e28 100644 --- a/Dropbox.Api/Team/ListTeamAppsResult.cs +++ b/Dropbox.Api/Team/ListTeamAppsResult.cs @@ -63,6 +63,7 @@ public ListTeamAppsResult(col.IEnumerable apps, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListTeamAppsResult() { } diff --git a/Dropbox.Api/Team/ListTeamDevicesArg.cs b/Dropbox.Api/Team/ListTeamDevicesArg.cs index f25f160459..d8484567d4 100644 --- a/Dropbox.Api/Team/ListTeamDevicesArg.cs +++ b/Dropbox.Api/Team/ListTeamDevicesArg.cs @@ -59,6 +59,7 @@ public ListTeamDevicesArg(string cursor = null, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListTeamDevicesArg() { this.IncludeWebSessions = true; diff --git a/Dropbox.Api/Team/ListTeamDevicesResult.cs b/Dropbox.Api/Team/ListTeamDevicesResult.cs index d1df67005a..142e71b66f 100644 --- a/Dropbox.Api/Team/ListTeamDevicesResult.cs +++ b/Dropbox.Api/Team/ListTeamDevicesResult.cs @@ -61,6 +61,7 @@ public ListTeamDevicesResult(col.IEnumerable devices, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public ListTeamDevicesResult() { } diff --git a/Dropbox.Api/Team/MemberAccess.cs b/Dropbox.Api/Team/MemberAccess.cs index 943c9eaf2a..5ea91662c8 100644 --- a/Dropbox.Api/Team/MemberAccess.cs +++ b/Dropbox.Api/Team/MemberAccess.cs @@ -54,6 +54,7 @@ public MemberAccess(UserSelectorArg user, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MemberAccess() { } diff --git a/Dropbox.Api/Team/MemberAddArg.cs b/Dropbox.Api/Team/MemberAddArg.cs index 7a5f563707..168d008767 100644 --- a/Dropbox.Api/Team/MemberAddArg.cs +++ b/Dropbox.Api/Team/MemberAddArg.cs @@ -118,6 +118,7 @@ public MemberAddArg(string memberEmail, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MemberAddArg() { this.SendWelcomeEmail = true; diff --git a/Dropbox.Api/Team/MemberDevices.cs b/Dropbox.Api/Team/MemberDevices.cs index 101f43845a..9ff502ac57 100644 --- a/Dropbox.Api/Team/MemberDevices.cs +++ b/Dropbox.Api/Team/MemberDevices.cs @@ -61,6 +61,7 @@ public MemberDevices(string teamMemberId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MemberDevices() { } diff --git a/Dropbox.Api/Team/MemberLinkedApps.cs b/Dropbox.Api/Team/MemberLinkedApps.cs index 915d30232c..1a0e84a9ed 100644 --- a/Dropbox.Api/Team/MemberLinkedApps.cs +++ b/Dropbox.Api/Team/MemberLinkedApps.cs @@ -59,6 +59,7 @@ public MemberLinkedApps(string teamMemberId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MemberLinkedApps() { } diff --git a/Dropbox.Api/Team/MemberProfile.cs b/Dropbox.Api/Team/MemberProfile.cs index bf19cbc095..8561b9c6f9 100644 --- a/Dropbox.Api/Team/MemberProfile.cs +++ b/Dropbox.Api/Team/MemberProfile.cs @@ -105,6 +105,7 @@ public MemberProfile(string teamMemberId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MemberProfile() { } diff --git a/Dropbox.Api/Team/MembersAddArg.cs b/Dropbox.Api/Team/MembersAddArg.cs index cd4781f3f3..2bffca58ce 100644 --- a/Dropbox.Api/Team/MembersAddArg.cs +++ b/Dropbox.Api/Team/MembersAddArg.cs @@ -51,6 +51,7 @@ public MembersAddArg(col.IEnumerable newMembers, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MembersAddArg() { this.ForceAsync = false; diff --git a/Dropbox.Api/Team/MembersDeactivateArg.cs b/Dropbox.Api/Team/MembersDeactivateArg.cs index 35a929f1a7..703c3c6f70 100644 --- a/Dropbox.Api/Team/MembersDeactivateArg.cs +++ b/Dropbox.Api/Team/MembersDeactivateArg.cs @@ -54,6 +54,7 @@ public MembersDeactivateArg(UserSelectorArg user, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MembersDeactivateArg() { this.WipeData = true; diff --git a/Dropbox.Api/Team/MembersGetInfoArgs.cs b/Dropbox.Api/Team/MembersGetInfoArgs.cs index 08f05b3fa9..65fe549858 100644 --- a/Dropbox.Api/Team/MembersGetInfoArgs.cs +++ b/Dropbox.Api/Team/MembersGetInfoArgs.cs @@ -50,6 +50,7 @@ public MembersGetInfoArgs(col.IEnumerable members) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MembersGetInfoArgs() { } diff --git a/Dropbox.Api/Team/MembersListArg.cs b/Dropbox.Api/Team/MembersListArg.cs index 469af23976..afbba4ae8d 100644 --- a/Dropbox.Api/Team/MembersListArg.cs +++ b/Dropbox.Api/Team/MembersListArg.cs @@ -53,6 +53,7 @@ public MembersListArg(uint limit = 1000, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MembersListArg() { this.Limit = 1000; diff --git a/Dropbox.Api/Team/MembersListContinueArg.cs b/Dropbox.Api/Team/MembersListContinueArg.cs index e13675bdfa..c425ac47b2 100644 --- a/Dropbox.Api/Team/MembersListContinueArg.cs +++ b/Dropbox.Api/Team/MembersListContinueArg.cs @@ -49,6 +49,7 @@ public MembersListContinueArg(string cursor) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MembersListContinueArg() { } diff --git a/Dropbox.Api/Team/MembersListResult.cs b/Dropbox.Api/Team/MembersListResult.cs index a15626e80c..ad3dcd98f1 100644 --- a/Dropbox.Api/Team/MembersListResult.cs +++ b/Dropbox.Api/Team/MembersListResult.cs @@ -66,6 +66,7 @@ public MembersListResult(col.IEnumerable members, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MembersListResult() { } diff --git a/Dropbox.Api/Team/MembersRecoverArg.cs b/Dropbox.Api/Team/MembersRecoverArg.cs index c8ee71b34e..d45e9ca1ca 100644 --- a/Dropbox.Api/Team/MembersRecoverArg.cs +++ b/Dropbox.Api/Team/MembersRecoverArg.cs @@ -49,6 +49,7 @@ public MembersRecoverArg(UserSelectorArg user) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MembersRecoverArg() { } diff --git a/Dropbox.Api/Team/MembersRemoveArg.cs b/Dropbox.Api/Team/MembersRemoveArg.cs index 804a5b406c..5e57906a39 100644 --- a/Dropbox.Api/Team/MembersRemoveArg.cs +++ b/Dropbox.Api/Team/MembersRemoveArg.cs @@ -62,6 +62,7 @@ public MembersRemoveArg(UserSelectorArg user, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MembersRemoveArg() { this.KeepAccount = false; diff --git a/Dropbox.Api/Team/MembersSetPermissionsArg.cs b/Dropbox.Api/Team/MembersSetPermissionsArg.cs index 8371c9fd30..d5e10972b1 100644 --- a/Dropbox.Api/Team/MembersSetPermissionsArg.cs +++ b/Dropbox.Api/Team/MembersSetPermissionsArg.cs @@ -57,6 +57,7 @@ public MembersSetPermissionsArg(UserSelectorArg user, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MembersSetPermissionsArg() { } diff --git a/Dropbox.Api/Team/MembersSetPermissionsResult.cs b/Dropbox.Api/Team/MembersSetPermissionsResult.cs index 53b9f6d477..11ebe0cf6e 100644 --- a/Dropbox.Api/Team/MembersSetPermissionsResult.cs +++ b/Dropbox.Api/Team/MembersSetPermissionsResult.cs @@ -57,6 +57,7 @@ public MembersSetPermissionsResult(string teamMemberId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MembersSetPermissionsResult() { } diff --git a/Dropbox.Api/Team/MembersSetProfileArg.cs b/Dropbox.Api/Team/MembersSetProfileArg.cs index 3aabc5117b..8699f9a60b 100644 --- a/Dropbox.Api/Team/MembersSetProfileArg.cs +++ b/Dropbox.Api/Team/MembersSetProfileArg.cs @@ -115,6 +115,7 @@ public MembersSetProfileArg(UserSelectorArg user, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MembersSetProfileArg() { } diff --git a/Dropbox.Api/Team/MembersUnsuspendArg.cs b/Dropbox.Api/Team/MembersUnsuspendArg.cs index 3c167bdf4e..5213ae5be7 100644 --- a/Dropbox.Api/Team/MembersUnsuspendArg.cs +++ b/Dropbox.Api/Team/MembersUnsuspendArg.cs @@ -49,6 +49,7 @@ public MembersUnsuspendArg(UserSelectorArg user) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MembersUnsuspendArg() { } diff --git a/Dropbox.Api/Team/MobileClientSession.cs b/Dropbox.Api/Team/MobileClientSession.cs index f5ba6f0fdd..0b3be07468 100644 --- a/Dropbox.Api/Team/MobileClientSession.cs +++ b/Dropbox.Api/Team/MobileClientSession.cs @@ -79,6 +79,7 @@ public MobileClientSession(string sessionId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public MobileClientSession() { } diff --git a/Dropbox.Api/Team/RemovedStatus.cs b/Dropbox.Api/Team/RemovedStatus.cs index 92f5f476ba..a8eead68b0 100644 --- a/Dropbox.Api/Team/RemovedStatus.cs +++ b/Dropbox.Api/Team/RemovedStatus.cs @@ -41,6 +41,7 @@ public RemovedStatus(bool isRecoverable) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RemovedStatus() { } diff --git a/Dropbox.Api/Team/RevokeDesktopClientArg.cs b/Dropbox.Api/Team/RevokeDesktopClientArg.cs index 4a3ba0999e..432bd31bd0 100644 --- a/Dropbox.Api/Team/RevokeDesktopClientArg.cs +++ b/Dropbox.Api/Team/RevokeDesktopClientArg.cs @@ -51,6 +51,7 @@ public RevokeDesktopClientArg(string sessionId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RevokeDesktopClientArg() { this.DeleteOnUnlink = false; diff --git a/Dropbox.Api/Team/RevokeDeviceSessionBatchArg.cs b/Dropbox.Api/Team/RevokeDeviceSessionBatchArg.cs index 506c5757e9..db6acabf39 100644 --- a/Dropbox.Api/Team/RevokeDeviceSessionBatchArg.cs +++ b/Dropbox.Api/Team/RevokeDeviceSessionBatchArg.cs @@ -50,6 +50,7 @@ public RevokeDeviceSessionBatchArg(col.IEnumerable revok /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RevokeDeviceSessionBatchArg() { } diff --git a/Dropbox.Api/Team/RevokeDeviceSessionBatchResult.cs b/Dropbox.Api/Team/RevokeDeviceSessionBatchResult.cs index c3fe7e6ceb..01a6d89b56 100644 --- a/Dropbox.Api/Team/RevokeDeviceSessionBatchResult.cs +++ b/Dropbox.Api/Team/RevokeDeviceSessionBatchResult.cs @@ -50,6 +50,7 @@ public RevokeDeviceSessionBatchResult(col.IEnumerable /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RevokeDeviceSessionBatchResult() { } diff --git a/Dropbox.Api/Team/RevokeDeviceSessionStatus.cs b/Dropbox.Api/Team/RevokeDeviceSessionStatus.cs index 119e0a2734..e219532fcc 100644 --- a/Dropbox.Api/Team/RevokeDeviceSessionStatus.cs +++ b/Dropbox.Api/Team/RevokeDeviceSessionStatus.cs @@ -46,6 +46,7 @@ public RevokeDeviceSessionStatus(bool success, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RevokeDeviceSessionStatus() { } diff --git a/Dropbox.Api/Team/RevokeLinkedApiAppArg.cs b/Dropbox.Api/Team/RevokeLinkedApiAppArg.cs index 9b0b278ec3..bae0da0cca 100644 --- a/Dropbox.Api/Team/RevokeLinkedApiAppArg.cs +++ b/Dropbox.Api/Team/RevokeLinkedApiAppArg.cs @@ -60,6 +60,7 @@ public RevokeLinkedApiAppArg(string appId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RevokeLinkedApiAppArg() { this.KeepAppFolder = true; diff --git a/Dropbox.Api/Team/RevokeLinkedApiAppBatchArg.cs b/Dropbox.Api/Team/RevokeLinkedApiAppBatchArg.cs index 0a28f2640c..e1658c88b6 100644 --- a/Dropbox.Api/Team/RevokeLinkedApiAppBatchArg.cs +++ b/Dropbox.Api/Team/RevokeLinkedApiAppBatchArg.cs @@ -50,6 +50,7 @@ public RevokeLinkedApiAppBatchArg(col.IEnumerable revokeL /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RevokeLinkedApiAppBatchArg() { } diff --git a/Dropbox.Api/Team/RevokeLinkedAppBatchResult.cs b/Dropbox.Api/Team/RevokeLinkedAppBatchResult.cs index 208dff4183..260080fa01 100644 --- a/Dropbox.Api/Team/RevokeLinkedAppBatchResult.cs +++ b/Dropbox.Api/Team/RevokeLinkedAppBatchResult.cs @@ -50,6 +50,7 @@ public RevokeLinkedAppBatchResult(col.IEnumerable revokeL /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RevokeLinkedAppBatchResult() { } diff --git a/Dropbox.Api/Team/RevokeLinkedAppStatus.cs b/Dropbox.Api/Team/RevokeLinkedAppStatus.cs index 440cdd2abb..f37d367860 100644 --- a/Dropbox.Api/Team/RevokeLinkedAppStatus.cs +++ b/Dropbox.Api/Team/RevokeLinkedAppStatus.cs @@ -46,6 +46,7 @@ public RevokeLinkedAppStatus(bool success, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public RevokeLinkedAppStatus() { } diff --git a/Dropbox.Api/Team/StorageBucket.cs b/Dropbox.Api/Team/StorageBucket.cs index 713191955c..a177ce0517 100644 --- a/Dropbox.Api/Team/StorageBucket.cs +++ b/Dropbox.Api/Team/StorageBucket.cs @@ -51,6 +51,7 @@ public StorageBucket(string bucket, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public StorageBucket() { } diff --git a/Dropbox.Api/Team/TeamFolderArchiveArg.cs b/Dropbox.Api/Team/TeamFolderArchiveArg.cs index 2aa8926942..43ab0797cc 100644 --- a/Dropbox.Api/Team/TeamFolderArchiveArg.cs +++ b/Dropbox.Api/Team/TeamFolderArchiveArg.cs @@ -48,6 +48,7 @@ public TeamFolderArchiveArg(string teamFolderId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamFolderArchiveArg() { this.ForceAsyncOff = false; diff --git a/Dropbox.Api/Team/TeamFolderCreateArg.cs b/Dropbox.Api/Team/TeamFolderCreateArg.cs index 6bfa024d52..6cb3b837fd 100644 --- a/Dropbox.Api/Team/TeamFolderCreateArg.cs +++ b/Dropbox.Api/Team/TeamFolderCreateArg.cs @@ -48,6 +48,7 @@ public TeamFolderCreateArg(string name) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamFolderCreateArg() { } diff --git a/Dropbox.Api/Team/TeamFolderIdArg.cs b/Dropbox.Api/Team/TeamFolderIdArg.cs index f99fb1d798..ebb1afb7b5 100644 --- a/Dropbox.Api/Team/TeamFolderIdArg.cs +++ b/Dropbox.Api/Team/TeamFolderIdArg.cs @@ -54,6 +54,7 @@ public TeamFolderIdArg(string teamFolderId) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamFolderIdArg() { } diff --git a/Dropbox.Api/Team/TeamFolderIdListArg.cs b/Dropbox.Api/Team/TeamFolderIdListArg.cs index 3af706ce5d..38b85809ef 100644 --- a/Dropbox.Api/Team/TeamFolderIdListArg.cs +++ b/Dropbox.Api/Team/TeamFolderIdListArg.cs @@ -54,6 +54,7 @@ public TeamFolderIdListArg(col.IEnumerable teamFolderIds) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamFolderIdListArg() { } diff --git a/Dropbox.Api/Team/TeamFolderListArg.cs b/Dropbox.Api/Team/TeamFolderListArg.cs index 81c5079c4a..38ab470fe2 100644 --- a/Dropbox.Api/Team/TeamFolderListArg.cs +++ b/Dropbox.Api/Team/TeamFolderListArg.cs @@ -52,6 +52,7 @@ public TeamFolderListArg(uint limit = 1000) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamFolderListArg() { this.Limit = 1000; diff --git a/Dropbox.Api/Team/TeamFolderListError.cs b/Dropbox.Api/Team/TeamFolderListError.cs index b5efa1eb04..3080ece2b3 100644 --- a/Dropbox.Api/Team/TeamFolderListError.cs +++ b/Dropbox.Api/Team/TeamFolderListError.cs @@ -48,6 +48,7 @@ public TeamFolderListError(TeamFolderAccessError accessError) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamFolderListError() { } diff --git a/Dropbox.Api/Team/TeamFolderListResult.cs b/Dropbox.Api/Team/TeamFolderListResult.cs index 42631881de..8b839c86e9 100644 --- a/Dropbox.Api/Team/TeamFolderListResult.cs +++ b/Dropbox.Api/Team/TeamFolderListResult.cs @@ -52,6 +52,7 @@ public TeamFolderListResult(col.IEnumerable teamFolders) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamFolderListResult() { } diff --git a/Dropbox.Api/Team/TeamFolderMetadata.cs b/Dropbox.Api/Team/TeamFolderMetadata.cs index 447439151f..1a71779abb 100644 --- a/Dropbox.Api/Team/TeamFolderMetadata.cs +++ b/Dropbox.Api/Team/TeamFolderMetadata.cs @@ -68,6 +68,7 @@ public TeamFolderMetadata(string teamFolderId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamFolderMetadata() { } diff --git a/Dropbox.Api/Team/TeamFolderRenameArg.cs b/Dropbox.Api/Team/TeamFolderRenameArg.cs index 79a7790025..b9653dba03 100644 --- a/Dropbox.Api/Team/TeamFolderRenameArg.cs +++ b/Dropbox.Api/Team/TeamFolderRenameArg.cs @@ -52,6 +52,7 @@ public TeamFolderRenameArg(string teamFolderId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamFolderRenameArg() { } diff --git a/Dropbox.Api/Team/TeamGetInfoResult.cs b/Dropbox.Api/Team/TeamGetInfoResult.cs index f7de8536be..a7333542d7 100644 --- a/Dropbox.Api/Team/TeamGetInfoResult.cs +++ b/Dropbox.Api/Team/TeamGetInfoResult.cs @@ -72,6 +72,7 @@ public TeamGetInfoResult(string name, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamGetInfoResult() { } diff --git a/Dropbox.Api/Team/TeamMemberInfo.cs b/Dropbox.Api/Team/TeamMemberInfo.cs index 0018f4607c..3d5b3c45a1 100644 --- a/Dropbox.Api/Team/TeamMemberInfo.cs +++ b/Dropbox.Api/Team/TeamMemberInfo.cs @@ -54,6 +54,7 @@ public TeamMemberInfo(TeamMemberProfile profile, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamMemberInfo() { } diff --git a/Dropbox.Api/Team/TeamMemberProfile.cs b/Dropbox.Api/Team/TeamMemberProfile.cs index eb8b6b177a..2da156a703 100644 --- a/Dropbox.Api/Team/TeamMemberProfile.cs +++ b/Dropbox.Api/Team/TeamMemberProfile.cs @@ -73,6 +73,7 @@ public TeamMemberProfile(string teamMemberId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamMemberProfile() { } diff --git a/Dropbox.Api/Team/UpdatePropertyTemplateArg.cs b/Dropbox.Api/Team/UpdatePropertyTemplateArg.cs index a89533b2ee..1b0c12c270 100644 --- a/Dropbox.Api/Team/UpdatePropertyTemplateArg.cs +++ b/Dropbox.Api/Team/UpdatePropertyTemplateArg.cs @@ -72,6 +72,7 @@ public UpdatePropertyTemplateArg(string templateId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UpdatePropertyTemplateArg() { } diff --git a/Dropbox.Api/Team/UpdatePropertyTemplateResult.cs b/Dropbox.Api/Team/UpdatePropertyTemplateResult.cs index 4db38a259b..6f423a9fd2 100644 --- a/Dropbox.Api/Team/UpdatePropertyTemplateResult.cs +++ b/Dropbox.Api/Team/UpdatePropertyTemplateResult.cs @@ -58,6 +58,7 @@ public UpdatePropertyTemplateResult(string templateId) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public UpdatePropertyTemplateResult() { } diff --git a/Dropbox.Api/TeamCommon/GroupSummary.cs b/Dropbox.Api/TeamCommon/GroupSummary.cs index 264dc00f4d..f3fc0c8c7f 100644 --- a/Dropbox.Api/TeamCommon/GroupSummary.cs +++ b/Dropbox.Api/TeamCommon/GroupSummary.cs @@ -69,6 +69,7 @@ public GroupSummary(string groupName, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GroupSummary() { } diff --git a/Dropbox.Api/TeamPolicies/TeamMemberPolicies.cs b/Dropbox.Api/TeamPolicies/TeamMemberPolicies.cs index 63446b5c82..b5d309e85e 100644 --- a/Dropbox.Api/TeamPolicies/TeamMemberPolicies.cs +++ b/Dropbox.Api/TeamPolicies/TeamMemberPolicies.cs @@ -61,6 +61,7 @@ public TeamMemberPolicies(TeamSharingPolicies sharing, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamMemberPolicies() { } diff --git a/Dropbox.Api/TeamPolicies/TeamSharingPolicies.cs b/Dropbox.Api/TeamPolicies/TeamSharingPolicies.cs index 13f345f0f7..1a567c0401 100644 --- a/Dropbox.Api/TeamPolicies/TeamSharingPolicies.cs +++ b/Dropbox.Api/TeamPolicies/TeamSharingPolicies.cs @@ -68,6 +68,7 @@ public TeamSharingPolicies(SharedFolderMemberPolicy sharedFolderMemberPolicy, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamSharingPolicies() { } diff --git a/Dropbox.Api/Users/Account.cs b/Dropbox.Api/Users/Account.cs index 8614b3bd70..c1bb43698f 100644 --- a/Dropbox.Api/Users/Account.cs +++ b/Dropbox.Api/Users/Account.cs @@ -86,6 +86,7 @@ public Account(string accountId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public Account() { } diff --git a/Dropbox.Api/Users/BasicAccount.cs b/Dropbox.Api/Users/BasicAccount.cs index b9b8513314..a6fcfa840a 100644 --- a/Dropbox.Api/Users/BasicAccount.cs +++ b/Dropbox.Api/Users/BasicAccount.cs @@ -65,6 +65,7 @@ public BasicAccount(string accountId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public BasicAccount() { } diff --git a/Dropbox.Api/Users/FullAccount.cs b/Dropbox.Api/Users/FullAccount.cs index 3f49189704..30986334ee 100644 --- a/Dropbox.Api/Users/FullAccount.cs +++ b/Dropbox.Api/Users/FullAccount.cs @@ -118,6 +118,7 @@ public FullAccount(string accountId, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public FullAccount() { } diff --git a/Dropbox.Api/Users/FullTeam.cs b/Dropbox.Api/Users/FullTeam.cs index 439e21726c..608c56edc2 100644 --- a/Dropbox.Api/Users/FullTeam.cs +++ b/Dropbox.Api/Users/FullTeam.cs @@ -52,6 +52,7 @@ public FullTeam(string id, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public FullTeam() { } diff --git a/Dropbox.Api/Users/GetAccountArg.cs b/Dropbox.Api/Users/GetAccountArg.cs index 5598626bdd..ae48570b78 100644 --- a/Dropbox.Api/Users/GetAccountArg.cs +++ b/Dropbox.Api/Users/GetAccountArg.cs @@ -54,6 +54,7 @@ public GetAccountArg(string accountId) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetAccountArg() { } diff --git a/Dropbox.Api/Users/GetAccountBatchArg.cs b/Dropbox.Api/Users/GetAccountBatchArg.cs index 94dcd5d60f..c96177b33e 100644 --- a/Dropbox.Api/Users/GetAccountBatchArg.cs +++ b/Dropbox.Api/Users/GetAccountBatchArg.cs @@ -55,6 +55,7 @@ public GetAccountBatchArg(col.IEnumerable accountIds) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public GetAccountBatchArg() { } diff --git a/Dropbox.Api/Users/IndividualSpaceAllocation.cs b/Dropbox.Api/Users/IndividualSpaceAllocation.cs index 7e6fd4900f..adca8aa040 100644 --- a/Dropbox.Api/Users/IndividualSpaceAllocation.cs +++ b/Dropbox.Api/Users/IndividualSpaceAllocation.cs @@ -44,6 +44,7 @@ public IndividualSpaceAllocation(ulong allocated) /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public IndividualSpaceAllocation() { } diff --git a/Dropbox.Api/Users/Name.cs b/Dropbox.Api/Users/Name.cs index 1ec1b1feac..85378c4574 100644 --- a/Dropbox.Api/Users/Name.cs +++ b/Dropbox.Api/Users/Name.cs @@ -86,6 +86,7 @@ public Name(string givenName, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public Name() { } diff --git a/Dropbox.Api/Users/SpaceUsage.cs b/Dropbox.Api/Users/SpaceUsage.cs index c403aedee7..b937aa0b7b 100644 --- a/Dropbox.Api/Users/SpaceUsage.cs +++ b/Dropbox.Api/Users/SpaceUsage.cs @@ -49,6 +49,7 @@ public SpaceUsage(ulong used, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public SpaceUsage() { } diff --git a/Dropbox.Api/Users/Team.cs b/Dropbox.Api/Users/Team.cs index 21dcb0099c..560e25ccb8 100644 --- a/Dropbox.Api/Users/Team.cs +++ b/Dropbox.Api/Users/Team.cs @@ -55,6 +55,7 @@ public Team(string id, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public Team() { } diff --git a/Dropbox.Api/Users/TeamSpaceAllocation.cs b/Dropbox.Api/Users/TeamSpaceAllocation.cs index 32a370dbdf..36ed3629d2 100644 --- a/Dropbox.Api/Users/TeamSpaceAllocation.cs +++ b/Dropbox.Api/Users/TeamSpaceAllocation.cs @@ -48,6 +48,7 @@ public TeamSpaceAllocation(ulong used, /// /// This is to construct an instance of the object when /// deserializing. + [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)] public TeamSpaceAllocation() { }