@JsonObject(value="ImageTransformationInfo")
public class ImageTransformationInfo
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ImageTransformationInfo(java.lang.String code,
java.lang.String label,
java.lang.String description,
boolean defaultTransformation) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCode()
The code of the image transformation.
|
java.lang.String |
getLabel()
The (pretty-printed) label of the image transformation.
|
int |
hashCode() |
boolean |
isDefaultTransformation()
Returns
true , if this transformation is the default transformation for this
channel. |
java.lang.String |
toString() |
java.lang.String |
tryGetDescription()
The description of the image transformation, or
null , if the image
transformation has no description. |
public ImageTransformationInfo(java.lang.String code, java.lang.String label, java.lang.String description, boolean defaultTransformation)
public java.lang.String getCode()
public java.lang.String getLabel()
public java.lang.String tryGetDescription()
null
, if the image
transformation has no description.public boolean isDefaultTransformation()
true
, if this transformation is the default transformation for this
channel.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object