Class UpdateListingRequest
java.lang.Object
com.amilesend.discogs.model.marketplace.CreateListingRequest
com.amilesend.discogs.model.marketplace.UpdateListingRequest
- All Implemented Interfaces:
BodyBasedRequest, QueryParameterBasedRequest
The request to update an existing listing.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUpdateListingRequest.UpdateListingRequestBuilder<C extends UpdateListingRequest, B extends UpdateListingRequest.UpdateListingRequestBuilder<C,B>> Nested classes/interfaces inherited from class CreateListingRequest
CreateListingRequest.CreateListingRequestBuilder<C,B> -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateListingRequest.UpdateListingRequestBuilder<?, ?> builder()booleanlongThe listing identifier (required).inthashCode()okhttp3.HttpUrl.BuilderpopulateQueryParameters(okhttp3.HttpUrl.Builder urlBuilder) Helper method to populate query parameters of aHttpUrl.Builder.toString()Methods inherited from class CreateListingRequest
getAllowOffers, getComments, getCondition, getExternalId, getFormatQuantity, getLocation, getPrice, getReleaseId, getSleeveCondition, getStatus, getWeight
-
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 classCreateListingRequest- Parameters:
urlBuilder- the HttpUrl.Builder instance- Returns:
- the HttpUrl.Builder instance
-
builder
-
getListingId
public long getListingId()The listing identifier (required). -
equals
- Overrides:
equalsin classCreateListingRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classCreateListingRequest
-
toString
- Overrides:
toStringin classCreateListingRequest
-