Class IncidentHandleRelationshipsRequest

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IncidentHandleRelationshipsRequest extends Object
Relationships to associate with an incident handle in a create or update request.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_COMMANDER_USER

      public static final String JSON_PROPERTY_COMMANDER_USER
      See Also:
    • JSON_PROPERTY_INCIDENT_TYPE

      public static final String JSON_PROPERTY_INCIDENT_TYPE
      See Also:
  • Constructor Details

    • IncidentHandleRelationshipsRequest

      public IncidentHandleRelationshipsRequest()
    • IncidentHandleRelationshipsRequest

      public IncidentHandleRelationshipsRequest(IncidentHandleRelationship incidentType)
  • Method Details

    • commanderUser

      public IncidentHandleRelationshipsRequest commanderUser(IncidentHandleRelationship commanderUser)
    • getCommanderUser

      @Nullable public IncidentHandleRelationship getCommanderUser()
      A single relationship object for an incident handle, wrapping the related resource data.
      Returns:
      commanderUser
    • setCommanderUser

      public void setCommanderUser(IncidentHandleRelationship commanderUser)
    • incidentType

    • getIncidentType

      public IncidentHandleRelationship getIncidentType()
      A single relationship object for an incident handle, wrapping the related resource data.
      Returns:
      incidentType
    • setIncidentType

      public void setIncidentType(IncidentHandleRelationship incidentType)
    • putAdditionalProperty

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