Class WidgetAxis

java.lang.Object
com.datadog.api.client.v1.model.WidgetAxis

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WidgetAxis extends Object
Axis controls for the widget.
  • Field Details

  • Constructor Details

    • WidgetAxis

      public WidgetAxis()
  • Method Details

    • includeZero

      public WidgetAxis includeZero(Boolean includeZero)
    • getIncludeZero

      @Nullable public Boolean getIncludeZero()
      Set to true to include zero.
      Returns:
      includeZero
    • setIncludeZero

      public void setIncludeZero(Boolean includeZero)
    • label

      public WidgetAxis label(String label)
    • getLabel

      @Nullable public String getLabel()
      The label of the axis to display on the graph. Only usable on Scatterplot Widgets.
      Returns:
      label
    • setLabel

      public void setLabel(String label)
    • max

      public WidgetAxis max(String max)
    • getMax

      @Nullable public String getMax()
      Specifies maximum numeric value to show on the axis. Defaults to auto.
      Returns:
      max
    • setMax

      public void setMax(String max)
    • min

      public WidgetAxis min(String min)
    • getMin

      @Nullable public String getMin()
      Specifies minimum numeric value to show on the axis. Defaults to auto.
      Returns:
      min
    • setMin

      public void setMin(String min)
    • scale

      public WidgetAxis scale(String scale)
    • getScale

      @Nullable public String getScale()
      Specifies the scale type. Possible values are linear, log, sqrt , and pow## (for example pow2 or pow0.5).
      Returns:
      scale
    • setScale

      public void setScale(String scale)
    • putAdditionalProperty

      public WidgetAxis putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      WidgetAxis
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this WidgetAxis object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object