/// <summary> /// Gets the lists owned by the user matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the request to the API.</param> /// <returns>An instance of <see cref="SocialHttpResponse"/> representing the raw response.</returns> /// <see> /// <cref>https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-ownerships</cref> /// </see> public SocialHttpResponse GetOwnerships(TwitterGetOwnershipsOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Client.DoHttpGetRequest("https://api.twitter.com/1.1/lists/list.json", options)); }
/// <summary> /// Gets the lists owned by the user matching the specified <code>options</code>. Private lists will only be /// shown if the authenticated user is also the owner of the lists. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <see> /// <cref>https://dev.twitter.com/rest/reference/get/lists/ownerships</cref> /// </see> public SocialHttpResponse GetOwnerships(TwitterGetOwnershipsOptions options) { return(Client.DoHttpGetRequest("https://api.twitter.com/1.1/lists/list.json", options)); }
/// <summary> /// Gets the lists owned by the user matching the specified <code>options</code>. Private lists will only be /// shown if the authenticated user is also the owner of the lists. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <see> /// <cref>https://dev.twitter.com/rest/reference/get/lists/ownerships</cref> /// </see> public SocialHttpResponse GetOwnerships(TwitterGetOwnershipsOptions options) { return Client.DoHttpGetRequest("https://api.twitter.com/1.1/lists/list.json", options); }