Class TimelineCell

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TimelineCell extends Object
Attributes of a timeline cell, representing a single event in a case's chronological activity log (for example, a comment, status change, or assignment update).
  • Field Details

  • Constructor Details

    • TimelineCell

      public TimelineCell()
  • Method Details

    • author

      public TimelineCell author(TimelineCellAuthor author)
    • getAuthor

      @Nullable public TimelineCellAuthor getAuthor()
      The author of the timeline cell. Currently only user authors are supported.
      Returns:
      author
    • setAuthor

      public void setAuthor(TimelineCellAuthor author)
    • cellContent

      public TimelineCell cellContent(TimelineCellContent cellContent)
    • getCellContent

      @Nullable public TimelineCellContent getCellContent()
      The content payload of a timeline cell, varying by cell type.
      Returns:
      cellContent
    • setCellContent

      public void setCellContent(TimelineCellContent cellContent)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Timestamp of when the cell was created
      Returns:
      createdAt
    • getDeletedAt

      @Nullable public OffsetDateTime getDeletedAt()
      Timestamp of when the cell was deleted
      Returns:
      deletedAt
    • getModifiedAt

      @Nullable public OffsetDateTime getModifiedAt()
      Timestamp of when the cell was last modified
      Returns:
      modifiedAt
    • type

      public TimelineCell type(TimelineCellType type)
    • getType

      @Nullable public TimelineCellType getType()
      The type of content in the timeline cell. Currently only COMMENT is supported in this endpoint.
      Returns:
      type
    • setType

      public void setType(TimelineCellType type)
    • putAdditionalProperty

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