Class TeamsResponse

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

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

  • Constructor Details

    • TeamsResponse

      public TeamsResponse()
  • Method Details

    • data

      public TeamsResponse data(List<Team> data)
    • addDataItem

      public TeamsResponse addDataItem(Team dataItem)
    • getData

      @Nullable public List<Team> getData()
      Teams response data
      Returns:
      data
    • setData

      public void setData(List<Team> data)
    • included

      public TeamsResponse included(List<TeamIncluded> included)
    • addIncludedItem

      public TeamsResponse addIncludedItem(TeamIncluded includedItem)
    • getIncluded

      @Nullable public List<TeamIncluded> getIncluded()
      Resources related to the team
      Returns:
      included
    • setIncluded

      public void setIncluded(List<TeamIncluded> included)
    • links

      public TeamsResponse links(TeamsResponseLinks links)
    • getLinks

      @Nullable public TeamsResponseLinks getLinks()
      Teams response links.
      Returns:
      links
    • setLinks

      public void setLinks(TeamsResponseLinks links)
    • meta

      public TeamsResponse meta(TeamsResponseMeta meta)
    • getMeta

      @Nullable public TeamsResponseMeta getMeta()
      Teams response metadata.
      Returns:
      meta
    • setMeta

      public void setMeta(TeamsResponseMeta meta)
    • putAdditionalProperty

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