Class PaginatedRequestBase
java.lang.Object
com.amilesend.discogs.model.PaginatedRequestBase
- All Implemented Interfaces:
QueryParameterBasedRequest
- Direct Known Subclasses:
GetArtistReleasesRequest, GetCollectionItemsByFolderRequest, GetCollectionItemsByReleaseRequest, GetExportsRequest, GetInventoryRequest, GetLabelReleasesRequest, GetMasterReleaseVersionsRequest, GetOrderMessagesRequest, GetOrdersRequest, GetUploadsRequest, GetUserListsRequest, GetUserSubmissionsRequest, GetWantListRequest, SearchRequest
Base class to define requests that support pagination.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classPaginatedRequestBase.PaginatedRequestBaseBuilder<C extends PaginatedRequestBase, B extends PaginatedRequestBase.PaginatedRequestBaseBuilder<C,B>> -
Method Summary
Modifier and TypeMethodDescriptionbooleangetPage()The page specifier.The number of items to include per paginated response.inthashCode()okhttp3.HttpUrl.BuilderpopulateQueryParameters(okhttp3.HttpUrl.Builder urlBuilder) Helper method to populate query parameters of aHttpUrl.Builder.toString()
-
Method Details
-
populateQueryParameters
public okhttp3.HttpUrl.Builder populateQueryParameters( okhttp3.HttpUrl.Builder urlBuilder) Description copied from interface:QueryParameterBasedRequestHelper method to populate query parameters of aHttpUrl.Builder.- Specified by:
populateQueryParametersin interfaceQueryParameterBasedRequest- Parameters:
urlBuilder- the HttpUrl.Builder instance- Returns:
- the HttpUrl.Builder instance
-
getPage
The page specifier. -
getPerPage
The number of items to include per paginated response. -
equals
-
hashCode
-
toString
-