Class GetArtistReleasesRequest
java.lang.Object
com.amilesend.discogs.model.PaginatedRequestBase
com.amilesend.discogs.model.database.GetArtistReleasesRequest
- All Implemented Interfaces:
QueryParameterBasedRequest
The request to retrieve the paginated list of releases for an artist.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGetArtistReleasesRequest.GetArtistReleasesRequestBuilder<C extends GetArtistReleasesRequest, B extends GetArtistReleasesRequest.GetArtistReleasesRequestBuilder<C,B>> static enumDefines the supported attributes to sort on for requests.Nested classes/interfaces inherited from class PaginatedRequestBase
PaginatedRequestBase.PaginatedRequestBaseBuilder<C,B> -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanlongThe artist identifier (required).getSort()Defines which attribute to sort on (optional).Defines the sort order (optional).inthashCode()okhttp3.HttpUrl.BuilderpopulateQueryParameters(okhttp3.HttpUrl.Builder urlBuilder) Helper method to populate query parameters of aHttpUrl.Builder.toString()Methods inherited from class PaginatedRequestBase
getPage, getPerPage
-
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- Overrides:
populateQueryParametersin classPaginatedRequestBase- Parameters:
urlBuilder- the HttpUrl.Builder instance- Returns:
- the HttpUrl.Builder instance
-
builder
-
getArtistId
public long getArtistId()The artist identifier (required). -
getSort
Defines which attribute to sort on (optional).- See Also:
-
getSortOrder
-
equals
- Overrides:
equalsin classPaginatedRequestBase
-
hashCode
public int hashCode()- Overrides:
hashCodein classPaginatedRequestBase
-
toString
- Overrides:
toStringin classPaginatedRequestBase
-