@@ -10,8 +10,35 @@ public PlaylistGetRequest(AdditionalTypes types = AdditionalTypes.All)
1010 Ensure . ArgumentNotNull ( types , nameof ( types ) ) ;
1111
1212 AdditionalTypesParam = types ;
13+ Fields = new List < string > ( ) ;
1314 }
1415
16+ /// <summary>
17+ /// Filters for the query: a comma-separated list of the fields to return.
18+ /// If omitted, all fields are returned. For example, to get just the playlist’s description and URI: fields=description,uri.
19+ /// A dot separator can be used to specify non-reoccurring fields,
20+ /// while parentheses can be used to specify reoccurring fields within objects.
21+ /// For example, to get just the added date and user ID of the adder:
22+ /// fields=tracks.items(added_at,added_by.id). Use multiple parentheses to drill down into nested objects, for example:
23+ /// fields=tracks.items(track(name,href,album(name,href))).
24+ /// Fields can be excluded by prefixing them with an exclamation mark, for example:
25+ /// fields=tracks.items(track(name,href,album(!name,href)))
26+ /// </summary>
27+ /// <value></value>
28+ [ QueryParam ( "fields" ) ]
29+ public IList < string > Fields { get ; }
30+
31+ /// <summary>
32+ /// An ISO 3166-1 alpha-2 country code or the string from_token.
33+ /// Provide this parameter if you want to apply Track Relinking.
34+ /// For episodes, if a valid user access token is specified in the request header,
35+ /// the country associated with the user account will take priority over this parameter.
36+ /// Note: If neither market or user country are provided, the episode is considered unavailable for the client.
37+ /// </summary>
38+ /// <value></value>
39+ [ QueryParam ( "market" ) ]
40+ public string ? Market { get ; }
41+
1542 /// <summary>
1643 /// This is set to `"track", "episode"` by default.
1744 /// </summary>
0 commit comments