Package ai.promoted.delivery.model
Class Size
- java.lang.Object
-
- ai.promoted.delivery.model.Size
-
public class Size extends Object
Size
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_HEIGHTstatic StringJSON_PROPERTY_WIDTH
-
Constructor Summary
Constructors Constructor Description Size()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this Size object is equal to o.IntegergetHeight()Get heightIntegergetWidth()Get widthinthashCode()Sizeheight(Integer height)voidsetHeight(Integer height)voidsetWidth(Integer width)StringtoString()Sizewidth(Integer width)
-
-
-
Field Detail
-
JSON_PROPERTY_HEIGHT
public static final String JSON_PROPERTY_HEIGHT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WIDTH
public static final String JSON_PROPERTY_WIDTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHeight
public Integer getHeight()
Get height- Returns:
- height
-
setHeight
public void setHeight(Integer height)
-
getWidth
public Integer getWidth()
Get width- Returns:
- width
-
setWidth
public void setWidth(Integer width)
-
equals
public boolean equals(Object o)
Return true if this Size object is equal to o.
-
-