/// <summary>
 /// Sets the repeat mode for the user’s playback. Options are <see cref="SpotifyPlayerRepeatState.Track"/>, <see cref="SpotifyPlayerRepeatState.Context"/>, and <see cref="SpotifyPlayerRepeatState.Off"/>.
 /// </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.spotify.com/documentation/web-api/reference/player/set-repeat-mode-on-users-playback/</cref>
 /// </see>
 public SocialHttpResponse SetRepeat(SpotifyPlayerSetRepeatOptions options)
 {
     if (options == null)
     {
         throw new ArgumentNullException(nameof(options));
     }
     return(Client.DoHttpPutRequest("/v1/me/player/repeat", options));
 }
 /// <summary>
 /// Sets the repeat mode for the user’s playback. Options are <see cref="SpotifyPlayerRepeatState.Track"/>, <see cref="SpotifyPlayerRepeatState.Context"/>, and <see cref="SpotifyPlayerRepeatState.Off"/>.
 /// </summary>
 /// <param name="options">The options for the request to the API.</param>
 /// <returns>An instance of <see cref="SpotifyResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://developer.spotify.com/documentation/web-api/reference/player/set-repeat-mode-on-users-playback/</cref>
 /// </see>
 public SpotifyResponse SetRepeat(SpotifyPlayerSetRepeatOptions options)
 {
     return(SpotifyNoContentResponse.ParseResponse(Raw.SetRepeat(options)));
 }