Class AdaptedImage

java.lang.Object
com.liferay.headless.delivery.dto.v1_0.AdaptedImage
All Implemented Interfaces:
Serializable

@Generated("") public class AdaptedImage extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • contentUrl

      protected String contentUrl
    • contentValue

      protected String contentValue
    • height

      protected Integer height
    • resolutionName

      protected String resolutionName
    • sizeInBytes

      protected Long sizeInBytes
    • width

      protected Integer width
    • xClassName

      public String xClassName
  • Constructor Details

    • AdaptedImage

      public AdaptedImage()
  • Method Details

    • toDTO

      public static AdaptedImage toDTO(String json)
    • unsafeToDTO

      public static AdaptedImage unsafeToDTO(String json)
    • getContentUrl

      public String getContentUrl()
    • setContentUrl

      public void setContentUrl(String contentUrl)
    • setContentUrl

      public void setContentUrl(com.liferay.petra.function.UnsafeSupplier<String,Exception> contentUrlUnsafeSupplier)
    • getContentValue

      public String getContentValue()
    • setContentValue

      public void setContentValue(String contentValue)
    • setContentValue

      public void setContentValue(com.liferay.petra.function.UnsafeSupplier<String,Exception> contentValueUnsafeSupplier)
    • getHeight

      public Integer getHeight()
    • setHeight

      public void setHeight(Integer height)
    • setHeight

      public void setHeight(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> heightUnsafeSupplier)
    • getResolutionName

      public String getResolutionName()
    • setResolutionName

      public void setResolutionName(String resolutionName)
    • setResolutionName

      public void setResolutionName(com.liferay.petra.function.UnsafeSupplier<String,Exception> resolutionNameUnsafeSupplier)
    • getSizeInBytes

      public Long getSizeInBytes()
    • setSizeInBytes

      public void setSizeInBytes(Long sizeInBytes)
    • setSizeInBytes

      public void setSizeInBytes(com.liferay.petra.function.UnsafeSupplier<Long,Exception> sizeInBytesUnsafeSupplier)
    • getWidth

      public Integer getWidth()
    • setWidth

      public void setWidth(Integer width)
    • setWidth

      public void setWidth(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> widthUnsafeSupplier)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object