Record Class ApiConfiguration.Images
java.lang.Object
java.lang.Record
dev.reuss.tmdb.domain.configuration.model.ApiConfiguration.Images
- Record Components:
baseUrl- base image URLsecureBaseUrl- secure HTTPS image URLbackdropSizes- supported backdrop image sizeslogoSizes- supported logo image sizesposterSizes- supported poster image sizesprofileSizes- supported profile image sizesstillSizes- 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebackdropSizesrecord component.baseUrl()Returns the value of thebaseUrlrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelogoSizesrecord component.Returns the value of theposterSizesrecord component.Returns the value of theprofileSizesrecord component.Returns the value of thesecureBaseUrlrecord component.Returns the value of thestillSizesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Images
public Images(String baseUrl, String secureBaseUrl, List<String> backdropSizes, List<String> logoSizes, List<String> posterSizes, List<String> profileSizes, List<String> stillSizes) Creates an instance of aImagesrecord class.- Parameters:
baseUrl- the value for thebaseUrlrecord componentsecureBaseUrl- the value for thesecureBaseUrlrecord componentbackdropSizes- the value for thebackdropSizesrecord componentlogoSizes- the value for thelogoSizesrecord componentposterSizes- the value for theposterSizesrecord componentprofileSizes- the value for theprofileSizesrecord componentstillSizes- the value for thestillSizesrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
baseUrl
Returns the value of thebaseUrlrecord component.- Returns:
- the value of the
baseUrlrecord component
-
secureBaseUrl
Returns the value of thesecureBaseUrlrecord component.- Returns:
- the value of the
secureBaseUrlrecord component
-
backdropSizes
Returns the value of thebackdropSizesrecord component.- Returns:
- the value of the
backdropSizesrecord component
-
logoSizes
Returns the value of thelogoSizesrecord component.- Returns:
- the value of the
logoSizesrecord component
-
posterSizes
Returns the value of theposterSizesrecord component.- Returns:
- the value of the
posterSizesrecord component
-
profileSizes
Returns the value of theprofileSizesrecord component.- Returns:
- the value of the
profileSizesrecord component
-
stillSizes
Returns the value of thestillSizesrecord component.- Returns:
- the value of the
stillSizesrecord component
-