public final class Crop extends PushModelObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Crop.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.Optional<java.math.BigDecimal> |
getHeight()
Get the BigDecimal height of the final crop.
|
java.util.Optional<java.math.BigDecimal> |
getWidth()
Get the BigDecimal width of the final crop.
|
java.util.Optional<java.math.BigDecimal> |
getX()
Get the x BigDecimal offset value where the crop begins.
|
java.util.Optional<java.math.BigDecimal> |
getY()
Get the y BigDecimal offset value where the crop begins.
|
int |
hashCode() |
static Crop.Builder |
newBuilder()
Get a Crop builder object that describes the crop parameters to be used in the thumbnail.
|
java.lang.String |
toString() |
toJSONtoJSONpublic static Crop.Builder newBuilder()
public java.util.Optional<java.math.BigDecimal> getX()
public java.util.Optional<java.math.BigDecimal> getY()
public java.util.Optional<java.math.BigDecimal> getHeight()
public java.util.Optional<java.math.BigDecimal> getWidth()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object