/// <summary> /// <para>Begins an asynchronous send to the linked apps list member linked apps /// route.</para> /// </summary> /// <param name="teamMemberId">The team member id</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 BeginLinkedAppsListMemberLinkedApps(string teamMemberId, sys.AsyncCallback callback, object callbackState = null) { var listMemberAppsArg = new ListMemberAppsArg(teamMemberId); return this.BeginLinkedAppsListMemberLinkedApps(listMemberAppsArg, callback, callbackState); }
/// <summary> /// <para>Begins an asynchronous send to the linked apps list member linked apps /// route.</para> /// </summary> /// <param name="listMemberAppsArg">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 BeginLinkedAppsListMemberLinkedApps(ListMemberAppsArg listMemberAppsArg, sys.AsyncCallback callback, object state = null) { var task = this.LinkedAppsListMemberLinkedAppsAsync(listMemberAppsArg); return enc.Util.ToApm(task, callback, state); }
/// <summary> /// <para>List all linked applications of the team member.</para> /// <para>Note, this endpoint doesn't list any team-linked applications.</para> /// </summary> /// <param name="teamMemberId">The team member id</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{ListMemberAppsError}">Thrown if there is /// an error processing the request; This will contain a <see /// cref="ListMemberAppsError"/>.</exception> public t.Task<ListMemberAppsResult> LinkedAppsListMemberLinkedAppsAsync(string teamMemberId) { var listMemberAppsArg = new ListMemberAppsArg(teamMemberId); return this.LinkedAppsListMemberLinkedAppsAsync(listMemberAppsArg); }
/// <summary> /// <para>List all linked applications of the team member.</para> /// <para>Note, this endpoint doesn't list any team-linked applications.</para> /// </summary> /// <param name="listMemberAppsArg">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{ListMemberAppsError}">Thrown if there is /// an error processing the request; This will contain a <see /// cref="ListMemberAppsError"/>.</exception> public t.Task<ListMemberAppsResult> LinkedAppsListMemberLinkedAppsAsync(ListMemberAppsArg listMemberAppsArg) { return this.Transport.SendRpcRequestAsync<ListMemberAppsArg, ListMemberAppsResult, ListMemberAppsError>(listMemberAppsArg, "api", "/team/linked_apps/list_member_linked_apps", Dropbox.Api.Team.ListMemberAppsArg.Encoder, Dropbox.Api.Team.ListMemberAppsResult.Decoder, Dropbox.Api.Team.ListMemberAppsError.Decoder); }