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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets namestatic enumGets or Sets style -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FontCreate an instance of Font given an JSON stringgetColor()Get colorGet isBoldFontGet isItalicFontGet isUnderLineFontGet lineHeightgetName()Get namegetSize()Get sizegetStyle()Deprecated.inthashCode()isBoldFont(Boolean isBoldFont) isItalicFont(Boolean isItalicFont) isUnderLineFont(Boolean isUnderLineFont) lineHeight(Integer lineHeight) name(Font.NameEnum name) voidvoidsetIsBoldFont(Boolean isBoldFont) voidsetIsItalicFont(Boolean isItalicFont) voidsetIsUnderLineFont(Boolean isUnderLineFont) voidsetLineHeight(Integer lineHeight) voidsetName(Font.NameEnum name) voidvoidsetStyle(Font.StyleEnum style) Deprecated.style(Font.StyleEnum style) Deprecated.toJson()Convert an instance of Font to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_COLOR
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
SERIALIZED_NAME_STYLE
- See Also:
-
SERIALIZED_NAME_LINE_HEIGHT
- See Also:
-
SERIALIZED_NAME_IS_BOLD_FONT
- See Also:
-
SERIALIZED_NAME_IS_ITALIC_FONT
- See Also:
-
SERIALIZED_NAME_IS_UNDER_LINE_FONT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Font
public Font()
-
-
Method Details
-
name
-
getName
-
setName
-
color
-
getColor
-
setColor
-
size
-
getSize
-
setSize
-
style
Deprecated. -
getStyle
-
setStyle
Deprecated. -
lineHeight
-
getLineHeight
-
setLineHeight
-
isBoldFont
-
getIsBoldFont
-
setIsBoldFont
-
isItalicFont
-
getIsItalicFont
-
setIsItalicFont
-
isUnderLineFont
-
getIsUnderLineFont
-
setIsUnderLineFont
-
equals
-
hashCode
-
toString
-
createFormData
- Throws:
ApiException
-
validateJsonElement
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
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
-