Package com.microsoft.graph.models
Class WorkbookChartFont
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WorkbookChartFont
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class WorkbookChartFont
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkbookChartFont
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valuegetBold()
Gets the bold property value.getColor()
Gets the color property value.The deserialization information for the current modelGets the italic property value.getName()
Gets the name property value.getSize()
Gets the size property value.Gets the underline property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the bold property value.void
Sets the color property value.void
Sets the italic property value.void
Sets the name property value.void
Sets the size property value.void
setUnderline
(String value) Sets the underline property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
WorkbookChartFont
public WorkbookChartFont()Instantiates a newWorkbookChartFont
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static WorkbookChartFont createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
WorkbookChartFont
-
getBold
Gets the bold property value. Indicates whether the fond is bold.- Returns:
- a
Boolean
-
getColor
Gets the color property value. The HTML color code representation of the text color. For example #FF0000 represents Red.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getItalic
Gets the italic property value. Indicates whether the fond is italic.- Returns:
- a
Boolean
-
getName
Gets the name property value. The font name. For example 'Calibri'.- Returns:
- a
String
-
getSize
Gets the size property value. The size of the font. For example, 11.- Returns:
- a
Double
-
getUnderline
Gets the underline property value. The type of underlining applied to the font. The possible values are: None, Single.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setBold
Sets the bold property value. Indicates whether the fond is bold.- Parameters:
value
- Value to set for the bold property.
-
setColor
Sets the color property value. The HTML color code representation of the text color. For example #FF0000 represents Red.- Parameters:
value
- Value to set for the color property.
-
setItalic
Sets the italic property value. Indicates whether the fond is italic.- Parameters:
value
- Value to set for the italic property.
-
setName
Sets the name property value. The font name. For example 'Calibri'.- Parameters:
value
- Value to set for the name property.
-
setSize
Sets the size property value. The size of the font. For example, 11.- Parameters:
value
- Value to set for the size property.
-
setUnderline
Sets the underline property value. The type of underlining applied to the font. The possible values are: None, Single.- Parameters:
value
- Value to set for the underline property.
-