Class ComponentGrid

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ComponentGrid extends Object
A grid component. The grid component is the root canvas for an app and contains all other components.
  • Field Details

  • Constructor Details

  • Method Details

    • events

      public ComponentGrid events(List<AppBuilderEvent> events)
    • addEventsItem

      public ComponentGrid addEventsItem(AppBuilderEvent eventsItem)
    • getEvents

      @Nullable public List<AppBuilderEvent> getEvents()
      Events to listen for on the grid component.
      Returns:
      events
    • setEvents

      public void setEvents(List<AppBuilderEvent> events)
    • id

      public ComponentGrid id(String id)
    • getId

      @Nullable public String getId()
      The ID of the grid component. This property is deprecated; use name to identify individual components instead.
      Returns:
      id
    • setId

      public void setId(String id)
    • name

      public ComponentGrid name(String name)
    • getName

      public String getName()
      A unique identifier for this grid component. This name is also visible in the app editor.
      Returns:
      name
    • setName

      public void setName(String name)
    • properties

      public ComponentGrid properties(ComponentGridProperties properties)
    • getProperties

      public ComponentGridProperties getProperties()
      Properties of a grid component.
      Returns:
      properties
    • setProperties

      public void setProperties(ComponentGridProperties properties)
    • type

      public ComponentGrid type(ComponentGridType type)
    • getType

      public ComponentGridType getType()
      The grid component type.
      Returns:
      type
    • setType

      public void setType(ComponentGridType type)
    • putAdditionalProperty

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