Package com.microsoft.graph.models
Class WorkbookRangeFont
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WorkbookRangeFont
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class WorkbookRangeFont
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 WorkbookRangeFontcreateFromDiscriminatorValue(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.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the bold property value.voidSets the color property value.voidSets the italic property value.voidSets the name property value.voidSets the size property value.voidsetUnderline(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
-
WorkbookRangeFont
public WorkbookRangeFont()Instantiates a newWorkbookRangeFontand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static WorkbookRangeFont 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
WorkbookRangeFont
-
getBold
Gets the bold property value. Inidicates whether the font is bold.- Returns:
- a
Boolean
-
getColor
Gets the color property value. The HTML color code representation of the text color. For example, #FF0000 represents the color 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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getItalic
Gets the italic property value. Inidicates whether the font 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 font size.- Returns:
- a
Double
-
getUnderline
Gets the underline property value. The type of underlining applied to the font. The possible values are: None, Single, Double, SingleAccountant, DoubleAccountant.- 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. Inidicates whether the font 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 the color red.- Parameters:
value- Value to set for the color property.
-
setItalic
Sets the italic property value. Inidicates whether the font 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 font size.- 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, Double, SingleAccountant, DoubleAccountant.- Parameters:
value- Value to set for the underline property.
-