Class WorkbookChartAxis

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WorkbookChartAxis
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class WorkbookChartAxis extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • WorkbookChartAxis

      public WorkbookChartAxis()
      Instantiates a new WorkbookChartAxis and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static WorkbookChartAxis 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 WorkbookChartAxis
    • 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>>
    • getFormat

      @Nullable public WorkbookChartAxisFormat getFormat()
      Gets the format property value. Represents the formatting of a chart object, which includes line and font formatting. Read-only.
      Returns:
      a WorkbookChartAxisFormat
    • getMajorGridlines

      @Nullable public WorkbookChartGridlines getMajorGridlines()
      Gets the majorGridlines property value. Returns a gridlines object that represents the major gridlines for the specified axis. Read-only.
      Returns:
      a WorkbookChartGridlines
    • getMajorUnit

      @Nullable public com.microsoft.kiota.serialization.UntypedNode getMajorUnit()
      Gets the majorUnit property value. Represents the interval between two major tick marks. Can be set to a numeric value or an empty string. The returned value is always a number.
      Returns:
      a UntypedNode
    • getMaximum

      @Nullable public com.microsoft.kiota.serialization.UntypedNode getMaximum()
      Gets the maximum property value. Represents the maximum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number.
      Returns:
      a UntypedNode
    • getMinimum

      @Nullable public com.microsoft.kiota.serialization.UntypedNode getMinimum()
      Gets the minimum property value. Represents the minimum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number.
      Returns:
      a UntypedNode
    • getMinorGridlines

      @Nullable public WorkbookChartGridlines getMinorGridlines()
      Gets the minorGridlines property value. Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only.
      Returns:
      a WorkbookChartGridlines
    • getMinorUnit

      @Nullable public com.microsoft.kiota.serialization.UntypedNode getMinorUnit()
      Gets the minorUnit property value. Represents the interval between two minor tick marks. 'Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number.
      Returns:
      a UntypedNode
    • getTitle

      @Nullable public WorkbookChartAxisTitle getTitle()
      Gets the title property value. Represents the axis title. Read-only.
      Returns:
      a WorkbookChartAxisTitle
    • 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
    • setFormat

      public void setFormat(@Nullable WorkbookChartAxisFormat value)
      Sets the format property value. Represents the formatting of a chart object, which includes line and font formatting. Read-only.
      Parameters:
      value - Value to set for the format property.
    • setMajorGridlines

      public void setMajorGridlines(@Nullable WorkbookChartGridlines value)
      Sets the majorGridlines property value. Returns a gridlines object that represents the major gridlines for the specified axis. Read-only.
      Parameters:
      value - Value to set for the majorGridlines property.
    • setMajorUnit

      public void setMajorUnit(@Nullable com.microsoft.kiota.serialization.UntypedNode value)
      Sets the majorUnit property value. Represents the interval between two major tick marks. Can be set to a numeric value or an empty string. The returned value is always a number.
      Parameters:
      value - Value to set for the majorUnit property.
    • setMaximum

      public void setMaximum(@Nullable com.microsoft.kiota.serialization.UntypedNode value)
      Sets the maximum property value. Represents the maximum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number.
      Parameters:
      value - Value to set for the maximum property.
    • setMinimum

      public void setMinimum(@Nullable com.microsoft.kiota.serialization.UntypedNode value)
      Sets the minimum property value. Represents the minimum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number.
      Parameters:
      value - Value to set for the minimum property.
    • setMinorGridlines

      public void setMinorGridlines(@Nullable WorkbookChartGridlines value)
      Sets the minorGridlines property value. Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only.
      Parameters:
      value - Value to set for the minorGridlines property.
    • setMinorUnit

      public void setMinorUnit(@Nullable com.microsoft.kiota.serialization.UntypedNode value)
      Sets the minorUnit property value. Represents the interval between two minor tick marks. 'Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number.
      Parameters:
      value - Value to set for the minorUnit property.
    • setTitle

      public void setTitle(@Nullable WorkbookChartAxisTitle value)
      Sets the title property value. Represents the axis title. Read-only.
      Parameters:
      value - Value to set for the title property.