Class RelatedContent

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

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

    • contentType

      protected String contentType
    • id

      protected Long id
    • title

      protected String title
    • xClassName

      public String xClassName
  • Constructor Details

    • RelatedContent

      public RelatedContent()
  • Method Details

    • toDTO

      public static RelatedContent toDTO(String json)
    • unsafeToDTO

      public static RelatedContent unsafeToDTO(String json)
    • getContentType

      public String getContentType()
    • setContentType

      public void setContentType(String contentType)
    • setContentType

      public void setContentType(com.liferay.petra.function.UnsafeSupplier<String,Exception> contentTypeUnsafeSupplier)
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • setId

      public void setId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> idUnsafeSupplier)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • setTitle

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