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

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

    • actions

      protected Map<String,Map<String,String>> actions
    • bestRating

      protected Double bestRating
    • creator

      protected Creator creator
    • dateCreated

      protected Date dateCreated
    • dateModified

      protected Date dateModified
    • id

      protected Long id
    • ratingValue

      protected Double ratingValue
    • worstRating

      protected Double worstRating
    • xClassName

      public String xClassName
  • Constructor Details

    • Rating

      public Rating()
  • Method Details

    • toDTO

      public static Rating toDTO(String json)
    • unsafeToDTO

      public static Rating unsafeToDTO(String json)
    • getActions

      @Valid public @Valid Map<String,Map<String,String>> getActions()
    • setActions

      public void setActions(Map<String,Map<String,String>> actions)
    • setActions

      public void setActions(com.liferay.petra.function.UnsafeSupplier<Map<String,Map<String,String>>,Exception> actionsUnsafeSupplier)
    • getBestRating

      public Double getBestRating()
    • setBestRating

      public void setBestRating(Double bestRating)
    • setBestRating

      public void setBestRating(com.liferay.petra.function.UnsafeSupplier<Double,Exception> bestRatingUnsafeSupplier)
    • getCreator

      @Valid public @Valid Creator getCreator()
    • setCreator

      public void setCreator(Creator creator)
    • setCreator

      public void setCreator(com.liferay.petra.function.UnsafeSupplier<Creator,Exception> creatorUnsafeSupplier)
    • getDateCreated

      public Date getDateCreated()
    • setDateCreated

      public void setDateCreated(Date dateCreated)
    • setDateCreated

      public void setDateCreated(com.liferay.petra.function.UnsafeSupplier<Date,Exception> dateCreatedUnsafeSupplier)
    • getDateModified

      public Date getDateModified()
    • setDateModified

      public void setDateModified(Date dateModified)
    • setDateModified

      public void setDateModified(com.liferay.petra.function.UnsafeSupplier<Date,Exception> dateModifiedUnsafeSupplier)
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • setId

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

      public Double getRatingValue()
    • setRatingValue

      public void setRatingValue(Double ratingValue)
    • setRatingValue

      public void setRatingValue(com.liferay.petra.function.UnsafeSupplier<Double,Exception> ratingValueUnsafeSupplier)
    • getWorstRating

      public Double getWorstRating()
    • setWorstRating

      public void setWorstRating(Double worstRating)
    • setWorstRating

      public void setWorstRating(com.liferay.petra.function.UnsafeSupplier<Double,Exception> worstRatingUnsafeSupplier)
    • 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