/// <summary>
 /// Gets the lists the user matching the specified <paramref name="options"/> is a member of.
 /// </summary>
 /// <param name="options">The options for the call 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-memberships</cref>
 /// </see>
 public SocialHttpResponse GetMemberships(TwitterGetMembershipsOptions options)
 {
     if (options == null)
     {
         throw new ArgumentNullException(nameof(options));
     }
     return(Client.DoHttpGetRequest("https://api.twitter.com/1.1/lists/memberships.json", options));
 }
 /// <summary>
 /// Gets the list the user matching the specified <code>options</code> is a member of.
 /// </summary>
 /// <param name="options">The options for the call to the API.</param>
 /// <see>
 ///     <cref>https://dev.twitter.com/rest/reference/get/lists/memberships</cref>
 /// </see>
 public SocialHttpResponse GetMemberships(TwitterGetMembershipsOptions options)
 {
     return(Client.DoHttpGetRequest("https://api.twitter.com/1.1/lists/memberships.json", options));
 }