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
  • Constructor Details

    • WorkbookRangeBorder

      public WorkbookRangeBorder()
      Instantiates a new WorkbookRangeBorder 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

      @Nullable public String 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getSideIndex

      @Nullable public String 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

      @Nullable public 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

      @Nullable public 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setColor

      public void setColor(@Nullable String value)
      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

      public void setSideIndex(@Nullable String value)
      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

      public void setStyle(@Nullable String value)
      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

      public void setWeight(@Nullable String value)
      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.