Class CreateOrUpdateWidgetRequestAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CreateOrUpdateWidgetRequestAttributes extends Object
Attributes for creating or updating a widget.
  • Field Details

  • Constructor Details

    • CreateOrUpdateWidgetRequestAttributes

      public CreateOrUpdateWidgetRequestAttributes()
    • CreateOrUpdateWidgetRequestAttributes

      public CreateOrUpdateWidgetRequestAttributes(WidgetDefinition definition)
  • Method Details

    • definition

    • getDefinition

      public WidgetDefinition getDefinition()
      The definition of a widget, including its type and configuration.
      Returns:
      definition
    • setDefinition

      public void setDefinition(WidgetDefinition definition)
    • tags

    • addTagsItem

      public CreateOrUpdateWidgetRequestAttributes addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      User-defined tags for organizing the widget.
      Returns:
      tags
    • getTags_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getTags_JsonNullable()
    • setTags_JsonNullable

      public void setTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> tags)
    • setTags

      public void setTags(List<String> tags)
    • putAdditionalProperty

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