Class ImageResource

java.lang.Object
com.amilesend.tmdb.client.model.Resource<String,ImageResource>
com.amilesend.tmdb.client.model.type.ImageResource

public class ImageResource extends Resource<String,ImageResource>
Describes an image resource.
  • Method Details

    • builder

      public static ImageResource.ImageResourceBuilder<?,?> builder()
    • getAspectRatio

      public Double getAspectRatio()
      The image aspect ratio.
    • getFilePath

      public String getFilePath()
      The path to the image file.
    • getHeight

      public Integer getHeight()
      The image height in pixels.
    • getFileType

      public String getFileType()
      The file type.
    • getVoteAverage

      public Double getVoteAverage()
      The vote average.
    • getVoteCount

      public Integer getVoteCount()
      The number of votes.
    • getWidth

      public Integer getWidth()
      The image width in pixels.
    • toString

      public String toString()
      Overrides:
      toString in class Resource<String,ImageResource>