Record Class ApiConfiguration.Images

java.lang.Object
java.lang.Record
dev.reuss.tmdb.domain.configuration.model.ApiConfiguration.Images
Record Components:
baseUrl - base image URL
secureBaseUrl - secure HTTPS image URL
backdropSizes - supported backdrop image sizes
logoSizes - supported logo image sizes
posterSizes - supported poster image sizes
profileSizes - supported profile image sizes
stillSizes - supported still image sizes
All Implemented Interfaces:
TmdbModel, Serializable
Enclosing class:
ApiConfiguration

public static record ApiConfiguration.Images(String baseUrl, String secureBaseUrl, List<String> backdropSizes, List<String> logoSizes, List<String> posterSizes, List<String> profileSizes, List<String> stillSizes) extends Record implements TmdbModel
TMDB image configuration.
See Also:
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • baseUrl

      public String baseUrl()
      Returns the value of the baseUrl record component.
      Returns:
      the value of the baseUrl record component
    • secureBaseUrl

      public String secureBaseUrl()
      Returns the value of the secureBaseUrl record component.
      Returns:
      the value of the secureBaseUrl record component
    • backdropSizes

      public List<String> backdropSizes()
      Returns the value of the backdropSizes record component.
      Returns:
      the value of the backdropSizes record component
    • logoSizes

      public List<String> logoSizes()
      Returns the value of the logoSizes record component.
      Returns:
      the value of the logoSizes record component
    • posterSizes

      public List<String> posterSizes()
      Returns the value of the posterSizes record component.
      Returns:
      the value of the posterSizes record component
    • profileSizes

      public List<String> profileSizes()
      Returns the value of the profileSizes record component.
      Returns:
      the value of the profileSizes record component
    • stillSizes

      public List<String> stillSizes()
      Returns the value of the stillSizes record component.
      Returns:
      the value of the stillSizes record component