/// <summary> /// Gets a list of playlists based on the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="YouTubePlaylistListResponse"/> representing the response.</returns> public YouTubePlaylistListResponse GetPlaylists(YouTubeGetPlaylistListOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } return(new YouTubePlaylistListResponse(Raw.GetPlaylists(options))); }
/// <summary> /// Gets a list of playlists based on the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="IHttpResponse"/> representing the raw response.</returns> public IHttpResponse GetPlaylists(YouTubeGetPlaylistListOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Client.GetResponse(options)); }