Class ImageImpl
java.lang.Object
com.commercetools.api.models.common.ImageImpl
- All Implemented Interfaces:
Image
,io.vrap.rmf.base.client.ModelBase
Image
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Dimensions of the original image.getLabel()
Custom label for the image.getUrl()
URL of the image in its original size that must be unique within a single ProductVariant.int
hashCode()
void
setDimensions
(ImageDimensions dimensions) Dimensions of the original image.void
Custom label for the image.void
URL of the image in its original size that must be unique within a single ProductVariant.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ImageImpl
public ImageImpl()create empty instance
-
-
Method Details
-
getUrl
URL of the image in its original size that must be unique within a single ProductVariant. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
-
getDimensions
Dimensions of the original image.
- Specified by:
getDimensions
in interfaceImage
- Returns:
- dimensions
-
getLabel
Custom label for the image.
-
setUrl
Description copied from interface:Image
URL of the image in its original size that must be unique within a single ProductVariant. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
-
setDimensions
Description copied from interface:Image
Dimensions of the original image.
- Specified by:
setDimensions
in interfaceImage
- Parameters:
dimensions
- value to be set
-
setLabel
Description copied from interface:Image
Custom label for the image.
-
equals
-
hashCode
-