Class Component

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Component extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • events

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

      public Component addEventsItem(AppBuilderEvent eventsItem)
    • getEvents

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

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

      public Component id(String id)
    • getId

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

      public org.openapitools.jackson.nullable.JsonNullable<String> getId_JsonNullable()
    • setId_JsonNullable

      public void setId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> id)
    • setId

      public void setId(String id)
    • name

      public Component name(String name)
    • getName

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

      public void setName(String name)
    • properties

      public Component properties(ComponentProperties properties)
    • getProperties

      public ComponentProperties getProperties()
      Properties of a UI component. Different component types can have their own additional unique properties. See the components documentation for more detail on each component type and its properties.
      Returns:
      properties
    • setProperties

      public void setProperties(ComponentProperties properties)
    • type

      public Component type(ComponentType type)
    • getType

      public ComponentType getType()
      The UI component type.
      Returns:
      type
    • setType

      public void setType(ComponentType type)
    • putAdditionalProperty

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