Skip to content

Commit d3b1576

Browse files
DropboxBotEugene Che
andauthored
Automated Spec Update (#273)
72d0718154d13756b31b5a0e0948abcae35dab84 Change Notes: files Namespace - Remove upload_session/finish_batch team_log_generated Namespace - Update SharedContentUnshareDetails struct example Co-authored-by: Eugene Che <[email protected]> Co-authored-by: DropboxBot <[email protected]> Co-authored-by: Eugene Che <[email protected]>
1 parent 72d7d46 commit d3b1576

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

dropbox-sdk-dotnet/Dropbox.Api/Generated/Files/FilesUserRoutes.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6746,6 +6746,7 @@ public FileMetadata EndUploadSessionFinish(sys.IAsyncResult asyncResult)
67466746
/// <param name="uploadSessionFinishBatchArg">The request parameters</param>
67476747
/// <returns>The task that represents the asynchronous send operation. The TResult
67486748
/// parameter contains the response from the server.</returns>
6749+
[sys.Obsolete("This function is deprecated, please use UploadSessionFinishBatchV2Async instead.")]
67496750
public t.Task<UploadSessionFinishBatchLaunch> UploadSessionFinishBatchAsync(UploadSessionFinishBatchArg uploadSessionFinishBatchArg)
67506751
{
67516752
return this.Transport.SendRpcRequestAsync<UploadSessionFinishBatchArg, UploadSessionFinishBatchLaunch, enc.Empty>(uploadSessionFinishBatchArg, "api", "/files/upload_session/finish_batch", "user", global::Dropbox.Api.Files.UploadSessionFinishBatchArg.Encoder, global::Dropbox.Api.Files.UploadSessionFinishBatchLaunch.Decoder, enc.EmptyDecoder.Instance);
@@ -6760,6 +6761,7 @@ public t.Task<UploadSessionFinishBatchLaunch> UploadSessionFinishBatchAsync(Uplo
67606761
/// <param name="state">A user provided object that distinguished this send from other
67616762
/// send requests.</param>
67626763
/// <returns>An object that represents the asynchronous send request.</returns>
6764+
[sys.Obsolete("This function is deprecated, please use BeginUploadSessionFinishBatchV2 instead.")]
67636765
public sys.IAsyncResult BeginUploadSessionFinishBatch(UploadSessionFinishBatchArg uploadSessionFinishBatchArg, sys.AsyncCallback callback, object state = null)
67646766
{
67656767
var task = this.UploadSessionFinishBatchAsync(uploadSessionFinishBatchArg);
@@ -6797,6 +6799,7 @@ public sys.IAsyncResult BeginUploadSessionFinishBatch(UploadSessionFinishBatchAr
67976799
/// <param name="entries">Commit information for each file in the batch.</param>
67986800
/// <returns>The task that represents the asynchronous send operation. The TResult
67996801
/// parameter contains the response from the server.</returns>
6802+
[sys.Obsolete("This function is deprecated, please use UploadSessionFinishBatchV2Async instead.")]
68006803
public t.Task<UploadSessionFinishBatchLaunch> UploadSessionFinishBatchAsync(col.IEnumerable<UploadSessionFinishArg> entries)
68016804
{
68026805
var uploadSessionFinishBatchArg = new UploadSessionFinishBatchArg(entries);
@@ -6813,6 +6816,7 @@ public t.Task<UploadSessionFinishBatchLaunch> UploadSessionFinishBatchAsync(col.
68136816
/// <param name="callbackState">A user provided object that distinguished this send
68146817
/// from other send requests.</param>
68156818
/// <returns>An object that represents the asynchronous send request.</returns>
6819+
[sys.Obsolete("This function is deprecated, please use BeginUploadSessionFinishBatchV2 instead.")]
68166820
public sys.IAsyncResult BeginUploadSessionFinishBatch(col.IEnumerable<UploadSessionFinishArg> entries,
68176821
sys.AsyncCallback callback,
68186822
object callbackState = null)
@@ -6829,6 +6833,7 @@ public sys.IAsyncResult BeginUploadSessionFinishBatch(col.IEnumerable<UploadSess
68296833
/// <param name="asyncResult">The reference to the pending asynchronous send
68306834
/// request</param>
68316835
/// <returns>The response to the send request</returns>
6836+
[sys.Obsolete("This function is deprecated, please use EndUploadSessionFinishBatchV2 instead.")]
68326837
public UploadSessionFinishBatchLaunch EndUploadSessionFinishBatch(sys.IAsyncResult asyncResult)
68336838
{
68346839
var task = asyncResult as t.Task<UploadSessionFinishBatchLaunch>;

spec

0 commit comments

Comments
 (0)