/// <summary>
        /// <para>Begins an asynchronous send to the revoke shared link route.</para>
        /// </summary>
        /// <param name="url">URL of the shared link.</param>
        /// <param name="callback">The method to be called when the asynchronous send is
        /// completed.</param>
        /// <param name="callbackState">A user provided object that distinguished this send
        /// from other send requests.</param>
        /// <returns>An object that represents the asynchronous send request.</returns>
        public sys.IAsyncResult BeginRevokeSharedLink(string url,
                                                      sys.AsyncCallback callback,
                                                      object callbackState = null)
        {
            var revokeSharedLinkArg = new RevokeSharedLinkArg(url);

            return this.BeginRevokeSharedLink(revokeSharedLinkArg, callback, callbackState);
        }
        /// <summary>
        /// <para>Begins an asynchronous send to the revoke shared link route.</para>
        /// </summary>
        /// <param name="revokeSharedLinkArg">The request parameters.</param>
        /// <param name="callback">The method to be called when the asynchronous send is
        /// completed.</param>
        /// <param name="state">A user provided object that distinguished this send from other
        /// send requests.</param>
        /// <returns>An object that represents the asynchronous send request.</returns>
        public sys.IAsyncResult BeginRevokeSharedLink(RevokeSharedLinkArg revokeSharedLinkArg, sys.AsyncCallback callback, object state = null)
        {
            var task = this.RevokeSharedLinkAsync(revokeSharedLinkArg);

            return enc.Util.ToApm(task, callback, state);
        }
        /// <summary>
        /// <para>Revoke a shared link.</para>
        /// <para>This API is only supported for full dropbox apps.</para>
        /// </summary>
        /// <param name="url">URL of the shared link.</param>
        /// <returns>The task that represents the asynchronous send operation.</returns>
        /// <exception cref="Dropbox.Api.ApiException{RevokeSharedLinkError}">Thrown if there
        /// is an error processing the request; This will contain a <see
        /// cref="RevokeSharedLinkError"/>.</exception>
        public t.Task RevokeSharedLinkAsync(string url)
        {
            var revokeSharedLinkArg = new RevokeSharedLinkArg(url);

            return this.RevokeSharedLinkAsync(revokeSharedLinkArg);
        }
 /// <summary>
 /// <para>Revoke a shared link.</para>
 /// <para>This API is only supported for full dropbox apps.</para>
 /// </summary>
 /// <param name="revokeSharedLinkArg">The request parameters</param>
 /// <returns>The task that represents the asynchronous send operation.</returns>
 /// <exception cref="Dropbox.Api.ApiException{RevokeSharedLinkError}">Thrown if there
 /// is an error processing the request; This will contain a <see
 /// cref="RevokeSharedLinkError"/>.</exception>
 public t.Task RevokeSharedLinkAsync(RevokeSharedLinkArg revokeSharedLinkArg)
 {
     return this.Transport.SendRpcRequestAsync<RevokeSharedLinkArg, enc.Empty, RevokeSharedLinkError>(revokeSharedLinkArg, "api", "/sharing/revoke_shared_link", RevokeSharedLinkArg.Encoder, enc.EmptyDecoder.Instance, RevokeSharedLinkError.Decoder);
 }