Class FragmentStyle

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

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

    • backgroundColor

      protected String backgroundColor
    • backgroundFragmentImage

      protected FragmentImage backgroundFragmentImage
    • borderColor

      protected String borderColor
    • borderRadius

      protected String borderRadius
    • borderWidth

      protected String borderWidth
    • fontFamily

      protected String fontFamily
    • fontSize

      protected String fontSize
    • fontWeight

      protected String fontWeight
    • height

      protected String height
    • hidden

      protected Boolean hidden
    • marginBottom

      protected String marginBottom
    • marginLeft

      protected String marginLeft
    • marginRight

      protected String marginRight
    • marginTop

      protected String marginTop
    • maxHeight

      protected String maxHeight
    • maxWidth

      protected String maxWidth
    • minHeight

      protected String minHeight
    • minWidth

      protected String minWidth
    • opacity

      protected String opacity
    • overflow

      protected String overflow
    • paddingBottom

      protected String paddingBottom
    • paddingLeft

      protected String paddingLeft
    • paddingRight

      protected String paddingRight
    • paddingTop

      protected String paddingTop
    • shadow

      protected String shadow
    • textAlign

      protected String textAlign
    • textColor

      protected String textColor
    • width

      protected String width
    • xClassName

      public String xClassName
  • Constructor Details

    • FragmentStyle

      public FragmentStyle()
  • Method Details

    • toDTO

      public static FragmentStyle toDTO(String json)
    • unsafeToDTO

      public static FragmentStyle unsafeToDTO(String json)
    • getBackgroundColor

      public String getBackgroundColor()
    • setBackgroundColor

      public void setBackgroundColor(String backgroundColor)
    • setBackgroundColor

      public void setBackgroundColor(com.liferay.petra.function.UnsafeSupplier<String,Exception> backgroundColorUnsafeSupplier)
    • getBackgroundFragmentImage

      @Valid public @Valid FragmentImage getBackgroundFragmentImage()
    • setBackgroundFragmentImage

      public void setBackgroundFragmentImage(FragmentImage backgroundFragmentImage)
    • setBackgroundFragmentImage

      public void setBackgroundFragmentImage(com.liferay.petra.function.UnsafeSupplier<FragmentImage,Exception> backgroundFragmentImageUnsafeSupplier)
    • getBorderColor

      public String getBorderColor()
    • setBorderColor

      public void setBorderColor(String borderColor)
    • setBorderColor

      public void setBorderColor(com.liferay.petra.function.UnsafeSupplier<String,Exception> borderColorUnsafeSupplier)
    • getBorderRadius

      public String getBorderRadius()
    • setBorderRadius

      public void setBorderRadius(String borderRadius)
    • setBorderRadius

      public void setBorderRadius(com.liferay.petra.function.UnsafeSupplier<String,Exception> borderRadiusUnsafeSupplier)
    • getBorderWidth

      public String getBorderWidth()
    • setBorderWidth

      public void setBorderWidth(String borderWidth)
    • setBorderWidth

      public void setBorderWidth(com.liferay.petra.function.UnsafeSupplier<String,Exception> borderWidthUnsafeSupplier)
    • getFontFamily

      public String getFontFamily()
    • setFontFamily

      public void setFontFamily(String fontFamily)
    • setFontFamily

      public void setFontFamily(com.liferay.petra.function.UnsafeSupplier<String,Exception> fontFamilyUnsafeSupplier)
    • getFontSize

      public String getFontSize()
    • setFontSize

      public void setFontSize(String fontSize)
    • setFontSize

      public void setFontSize(com.liferay.petra.function.UnsafeSupplier<String,Exception> fontSizeUnsafeSupplier)
    • getFontWeight

      public String getFontWeight()
    • setFontWeight

      public void setFontWeight(String fontWeight)
    • setFontWeight

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

      public String getHeight()
    • setHeight

      public void setHeight(String height)
    • setHeight

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

      public Boolean getHidden()
    • setHidden

      public void setHidden(Boolean hidden)
    • setHidden

      public void setHidden(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> hiddenUnsafeSupplier)
    • getMarginBottom

      public String getMarginBottom()
    • setMarginBottom

      public void setMarginBottom(String marginBottom)
    • setMarginBottom

      public void setMarginBottom(com.liferay.petra.function.UnsafeSupplier<String,Exception> marginBottomUnsafeSupplier)
    • getMarginLeft

      public String getMarginLeft()
    • setMarginLeft

      public void setMarginLeft(String marginLeft)
    • setMarginLeft

      public void setMarginLeft(com.liferay.petra.function.UnsafeSupplier<String,Exception> marginLeftUnsafeSupplier)
    • getMarginRight

      public String getMarginRight()
    • setMarginRight

      public void setMarginRight(String marginRight)
    • setMarginRight

      public void setMarginRight(com.liferay.petra.function.UnsafeSupplier<String,Exception> marginRightUnsafeSupplier)
    • getMarginTop

      public String getMarginTop()
    • setMarginTop

      public void setMarginTop(String marginTop)
    • setMarginTop

      public void setMarginTop(com.liferay.petra.function.UnsafeSupplier<String,Exception> marginTopUnsafeSupplier)
    • getMaxHeight

      public String getMaxHeight()
    • setMaxHeight

      public void setMaxHeight(String maxHeight)
    • setMaxHeight

      public void setMaxHeight(com.liferay.petra.function.UnsafeSupplier<String,Exception> maxHeightUnsafeSupplier)
    • getMaxWidth

      public String getMaxWidth()
    • setMaxWidth

      public void setMaxWidth(String maxWidth)
    • setMaxWidth

      public void setMaxWidth(com.liferay.petra.function.UnsafeSupplier<String,Exception> maxWidthUnsafeSupplier)
    • getMinHeight

      public String getMinHeight()
    • setMinHeight

      public void setMinHeight(String minHeight)
    • setMinHeight

      public void setMinHeight(com.liferay.petra.function.UnsafeSupplier<String,Exception> minHeightUnsafeSupplier)
    • getMinWidth

      public String getMinWidth()
    • setMinWidth

      public void setMinWidth(String minWidth)
    • setMinWidth

      public void setMinWidth(com.liferay.petra.function.UnsafeSupplier<String,Exception> minWidthUnsafeSupplier)
    • getOpacity

      public String getOpacity()
    • setOpacity

      public void setOpacity(String opacity)
    • setOpacity

      public void setOpacity(com.liferay.petra.function.UnsafeSupplier<String,Exception> opacityUnsafeSupplier)
    • getOverflow

      public String getOverflow()
    • setOverflow

      public void setOverflow(String overflow)
    • setOverflow

      public void setOverflow(com.liferay.petra.function.UnsafeSupplier<String,Exception> overflowUnsafeSupplier)
    • getPaddingBottom

      public String getPaddingBottom()
    • setPaddingBottom

      public void setPaddingBottom(String paddingBottom)
    • setPaddingBottom

      public void setPaddingBottom(com.liferay.petra.function.UnsafeSupplier<String,Exception> paddingBottomUnsafeSupplier)
    • getPaddingLeft

      public String getPaddingLeft()
    • setPaddingLeft

      public void setPaddingLeft(String paddingLeft)
    • setPaddingLeft

      public void setPaddingLeft(com.liferay.petra.function.UnsafeSupplier<String,Exception> paddingLeftUnsafeSupplier)
    • getPaddingRight

      public String getPaddingRight()
    • setPaddingRight

      public void setPaddingRight(String paddingRight)
    • setPaddingRight

      public void setPaddingRight(com.liferay.petra.function.UnsafeSupplier<String,Exception> paddingRightUnsafeSupplier)
    • getPaddingTop

      public String getPaddingTop()
    • setPaddingTop

      public void setPaddingTop(String paddingTop)
    • setPaddingTop

      public void setPaddingTop(com.liferay.petra.function.UnsafeSupplier<String,Exception> paddingTopUnsafeSupplier)
    • getShadow

      public String getShadow()
    • setShadow

      public void setShadow(String shadow)
    • setShadow

      public void setShadow(com.liferay.petra.function.UnsafeSupplier<String,Exception> shadowUnsafeSupplier)
    • getTextAlign

      public String getTextAlign()
    • setTextAlign

      public void setTextAlign(String textAlign)
    • setTextAlign

      public void setTextAlign(com.liferay.petra.function.UnsafeSupplier<String,Exception> textAlignUnsafeSupplier)
    • getTextColor

      public String getTextColor()
    • setTextColor

      public void setTextColor(String textColor)
    • setTextColor

      public void setTextColor(com.liferay.petra.function.UnsafeSupplier<String,Exception> textColorUnsafeSupplier)
    • getWidth

      public String getWidth()
    • setWidth

      public void setWidth(String width)
    • setWidth

      public void setWidth(com.liferay.petra.function.UnsafeSupplier<String,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