Class HostListResponse

java.lang.Object
com.datadog.api.client.v1.model.HostListResponse

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class HostListResponse extends Object
Response with Host information from Datadog.
  • Field Details

  • Constructor Details

    • HostListResponse

      public HostListResponse()
  • Method Details

    • hostList

      public HostListResponse hostList(List<Host> hostList)
    • addHostListItem

      public HostListResponse addHostListItem(Host hostListItem)
    • getHostList

      @Nullable public List<Host> getHostList()
      Array of hosts.
      Returns:
      hostList
    • setHostList

      public void setHostList(List<Host> hostList)
    • totalMatching

      public HostListResponse totalMatching(Long totalMatching)
    • getTotalMatching

      @Nullable public Long getTotalMatching()
      Number of host matching the query.
      Returns:
      totalMatching
    • setTotalMatching

      public void setTotalMatching(Long totalMatching)
    • totalReturned

      public HostListResponse totalReturned(Long totalReturned)
    • getTotalReturned

      @Nullable public Long getTotalReturned()
      Number of host returned.
      Returns:
      totalReturned
    • setTotalReturned

      public void setTotalReturned(Long totalReturned)
    • putAdditionalProperty

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