Class GametypesRequest
- java.lang.Object
-
- com.treescrub.spedran.ResourceCollectionRequest<Gametype>
-
- com.treescrub.spedran.requests.builders.GametypesRequest
-
public class GametypesRequest extends ResourceCollectionRequest<Gametype>
-
-
Constructor Summary
Constructors Constructor Description GametypesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GametypesRequestsortByName()Sorts the results alphanumerically by name.GametypesRequestsortDirection(SortDirection direction)Sets the direction (ascending or descending) of the sorting.-
Methods inherited from class com.treescrub.spedran.ResourceCollectionRequest
complete
-
-
-
-
Method Detail
-
sortByName
public GametypesRequest sortByName()
Sorts the results alphanumerically by name.- Returns:
- this
GametypesRequestbuilder
-
sortDirection
public GametypesRequest sortDirection(SortDirection direction)
Sets the direction (ascending or descending) of the sorting.- Parameters:
direction- the sort direction- Returns:
- this
UsersRequestbuilder
-
-