Class CaseLinkAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CaseLinkAttributes extends Object
Attributes describing a directional relationship between two entities (cases, incidents, or pages).
  • Field Details

  • Constructor Details

    • CaseLinkAttributes

      public CaseLinkAttributes()
    • CaseLinkAttributes

      public CaseLinkAttributes(String childEntityId, String childEntityType, String parentEntityId, String parentEntityType, String relationship)
  • Method Details

    • childEntityId

      public CaseLinkAttributes childEntityId(String childEntityId)
    • getChildEntityId

      public String getChildEntityId()
      The UUID of the child (target) entity in the relationship.
      Returns:
      childEntityId
    • setChildEntityId

      public void setChildEntityId(String childEntityId)
    • childEntityType

      public CaseLinkAttributes childEntityType(String childEntityType)
    • getChildEntityType

      public String getChildEntityType()
      The type of the child entity. Allowed values: CASE, INCIDENT, PAGE, AGENT_CONVERSATION.
      Returns:
      childEntityType
    • setChildEntityType

      public void setChildEntityType(String childEntityType)
    • parentEntityId

      public CaseLinkAttributes parentEntityId(String parentEntityId)
    • getParentEntityId

      public String getParentEntityId()
      The UUID of the parent (source) entity in the relationship.
      Returns:
      parentEntityId
    • setParentEntityId

      public void setParentEntityId(String parentEntityId)
    • parentEntityType

      public CaseLinkAttributes parentEntityType(String parentEntityType)
    • getParentEntityType

      public String getParentEntityType()
      The type of the parent entity. Allowed values: CASE, INCIDENT, PAGE, AGENT_CONVERSATION.
      Returns:
      parentEntityType
    • setParentEntityType

      public void setParentEntityType(String parentEntityType)
    • relationship

      public CaseLinkAttributes relationship(String relationship)
    • getRelationship

      public String getRelationship()
      The type of directional relationship. Allowed values: RELATES_TO (bidirectional association), CAUSES (parent causes child), BLOCKS (parent blocks child), DUPLICATES (parent duplicates child), PARENT_OF (hierarchical), SUCCESSOR_OF (sequence), ESCALATES_TO (priority escalation).
      Returns:
      relationship
    • setRelationship

      public void setRelationship(String relationship)
    • putAdditionalProperty

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