Package com.microsoft.graph.models
Class WorkbookRangeFormat
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WorkbookRangeFormat
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class WorkbookRangeFormat
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 WorkbookRangeFormat
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the borders property value.Gets the columnWidth property value.The deserialization information for the current modelgetFill()
Gets the fill property value.getFont()
Gets the font property value.Gets the horizontalAlignment property value.Gets the protection property value.Gets the rowHeight property value.Gets the verticalAlignment property value.Gets the wrapText property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setBorders
(List<WorkbookRangeBorder> value) Sets the borders property value.void
setColumnWidth
(Double value) Sets the columnWidth property value.void
setFill
(WorkbookRangeFill value) Sets the fill property value.void
setFont
(WorkbookRangeFont value) Sets the font property value.void
setHorizontalAlignment
(String value) Sets the horizontalAlignment property value.void
Sets the protection property value.void
setRowHeight
(Double value) Sets the rowHeight property value.void
setVerticalAlignment
(String value) Sets the verticalAlignment property value.void
setWrapText
(Boolean value) Sets the wrapText property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
WorkbookRangeFormat
public WorkbookRangeFormat()Instantiates a newWorkbookRangeFormat
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static WorkbookRangeFormat 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
WorkbookRangeFormat
-
getBorders
Gets the borders property value. Collection of border objects that apply to the overall range selected Read-only.- Returns:
- a
List<WorkbookRangeBorder>
-
getColumnWidth
Gets the columnWidth property value. The width of all columns within the range. If the column widths aren't uniform, null will be returned.- Returns:
- a
Double
-
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>>
-
getFill
Gets the fill property value. Returns the fill object defined on the overall range. Read-only.- Returns:
- a
WorkbookRangeFill
-
getFont
Gets the font property value. Returns the font object defined on the overall range selected Read-only.- Returns:
- a
WorkbookRangeFont
-
getHorizontalAlignment
Gets the horizontalAlignment property value. The horizontal alignment for the specified object. Possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed.- Returns:
- a
String
-
getProtection
Gets the protection property value. Returns the format protection object for a range. Read-only.- Returns:
- a
WorkbookFormatProtection
-
getRowHeight
Gets the rowHeight property value. The height of all rows in the range. If the row heights aren't uniform null will be returned.- Returns:
- a
Double
-
getVerticalAlignment
Gets the verticalAlignment property value. The vertical alignment for the specified object. Possible values are: Top, Center, Bottom, Justify, Distributed.- Returns:
- a
String
-
getWrapText
Gets the wrapText property value. Indicates whether Excel wraps the text in the object. A null value indicates that the entire range doesn't have a uniform wrap setting.- Returns:
- a
Boolean
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setBorders
Sets the borders property value. Collection of border objects that apply to the overall range selected Read-only.- Parameters:
value
- Value to set for the borders property.
-
setColumnWidth
Sets the columnWidth property value. The width of all columns within the range. If the column widths aren't uniform, null will be returned.- Parameters:
value
- Value to set for the columnWidth property.
-
setFill
Sets the fill property value. Returns the fill object defined on the overall range. Read-only.- Parameters:
value
- Value to set for the fill property.
-
setFont
Sets the font property value. Returns the font object defined on the overall range selected Read-only.- Parameters:
value
- Value to set for the font property.
-
setHorizontalAlignment
Sets the horizontalAlignment property value. The horizontal alignment for the specified object. Possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed.- Parameters:
value
- Value to set for the horizontalAlignment property.
-
setProtection
Sets the protection property value. Returns the format protection object for a range. Read-only.- Parameters:
value
- Value to set for the protection property.
-
setRowHeight
Sets the rowHeight property value. The height of all rows in the range. If the row heights aren't uniform null will be returned.- Parameters:
value
- Value to set for the rowHeight property.
-
setVerticalAlignment
Sets the verticalAlignment property value. The vertical alignment for the specified object. Possible values are: Top, Center, Bottom, Justify, Distributed.- Parameters:
value
- Value to set for the verticalAlignment property.
-
setWrapText
Sets the wrapText property value. Indicates whether Excel wraps the text in the object. A null value indicates that the entire range doesn't have a uniform wrap setting.- Parameters:
value
- Value to set for the wrapText property.
-