public class ResultItemImpl extends Object implements ResultItem, io.vrap.rmf.base.client.ModelBase
An image URL and the product variants it is contained in. If no matching images are found, ResultItem is not present.
| Constructor and Description |
|---|
ResultItemImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getImageUrl()
The URL of the image.
|
List<ProductVariant> |
getProductVariants()
An array of product variants containing the image URL.
|
int |
hashCode() |
void |
setImageUrl(String imageUrl) |
void |
setProductVariants(List<ProductVariant> productVariants) |
void |
setProductVariants(ProductVariant... productVariants) |
getClass, notify, notifyAll, toString, wait, wait, waitbuilder, builder, of, of, typeReference, withResultItempublic ResultItemImpl()
public String getImageUrl()
The URL of the image.
getImageUrl in interface ResultItempublic List<ProductVariant> getProductVariants()
An array of product variants containing the image URL.
getProductVariants in interface ResultItempublic void setImageUrl(String imageUrl)
setImageUrl in interface ResultItempublic void setProductVariants(ProductVariant... productVariants)
setProductVariants in interface ResultItempublic void setProductVariants(List<ProductVariant> productVariants)
setProductVariants in interface ResultItem