Class AddReleaseToWantListRequest
java.lang.Object
com.amilesend.discogs.model.wantlist.AddReleaseToWantListRequest
- All Implemented Interfaces:
BodyBasedRequest, QueryParameterBasedRequest
- Direct Known Subclasses:
UpdateReleaseOnWantListRequest
The request to add a release to a user's want list.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAddReleaseToWantListRequest.AddReleaseToWantListRequestBuilder<C extends AddReleaseToWantListRequest, B extends AddReleaseToWantListRequest.AddReleaseToWantListRequestBuilder<C,B>> -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleangetNotes()The user notes associated with the release (optional).The rating (1-5) for the release (optional).longThe release identifier (required).The username (required).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
-
builder
-
getUsername
The username (required). -
getReleaseId
public long getReleaseId()The release identifier (required). -
getNotes
The user notes associated with the release (optional). -
getRating
The rating (1-5) for the release (optional). -
equals
-
hashCode
-
toString
-