Package com.microsoft.graph.models
Class WorkbookRangeBorder
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WorkbookRangeBorder
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class WorkbookRangeBorder
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 WorkbookRangeBorder
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valuegetColor()
Gets the color property value.The deserialization information for the current modelGets the sideIndex property value.getStyle()
Gets the style property value.Gets the weight property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the color property value.void
setSideIndex
(String value) Sets the sideIndex property value.void
Sets the style property value.void
Sets the weight property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
WorkbookRangeBorder
public WorkbookRangeBorder()Instantiates a newWorkbookRangeBorder
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static WorkbookRangeBorder 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
WorkbookRangeBorder
-
getColor
Gets the color property value. The HTML color code that represents the color of the border line. Can either be of the form #RRGGBB, for example 'FFA500', or a named HTML color, for example 'orange'.- 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>>
-
getSideIndex
Gets the sideIndex property value. Indicates the specific side of the border. The possible values are: EdgeTop, EdgeBottom, EdgeLeft, EdgeRight, InsideVertical, InsideHorizontal, DiagonalDown, DiagonalUp. Read-only.- Returns:
- a
String
-
getStyle
Gets the style property value. Indicates the line style for the border. The possible values are: None, Continuous, Dash, DashDot, DashDotDot, Dot, Double, SlantDashDot.- Returns:
- a
String
-
getWeight
Gets the weight property value. The weight of the border around a range. The possible values are: Hairline, Thin, Medium, Thick.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setColor
Sets the color property value. The HTML color code that represents the color of the border line. Can either be of the form #RRGGBB, for example 'FFA500', or a named HTML color, for example 'orange'.- Parameters:
value
- Value to set for the color property.
-
setSideIndex
Sets the sideIndex property value. Indicates the specific side of the border. The possible values are: EdgeTop, EdgeBottom, EdgeLeft, EdgeRight, InsideVertical, InsideHorizontal, DiagonalDown, DiagonalUp. Read-only.- Parameters:
value
- Value to set for the sideIndex property.
-
setStyle
Sets the style property value. Indicates the line style for the border. The possible values are: None, Continuous, Dash, DashDot, DashDotDot, Dot, Double, SlantDashDot.- Parameters:
value
- Value to set for the style property.
-
setWeight
Sets the weight property value. The weight of the border around a range. The possible values are: Hairline, Thin, Medium, Thick.- Parameters:
value
- Value to set for the weight property.
-