Class Font

java.lang.Object
com.boldsign.model.Font

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class Font extends Object
Font
  • Field Details

  • Constructor Details

    • Font

      public Font()
  • Method Details

    • name

      public Font name(Font.NameEnum name)
    • getName

      @Nullable public Font.NameEnum getName()
      Get name
      Returns:
      name
    • setName

      public void setName(Font.NameEnum name)
    • color

      public Font color(String color)
    • getColor

      @Nullable public String getColor()
      Get color
      Returns:
      color
    • setColor

      public void setColor(String color)
    • size

      public Font size(Float size)
    • getSize

      @Nullable public Float getSize()
      Get size
      Returns:
      size
    • setSize

      public void setSize(Float size)
    • style

      @Deprecated public Font style(Font.StyleEnum style)
      Deprecated.
    • getStyle

      Deprecated.
      Get style
      Returns:
      style
    • setStyle

      @Deprecated public void setStyle(Font.StyleEnum style)
      Deprecated.
    • lineHeight

      public Font lineHeight(Integer lineHeight)
    • getLineHeight

      @Nullable public Integer getLineHeight()
      Get lineHeight
      Returns:
      lineHeight
    • setLineHeight

      public void setLineHeight(Integer lineHeight)
    • isBoldFont

      public Font isBoldFont(Boolean isBoldFont)
    • getIsBoldFont

      @Nullable public Boolean getIsBoldFont()
      Get isBoldFont
      Returns:
      isBoldFont
    • setIsBoldFont

      public void setIsBoldFont(Boolean isBoldFont)
    • isItalicFont

      public Font isItalicFont(Boolean isItalicFont)
    • getIsItalicFont

      @Nullable public Boolean getIsItalicFont()
      Get isItalicFont
      Returns:
      isItalicFont
    • setIsItalicFont

      public void setIsItalicFont(Boolean isItalicFont)
    • isUnderLineFont

      public Font isUnderLineFont(Boolean isUnderLineFont)
    • getIsUnderLineFont

      @Nullable public Boolean getIsUnderLineFont()
      Get isUnderLineFont
      Returns:
      isUnderLineFont
    • setIsUnderLineFont

      public void setIsUnderLineFont(Boolean isUnderLineFont)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • createFormData

      public Map<String,Object> createFormData() throws ApiException
      Throws:
      ApiException
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to Font
    • fromJson

      public static Font fromJson(String jsonString) throws IOException
      Create an instance of Font given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of Font
      Throws:
      IOException - if the JSON string is invalid with respect to Font
    • toJson

      public String toJson()
      Convert an instance of Font to an JSON string
      Returns:
      JSON string