/** * Returns a collection of playlist items that match the API request parameters. You can retrieve * all of the playlist items in a specified playlist or retrieve one or more playlist items by their * unique IDs. * * Create a request for the method "playlistItems.list". * * This request holds the parameters needed by the youtube server. After setting any optional * parameters, call the {@link List#execute()} method to invoke the remote operation. * * @param part The part parameter specifies a comma-separated list of one or more playlistItem resource properties * that the API response will include. If the parameter identifies a property that contains * child properties, the child properties will be included in the response. For example, in a * playlistItem resource, the snippet property contains numerous fields, including the title, * description, position, and resourceId properties. As such, if you set part=snippet, the * API response will contain all of those properties. * @return the request */ public List list(java.lang.String part) throws java.io.IOException { List result = new List(part); initialize(result); return result; }