public virtual IAsyncResult BeginListListMembershipsFor(ListListMembershipsForOptions options) { var user_id = options.UserId; var screen_name = options.ScreenName; var cursor = options.Cursor; var filter_to_owned_lists = options.FilterToOwnedLists; return BeginWithHammock<TwitterCursorList<TwitterList>>(WebMethod.Get, "lists/memberships", FormatAsString, "?user_id=", user_id, "&screen_name=", screen_name, "&cursor=", cursor, "&filter_to_owned_lists=", filter_to_owned_lists); }
public virtual void ListListMembershipsFor(ListListMembershipsForOptions options, Action<TwitterCursorList<TwitterList>, TwitterResponse> action) { var user_id = options.UserId; var screen_name = options.ScreenName; var cursor = options.Cursor; var filter_to_owned_lists = options.FilterToOwnedLists; WithHammock(action, "lists/memberships", FormatAsString, "?user_id=", user_id, "&screen_name=", screen_name, "&cursor=", cursor, "&filter_to_owned_lists=", filter_to_owned_lists); }
public virtual Task<TwitterResponse<TwitterCursorList<TwitterList>>> ListListMembershipsForAsync(ListListMembershipsForOptions options) { var user_id = options.UserId; var screen_name = options.ScreenName; var cursor = options.Cursor; var filter_to_owned_lists = options.FilterToOwnedLists; return ExecuteRequest<TwitterCursorList<TwitterList>>("lists/memberships", FormatAsString, "?user_id=", user_id, "&screen_name=", screen_name, "&cursor=", cursor, "&filter_to_owned_lists=", filter_to_owned_lists); }