Class UserPBsRequest
- java.lang.Object
-
- com.treescrub.spedran.ResourceCollectionRequest<LeaderboardRun>
-
- com.treescrub.spedran.requests.builders.user.UserPBsRequest
-
public class UserPBsRequest extends ResourceCollectionRequest<LeaderboardRun>
-
-
Constructor Summary
Constructors Constructor Description UserPBsRequest(User user)UserPBsRequest(String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserPBsRequestgame(String id)Restricts the results to the givenGame.UserPBsRequestseries(String id)Restricts the results to the givenSeries.UserPBsRequesttop(int topPlace)Sets the minimum placement to restrict the results to.-
Methods inherited from class com.treescrub.spedran.ResourceCollectionRequest
complete
-
-
-
-
Method Detail
-
top
public UserPBsRequest top(int topPlace)
Sets the minimum placement to restrict the results to.- Parameters:
topPlace- the top place to filter PBs by- Returns:
- this
UserPBsRequestbuilder
-
series
public UserPBsRequest series(String id)
Restricts the results to the givenSeries.- Parameters:
id- the series ID- Returns:
- this
UserPBsRequestbuilder
-
game
public UserPBsRequest game(String id)
Restricts the results to the givenGame.- Parameters:
id- the game ID- Returns:
- this
UserPBsRequestbuilder
-
-