Class GetAlbumsTracksRequest
- java.lang.Object
-
- de.sonallux.spotify.api.apis.albums.GetAlbumsTracksRequest
-
public class GetAlbumsTracksRequest extends Object
Get an Album's Tracks requestResponse
On success, the HTTP status code in the response header is 200 OK and the response body contains an album object in JSON format. On error, the header status code is an error code and the response body contains an error object.
-
-
Constructor Summary
Constructors Constructor Description GetAlbumsTracksRequest(ApiClient apiClient, String id)Get an Album's Tracks request
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCall<Paging<SimplifiedTrack>>build()Build the request into an executable callGetAlbumsTracksRequestlimit(int limit)The maximum number of tracks to return.GetAlbumsTracksRequestmarket(String market)An ISO 3166-1 alpha-2 country code or the string from_token.GetAlbumsTracksRequestoffset(int offset)The index of the first track to return.
-
-
-
Method Detail
-
market
public GetAlbumsTracksRequest market(String market)
An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking.
-
limit
public GetAlbumsTracksRequest limit(int limit)
The maximum number of tracks to return. Default: 20. Minimum: 1. Maximum: 50.
-
offset
public GetAlbumsTracksRequest offset(int offset)
The index of the first track to return. Default: 0 (the first object). Use with limit to get the next set of tracks.
-
build
public ApiCall<Paging<SimplifiedTrack>> build()
Build the request into an executable call
-
-