Package com.microsoft.graph.models
Class WorkbookChartDataLabels
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WorkbookChartDataLabels
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class WorkbookChartDataLabels
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 WorkbookChartDataLabels
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the format property value.Gets the position property value.Gets the separator property value.Gets the showBubbleSize property value.Gets the showCategoryName property value.Gets the showLegendKey property value.Gets the showPercentage property value.Gets the showSeriesName property value.Gets the showValue property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the format property value.void
setPosition
(String value) Sets the position property value.void
setSeparator
(String value) Sets the separator property value.void
setShowBubbleSize
(Boolean value) Sets the showBubbleSize property value.void
setShowCategoryName
(Boolean value) Sets the showCategoryName property value.void
setShowLegendKey
(Boolean value) Sets the showLegendKey property value.void
setShowPercentage
(Boolean value) Sets the showPercentage property value.void
setShowSeriesName
(Boolean value) Sets the showSeriesName property value.void
setShowValue
(Boolean value) Sets the showValue property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
WorkbookChartDataLabels
public WorkbookChartDataLabels()Instantiates a newWorkbookChartDataLabels
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static WorkbookChartDataLabels 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
WorkbookChartDataLabels
-
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>>
-
getFormat
Gets the format property value. Represents the format of chart data labels, which includes fill and font formatting. Read-only.- Returns:
- a
WorkbookChartDataLabelFormat
-
getPosition
Gets the position property value. DataLabelPosition value that represents the position of the data label. The possible values are: None, Center, InsideEnd, InsideBase, OutsideEnd, Left, Right, Top, Bottom, BestFit, Callout.- Returns:
- a
String
-
getSeparator
Gets the separator property value. String that represents the separator used for the data labels on a chart.- Returns:
- a
String
-
getShowBubbleSize
Gets the showBubbleSize property value. Boolean value that represents whether the data label bubble size is visible.- Returns:
- a
Boolean
-
getShowCategoryName
Gets the showCategoryName property value. Boolean value that represents whether the data label category name is visible.- Returns:
- a
Boolean
-
getShowLegendKey
Gets the showLegendKey property value. Boolean value that represents whether the data label legend key is visible.- Returns:
- a
Boolean
-
getShowPercentage
Gets the showPercentage property value. Boolean value that represents whether the data label percentage is visible.- Returns:
- a
Boolean
-
getShowSeriesName
Gets the showSeriesName property value. Boolean value that represents whether the data label series name is visible.- Returns:
- a
Boolean
-
getShowValue
Gets the showValue property value. Boolean value that represents whether the data label value is visible.- Returns:
- a
Boolean
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setFormat
Sets the format property value. Represents the format of chart data labels, which includes fill and font formatting. Read-only.- Parameters:
value
- Value to set for the format property.
-
setPosition
Sets the position property value. DataLabelPosition value that represents the position of the data label. The possible values are: None, Center, InsideEnd, InsideBase, OutsideEnd, Left, Right, Top, Bottom, BestFit, Callout.- Parameters:
value
- Value to set for the position property.
-
setSeparator
Sets the separator property value. String that represents the separator used for the data labels on a chart.- Parameters:
value
- Value to set for the separator property.
-
setShowBubbleSize
Sets the showBubbleSize property value. Boolean value that represents whether the data label bubble size is visible.- Parameters:
value
- Value to set for the showBubbleSize property.
-
setShowCategoryName
Sets the showCategoryName property value. Boolean value that represents whether the data label category name is visible.- Parameters:
value
- Value to set for the showCategoryName property.
-
setShowLegendKey
Sets the showLegendKey property value. Boolean value that represents whether the data label legend key is visible.- Parameters:
value
- Value to set for the showLegendKey property.
-
setShowPercentage
Sets the showPercentage property value. Boolean value that represents whether the data label percentage is visible.- Parameters:
value
- Value to set for the showPercentage property.
-
setShowSeriesName
Sets the showSeriesName property value. Boolean value that represents whether the data label series name is visible.- Parameters:
value
- Value to set for the showSeriesName property.
-
setShowValue
Sets the showValue property value. Boolean value that represents whether the data label value is visible.- Parameters:
value
- Value to set for the showValue property.
-