Class SLOResponse

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOResponse extends Object
A service level objective response containing a single service level objective.
  • Field Details

  • Constructor Details

    • SLOResponse

      public SLOResponse()
  • Method Details

    • data

      public SLOResponse data(SLOResponseData data)
    • getData

      @Nullable public SLOResponseData getData()
      A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (name, description, tags, etc.).
      Returns:
      data
    • setData

      public void setData(SLOResponseData data)
    • errors

      public SLOResponse errors(List<String> errors)
    • addErrorsItem

      public SLOResponse addErrorsItem(String errorsItem)
    • getErrors

      @Nullable public List<String> getErrors()
      An array of error messages. Each endpoint documents how/whether this field is used.
      Returns:
      errors
    • setErrors

      public void setErrors(List<String> errors)
    • putAdditionalProperty

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