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

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

    • caption

      protected String caption
    • contentUrl

      protected String contentUrl
    • contentValue

      protected String contentValue
    • imageId

      protected Long imageId
    • xClassName

      public String xClassName
  • Constructor Details

    • Image

      public Image()
  • Method Details

    • toDTO

      public static Image toDTO(String json)
    • unsafeToDTO

      public static Image unsafeToDTO(String json)
    • getCaption

      public String getCaption()
    • setCaption

      public void setCaption(String caption)
    • setCaption

      public void setCaption(com.liferay.petra.function.UnsafeSupplier<String,Exception> captionUnsafeSupplier)
    • 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)
    • getImageId

      public Long getImageId()
    • setImageId

      public void setImageId(Long imageId)
    • setImageId

      public void setImageId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> imageIdUnsafeSupplier)
    • 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