Class ImageDimensionsImpl
java.lang.Object
com.commercetools.api.models.common.ImageDimensionsImpl
- All Implemented Interfaces:
ImageDimensions
,io.vrap.rmf.base.client.ModelBase
public class ImageDimensionsImpl
extends Object
implements ImageDimensions, io.vrap.rmf.base.client.ModelBase
ImageDimensions
-
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
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.common.ImageDimensions
withImageDimensions
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ImageDimensionsImpl
public ImageDimensionsImpl()create empty instance
-
-
Method Details
-
getW
Width of the image.
- Specified by:
getW
in interfaceImageDimensions
- Returns:
- w
-
getH
Height of the image.
- Specified by:
getH
in interfaceImageDimensions
- Returns:
- h
-
setW
Description copied from interface:ImageDimensions
Width of the image.
- Specified by:
setW
in interfaceImageDimensions
- Parameters:
w
- value to be set
-
setH
Description copied from interface:ImageDimensions
Height of the image.
- Specified by:
setH
in interfaceImageDimensions
- Parameters:
h
- value to be set
-
equals
-
hashCode
-