@@ -654,6 +654,7 @@ public enc.IDownloadResponse<SharedLinkMetadata> EndGetSharedLinkFile(sys.IAsync
654654 /// <exception cref="Dropbox.Api.ApiException{GetSharedLinksError}">Thrown if there is
655655 /// an error processing the request; This will contain a <see
656656 /// cref="GetSharedLinksError"/>.</exception>
657+ [ sys . Obsolete ( "This function is deprecated, please use ListSharedLinksAsync instead." ) ]
657658 public t . Task < GetSharedLinksResult > GetSharedLinksAsync ( GetSharedLinksArg getSharedLinksArg )
658659 {
659660 return this . Transport . SendRpcRequestAsync < GetSharedLinksArg , GetSharedLinksResult , GetSharedLinksError > ( getSharedLinksArg , "api" , "/sharing/get_shared_links" , Dropbox . Api . Sharing . GetSharedLinksArg . Encoder , Dropbox . Api . Sharing . GetSharedLinksResult . Decoder , Dropbox . Api . Sharing . GetSharedLinksError . Decoder ) ;
@@ -668,6 +669,7 @@ public t.Task<GetSharedLinksResult> GetSharedLinksAsync(GetSharedLinksArg getSha
668669 /// <param name="state">A user provided object that distinguished this send from other
669670 /// send requests.</param>
670671 /// <returns>An object that represents the asynchronous send request.</returns>
672+ [ sys . Obsolete ( "This function is deprecated, please use BeginListSharedLinks instead." ) ]
671673 public sys . IAsyncResult BeginGetSharedLinks ( GetSharedLinksArg getSharedLinksArg , sys . AsyncCallback callback , object state = null )
672674 {
673675 var task = this . GetSharedLinksAsync ( getSharedLinksArg ) ;
@@ -692,6 +694,7 @@ public sys.IAsyncResult BeginGetSharedLinks(GetSharedLinksArg getSharedLinksArg,
692694 /// <exception cref="Dropbox.Api.ApiException{GetSharedLinksError}">Thrown if there is
693695 /// an error processing the request; This will contain a <see
694696 /// cref="GetSharedLinksError"/>.</exception>
697+ [ sys . Obsolete ( "This function is deprecated, please use ListSharedLinksAsync instead." ) ]
695698 public t . Task < GetSharedLinksResult > GetSharedLinksAsync ( string path = null )
696699 {
697700 var getSharedLinksArg = new GetSharedLinksArg ( path ) ;
@@ -710,6 +713,7 @@ public t.Task<GetSharedLinksResult> GetSharedLinksAsync(string path = null)
710713 /// <param name="callbackState">A user provided object that distinguished this send
711714 /// from other send requests.</param>
712715 /// <returns>An object that represents the asynchronous send request.</returns>
716+ [ sys . Obsolete ( "This function is deprecated, please use BeginListSharedLinks instead." ) ]
713717 public sys . IAsyncResult BeginGetSharedLinks ( string path = null ,
714718 sys . AsyncCallback callback = null ,
715719 object callbackState = null )
@@ -729,6 +733,7 @@ public sys.IAsyncResult BeginGetSharedLinks(string path = null,
729733 /// <exception cref="Dropbox.Api.ApiException{GetSharedLinksError}">Thrown if there is
730734 /// an error processing the request; This will contain a <see
731735 /// cref="GetSharedLinksError"/>.</exception>
736+ [ sys . Obsolete ( "This function is deprecated, please use EndListSharedLinks instead." ) ]
732737 public GetSharedLinksResult EndGetSharedLinks ( sys . IAsyncResult asyncResult )
733738 {
734739 var task = asyncResult as t . Task < GetSharedLinksResult > ;
@@ -759,6 +764,7 @@ public GetSharedLinksResult EndGetSharedLinks(sys.IAsyncResult asyncResult)
759764 /// <exception cref="Dropbox.Api.ApiException{CreateSharedLinkError}">Thrown if there
760765 /// is an error processing the request; This will contain a <see
761766 /// cref="CreateSharedLinkError"/>.</exception>
767+ [ sys . Obsolete ( "This function is deprecated, please use CreateSharedLinkWithSettingsAsync instead." ) ]
762768 public t . Task < PathLinkMetadata > CreateSharedLinkAsync ( CreateSharedLinkArg createSharedLinkArg )
763769 {
764770 return this . Transport . SendRpcRequestAsync < CreateSharedLinkArg , PathLinkMetadata , CreateSharedLinkError > ( createSharedLinkArg , "api" , "/sharing/create_shared_link" , Dropbox . Api . Sharing . CreateSharedLinkArg . Encoder , Dropbox . Api . Sharing . PathLinkMetadata . Decoder , Dropbox . Api . Sharing . CreateSharedLinkError . Decoder ) ;
@@ -773,6 +779,7 @@ public t.Task<PathLinkMetadata> CreateSharedLinkAsync(CreateSharedLinkArg create
773779 /// <param name="state">A user provided object that distinguished this send from other
774780 /// send requests.</param>
775781 /// <returns>An object that represents the asynchronous send request.</returns>
782+ [ sys . Obsolete ( "This function is deprecated, please use BeginCreateSharedLinkWithSettings instead." ) ]
776783 public sys . IAsyncResult BeginCreateSharedLink ( CreateSharedLinkArg createSharedLinkArg , sys . AsyncCallback callback , object state = null )
777784 {
778785 var task = this . CreateSharedLinkAsync ( createSharedLinkArg ) ;
@@ -804,6 +811,7 @@ public sys.IAsyncResult BeginCreateSharedLink(CreateSharedLinkArg createSharedLi
804811 /// <exception cref="Dropbox.Api.ApiException{CreateSharedLinkError}">Thrown if there
805812 /// is an error processing the request; This will contain a <see
806813 /// cref="CreateSharedLinkError"/>.</exception>
814+ [ sys . Obsolete ( "This function is deprecated, please use CreateSharedLinkWithSettingsAsync instead." ) ]
807815 public t . Task < PathLinkMetadata > CreateSharedLinkAsync ( string path ,
808816 bool shortUrl = false ,
809817 PendingUploadMode pendingUpload = null )
@@ -829,6 +837,7 @@ public t.Task<PathLinkMetadata> CreateSharedLinkAsync(string path,
829837 /// <param name="callbackState">A user provided object that distinguished this send
830838 /// from other send requests.</param>
831839 /// <returns>An object that represents the asynchronous send request.</returns>
840+ [ sys . Obsolete ( "This function is deprecated, please use BeginCreateSharedLinkWithSettings instead." ) ]
832841 public sys . IAsyncResult BeginCreateSharedLink ( string path ,
833842 bool shortUrl = false ,
834843 PendingUploadMode pendingUpload = null ,
@@ -852,6 +861,7 @@ public sys.IAsyncResult BeginCreateSharedLink(string path,
852861 /// <exception cref="Dropbox.Api.ApiException{CreateSharedLinkError}">Thrown if there
853862 /// is an error processing the request; This will contain a <see
854863 /// cref="CreateSharedLinkError"/>.</exception>
864+ [ sys . Obsolete ( "This function is deprecated, please use EndCreateSharedLinkWithSettings instead." ) ]
855865 public PathLinkMetadata EndCreateSharedLink ( sys . IAsyncResult asyncResult )
856866 {
857867 var task = asyncResult as t . Task < PathLinkMetadata > ;
0 commit comments