Class ImageResource
java.lang.Object
com.amilesend.tmdb.client.model.Resource<String, ImageResource>
com.amilesend.tmdb.client.model.type.ImageResource
Describes an image resource.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classImageResource.ImageResourceBuilder<C extends ImageResource, B extends ImageResource.ImageResourceBuilder<C,B>> Nested classes/interfaces inherited from class Resource
Resource.ResourceBuilder<K,T, C, B> -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageResource.ImageResourceBuilder<?, ?> builder()The image aspect ratio.The path to the image file.The file type.The image height in pixels.The vote average.The number of votes.getWidth()The image width in pixels.toString()
-
Method Details
-
builder
-
getAspectRatio
The image aspect ratio. -
getFilePath
The path to the image file. -
getHeight
The image height in pixels. -
getFileType
The file type. -
getVoteAverage
The vote average. -
getVoteCount
The number of votes. -
getWidth
The image width in pixels. -
toString
- Overrides:
toStringin classResource<String, ImageResource>
-