Class CaseViewRelationships

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CaseViewRelationships extends Object
Related resources for the case view, including the creator, last modifier, and associated project.
  • Field Details

  • Constructor Details

    • CaseViewRelationships

      public CaseViewRelationships()
  • Method Details

    • createdBy

      public CaseViewRelationships createdBy(NullableUserRelationship createdBy)
    • getCreatedBy

      @Nullable public NullableUserRelationship getCreatedBy()
      Relationship to user.
      Returns:
      createdBy
    • getCreatedBy_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<NullableUserRelationship> getCreatedBy_JsonNullable()
    • setCreatedBy_JsonNullable

      public void setCreatedBy_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<NullableUserRelationship> createdBy)
    • setCreatedBy

      public void setCreatedBy(NullableUserRelationship createdBy)
    • modifiedBy

      public CaseViewRelationships modifiedBy(NullableUserRelationship modifiedBy)
    • getModifiedBy

      @Nullable public NullableUserRelationship getModifiedBy()
      Relationship to user.
      Returns:
      modifiedBy
    • getModifiedBy_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<NullableUserRelationship> getModifiedBy_JsonNullable()
    • setModifiedBy_JsonNullable

      public void setModifiedBy_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<NullableUserRelationship> modifiedBy)
    • setModifiedBy

      public void setModifiedBy(NullableUserRelationship modifiedBy)
    • project

      public CaseViewRelationships project(ProjectRelationship project)
    • getProject

      @Nullable public ProjectRelationship getProject()
      Relationship to project.
      Returns:
      project
    • setProject

      public void setProject(ProjectRelationship project)
    • putAdditionalProperty

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