Class FleetAgentsV2Response

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetAgentsV2Response extends Object
Response containing a paginated list of Datadog Agents.
  • Field Details

  • Constructor Details

    • FleetAgentsV2Response

      public FleetAgentsV2Response()
    • FleetAgentsV2Response

      public FleetAgentsV2Response(List<FleetAgentV2> data)
  • Method Details

    • data

    • addDataItem

      public FleetAgentsV2Response addDataItem(FleetAgentV2 dataItem)
    • getData

      public List<FleetAgentV2> getData()
      Array of agents matching the query criteria.
      Returns:
      data
    • setData

      public void setData(List<FleetAgentV2> data)
    • meta

    • getMeta

      @Nullable public FleetAgentsV2ResponseMeta getMeta()
      Metadata for the v2 list of agents, including pagination information.
      Returns:
      meta
    • setMeta

      public void setMeta(FleetAgentsV2ResponseMeta meta)
    • putAdditionalProperty

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