/// <summary> /// <para>Begins an asynchronous send to the linked apps list team linked apps /// route.</para> /// </summary> /// <param name="cursor">At the first call to the <see /// cref="Dropbox.Api.Team.Routes.TeamRoutes.LinkedAppsListTeamLinkedAppsAsync" /> the /// cursor shouldn't be passed. Then, if the result of the call includes a cursor, the /// following requests should include the received cursors in order to receive the next /// sub list of the team applications</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 BeginLinkedAppsListTeamLinkedApps(string cursor = null, sys.AsyncCallback callback = null, object callbackState = null) { var listTeamAppsArg = new ListTeamAppsArg(cursor); return this.BeginLinkedAppsListTeamLinkedApps(listTeamAppsArg, callback, callbackState); }
/// <summary> /// <para>Begins an asynchronous send to the linked apps list team linked apps /// route.</para> /// </summary> /// <param name="listTeamAppsArg">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 BeginLinkedAppsListTeamLinkedApps(ListTeamAppsArg listTeamAppsArg, sys.AsyncCallback callback, object state = null) { var task = this.LinkedAppsListTeamLinkedAppsAsync(listTeamAppsArg); return enc.Util.ToApm(task, callback, state); }
/// <summary> /// <para>List all applications linked to the team members' accounts.</para> /// <para>Note, this endpoint doesn't list any team-linked applications.</para> /// </summary> /// <param name="cursor">At the first call to the <see /// cref="Dropbox.Api.Team.Routes.TeamRoutes.LinkedAppsListTeamLinkedAppsAsync" /> the /// cursor shouldn't be passed. Then, if the result of the call includes a cursor, the /// following requests should include the received cursors in order to receive the next /// sub list of the team applications</param> /// <returns>The task that represents the asynchronous send operation. The TResult /// parameter contains the response from the server.</returns> /// <exception cref="Dropbox.Api.ApiException{ListTeamAppsError}">Thrown if there is an /// error processing the request; This will contain a <see /// cref="ListTeamAppsError"/>.</exception> public t.Task<ListTeamAppsResult> LinkedAppsListTeamLinkedAppsAsync(string cursor = null) { var listTeamAppsArg = new ListTeamAppsArg(cursor); return this.LinkedAppsListTeamLinkedAppsAsync(listTeamAppsArg); }
/// <summary> /// <para>List all applications linked to the team members' accounts.</para> /// <para>Note, this endpoint doesn't list any team-linked applications.</para> /// </summary> /// <param name="listTeamAppsArg">The request parameters</param> /// <returns>The task that represents the asynchronous send operation. The TResult /// parameter contains the response from the server.</returns> /// <exception cref="Dropbox.Api.ApiException{ListTeamAppsError}">Thrown if there is an /// error processing the request; This will contain a <see /// cref="ListTeamAppsError"/>.</exception> public t.Task<ListTeamAppsResult> LinkedAppsListTeamLinkedAppsAsync(ListTeamAppsArg listTeamAppsArg) { return this.Transport.SendRpcRequestAsync<ListTeamAppsArg, ListTeamAppsResult, ListTeamAppsError>(listTeamAppsArg, "api", "/team/linked_apps/list_team_linked_apps", Dropbox.Api.Team.ListTeamAppsArg.Encoder, Dropbox.Api.Team.ListTeamAppsResult.Decoder, Dropbox.Api.Team.ListTeamAppsError.Decoder); }