Class ChangeReleaseRatingRequest

java.lang.Object
com.amilesend.discogs.model.collection.ChangeReleaseRatingRequest
All Implemented Interfaces:
BodyBasedRequest, QueryParameterBasedRequest

public class ChangeReleaseRatingRequest extends Object implements BodyBasedRequest
The request to change the rating on a release and/or move the instance to another folder.
See Also:
  • Method Details

    • populateQueryParameters

      public okhttp3.HttpUrl.Builder populateQueryParameters(okhttp3.HttpUrl.Builder urlBuilder)
      The folder identifier that you want to move the instance to (optional).
      Specified by:
      populateQueryParameters in interface QueryParameterBasedRequest
      Parameters:
      urlBuilder - the HttpUrl.Builder instance
      Returns:
      the HttpUrl.Builder instance
    • builder

    • getUsername

      public String getUsername()
      The username (required).
    • getFolderId

      public long getFolderId()
      The folder identifier (required).
    • getReleaseId

      public long getReleaseId()
      The release identifier (required).
    • getInstanceId

      public long getInstanceId()
      The instance identifier (required).
    • getRating

      public Double getRating()
      The user rating (optional).
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object