Class UpdateUserReleaseRatingRequest
java.lang.Object
com.amilesend.discogs.model.database.UpdateUserReleaseRatingRequest
- All Implemented Interfaces:
BodyBasedRequest, QueryParameterBasedRequest
Request to update a user's rating for a release.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanintThe rating (1-5)(required).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
-
getReleaseId
public long getReleaseId()The release identifier (required). -
getUsername
The username (required). -
getRating
public int getRating()The rating (1-5)(required). -
equals
-
hashCode
-
toString
-