java.lang.Object
com.liferay.headless.commerce.admin.catalog.dto.v1_0.Diagram
All Implemented Interfaces:
Serializable

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

    • attachmentBase64

      protected AttachmentBase64 attachmentBase64
    • color

      protected String color
    • id

      protected Long id
    • imageId

      protected Long imageId
    • imageURL

      protected String imageURL
    • productExternalReferenceCode

      protected String productExternalReferenceCode
    • productId

      protected Long productId
    • radius

      protected Double radius
    • type

      protected String type
    • xClassName

      public String xClassName
  • Constructor Details

    • Diagram

      public Diagram()
  • Method Details

    • toDTO

      public static Diagram toDTO(String json)
    • unsafeToDTO

      public static Diagram unsafeToDTO(String json)
    • getAttachmentBase64

      @Valid public @Valid AttachmentBase64 getAttachmentBase64()
    • setAttachmentBase64

      public void setAttachmentBase64(AttachmentBase64 attachmentBase64)
    • setAttachmentBase64

      public void setAttachmentBase64(com.liferay.petra.function.UnsafeSupplier<AttachmentBase64,Exception> attachmentBase64UnsafeSupplier)
    • getColor

      public String getColor()
    • setColor

      public void setColor(String color)
    • setColor

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

      @DecimalMin("0") public @DecimalMin("0") Long getId()
    • setId

      public void setId(Long id)
    • setId

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

      @DecimalMin("0") public @DecimalMin("0") Long getImageId()
    • setImageId

      public void setImageId(Long imageId)
    • setImageId

      public void setImageId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> imageIdUnsafeSupplier)
    • getImageURL

      public String getImageURL()
    • setImageURL

      public void setImageURL(String imageURL)
    • setImageURL

      public void setImageURL(com.liferay.petra.function.UnsafeSupplier<String,Exception> imageURLUnsafeSupplier)
    • getProductExternalReferenceCode

      public String getProductExternalReferenceCode()
    • setProductExternalReferenceCode

      public void setProductExternalReferenceCode(String productExternalReferenceCode)
    • setProductExternalReferenceCode

      public void setProductExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> productExternalReferenceCodeUnsafeSupplier)
    • getProductId

      @DecimalMin("0") public @DecimalMin("0") Long getProductId()
    • setProductId

      public void setProductId(Long productId)
    • setProductId

      public void setProductId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> productIdUnsafeSupplier)
    • getRadius

      public Double getRadius()
    • setRadius

      public void setRadius(Double radius)
    • setRadius

      public void setRadius(com.liferay.petra.function.UnsafeSupplier<Double,Exception> radiusUnsafeSupplier)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • setType

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