/// <summary>
        /// <para>Begins an asynchronous send to the devices revoke device session
        /// route.</para>
        /// </summary>
        /// <param name="revokeDeviceSessionArg">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 BeginDevicesRevokeDeviceSession(RevokeDeviceSessionArg revokeDeviceSessionArg, sys.AsyncCallback callback, object state = null)
        {
            var task = this.DevicesRevokeDeviceSessionAsync(revokeDeviceSessionArg);

            return enc.Util.ToApm(task, callback, state);
        }
 /// <summary>
 /// <para>Revoke a device session of a team's member</para>
 /// </summary>
 /// <param name="revokeDeviceSessionArg">The request parameters</param>
 /// <returns>The task that represents the asynchronous send operation.</returns>
 /// <exception cref="Dropbox.Api.ApiException{RevokeDeviceSessionError}">Thrown if
 /// there is an error processing the request; This will contain a <see
 /// cref="RevokeDeviceSessionError"/>.</exception>
 public t.Task DevicesRevokeDeviceSessionAsync(RevokeDeviceSessionArg revokeDeviceSessionArg)
 {
     return this.Transport.SendRpcRequestAsync<RevokeDeviceSessionArg, enc.Empty, RevokeDeviceSessionError>(revokeDeviceSessionArg, "api", "/team/devices/revoke_device_session", Dropbox.Api.Team.RevokeDeviceSessionArg.Encoder, enc.EmptyDecoder.Instance, Dropbox.Api.Team.RevokeDeviceSessionError.Decoder);
 }