Package com.contentful.java.cma.model
Class CMAAssetFile.Details.ImageMeta
- java.lang.Object
-
- com.contentful.java.cma.model.CMAAssetFile.Details.ImageMeta
-
- Enclosing class:
- CMAAssetFile.Details
public static class CMAAssetFile.Details.ImageMeta extends java.lang.ObjectOptional readonly structure, filled with information by Contentful, if the asset is an image.
-
-
Constructor Summary
Constructors Constructor Description ImageMeta()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetHeight()java.lang.LonggetWidth()java.lang.StringtoString()
-
-
-
Method Detail
-
getWidth
public java.lang.Long getWidth()
- Returns:
- width of the image in pixel.
-
getHeight
public java.lang.Long getHeight()
- Returns:
- height of the image in pixel.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- Returns:
- a human readable string, representing the object.
-
-