Class AddSignalToIncidentRequest

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AddSignalToIncidentRequest extends Object
Attributes describing which incident to add the signal to.
  • Field Details

  • Constructor Details

    • AddSignalToIncidentRequest

      public AddSignalToIncidentRequest()
    • AddSignalToIncidentRequest

      public AddSignalToIncidentRequest(Long incidentId)
  • Method Details

    • addToSignalTimeline

      public AddSignalToIncidentRequest addToSignalTimeline(Boolean addToSignalTimeline)
    • getAddToSignalTimeline

      @Nullable public Boolean getAddToSignalTimeline()
      Whether to post the signal on the incident timeline.
      Returns:
      addToSignalTimeline
    • setAddToSignalTimeline

      public void setAddToSignalTimeline(Boolean addToSignalTimeline)
    • incidentId

      public AddSignalToIncidentRequest incidentId(Long incidentId)
    • getIncidentId

      public Long getIncidentId()
      Public ID attribute of the incident to which the signal will be added.
      Returns:
      incidentId
    • setIncidentId

      public void setIncidentId(Long incidentId)
    • version

      public AddSignalToIncidentRequest version(Long version)
    • getVersion

      @Nullable public Long getVersion()
      Version of the updated signal. If server side version is higher, update will be rejected.
      Returns:
      version
    • setVersion

      public void setVersion(Long version)
    • putAdditionalProperty

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