Class CreateSnapshotAdditionalConfig

java.lang.Object
com.datadog.api.client.v2.model.CreateSnapshotAdditionalConfig

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CreateSnapshotAdditionalConfig extends Object
Additional configuration options for snapshot creation.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_TEMPLATE_VARIABLES

      public static final String JSON_PROPERTY_TEMPLATE_VARIABLES
      See Also:
    • JSON_PROPERTY_TIMESERIES_LEGEND_TYPE

      public static final String JSON_PROPERTY_TIMESERIES_LEGEND_TYPE
      See Also:
    • JSON_PROPERTY_TIMEZONE_OFFSET_MINUTES

      public static final String JSON_PROPERTY_TIMEZONE_OFFSET_MINUTES
      See Also:
  • Constructor Details

    • CreateSnapshotAdditionalConfig

      public CreateSnapshotAdditionalConfig()
  • Method Details

    • templateVariables

      public CreateSnapshotAdditionalConfig templateVariables(List<CreateSnapshotTemplateVariable> templateVariables)
    • addTemplateVariablesItem

      public CreateSnapshotAdditionalConfig addTemplateVariablesItem(CreateSnapshotTemplateVariable templateVariablesItem)
    • getTemplateVariables

      @Nullable public List<CreateSnapshotTemplateVariable> getTemplateVariables()
      List of template variable definitions for snapshot rendering.
      Returns:
      templateVariables
    • setTemplateVariables

      public void setTemplateVariables(List<CreateSnapshotTemplateVariable> templateVariables)
    • timeseriesLegendType

      public CreateSnapshotAdditionalConfig timeseriesLegendType(CreateSnapshotTimeseriesLegendType timeseriesLegendType)
    • getTimeseriesLegendType

      @Nullable public CreateSnapshotTimeseriesLegendType getTimeseriesLegendType()
      The legend display type for timeseries widgets. A value of none hides the legend entirely; omitting the field lets the frontend choose automatically.
      Returns:
      timeseriesLegendType
    • setTimeseriesLegendType

      public void setTimeseriesLegendType(CreateSnapshotTimeseriesLegendType timeseriesLegendType)
    • timezoneOffsetMinutes

      public CreateSnapshotAdditionalConfig timezoneOffsetMinutes(Long timezoneOffsetMinutes)
    • getTimezoneOffsetMinutes

      @Nullable public Long getTimezoneOffsetMinutes()
      Timezone offset in minutes from UTC. Positive values are west of UTC (for example, 300 for UTC-5). Use 0 for UTC.
      Returns:
      timezoneOffsetMinutes
    • setTimezoneOffsetMinutes

      public void setTimezoneOffsetMinutes(Long timezoneOffsetMinutes)
    • putAdditionalProperty

      public CreateSnapshotAdditionalConfig 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:
      CreateSnapshotAdditionalConfig
    • 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 CreateSnapshotAdditionalConfig 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