Package com.contentful.java.cma.model
Class CMAAssetFile.Details
- java.lang.Object
-
- com.contentful.java.cma.model.CMAAssetFile.Details
-
- Enclosing class:
- CMAAssetFile
public static class CMAAssetFile.Details extends java.lang.ObjectRead only structure, detailing the content of the asset uploaded.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCMAAssetFile.Details.ImageMetaOptional readonly structure, filled with information by Contentful, if the asset is an image.
-
Constructor Summary
Constructors Constructor Description Details()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CMAAssetFile.Details.ImageMetagetImageMeta()java.lang.LonggetSize()java.lang.StringtoString()
-
-
-
Method Detail
-
getSize
public java.lang.Long getSize()
- Returns:
- size of the asset in bytes.
-
getImageMeta
public CMAAssetFile.Details.ImageMeta getImageMeta()
- Returns:
- image meta information, if present.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- Returns:
- a human readable string, representing the object.
-
-