Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthor(TimelineCellAuthor author) cellContent(TimelineCellContent cellContent) booleanReturn true if this TimelineCell object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The author of the timeline cell.The content payload of a timeline cell, varying by cell type.Timestamp of when the cell was createdTimestamp of when the cell was deletedTimestamp of when the cell was last modifiedgetType()The type of content in the timeline cell.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAuthor(TimelineCellAuthor author) voidsetCellContent(TimelineCellContent cellContent) voidsetType(TimelineCellType type) toString()type(TimelineCellType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTHOR
- See Also:
-
JSON_PROPERTY_CELL_CONTENT
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_DELETED_AT
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
TimelineCell
public TimelineCell()
-
-
Method Details
-
author
-
getAuthor
The author of the timeline cell. Currently only user authors are supported.- Returns:
- author
-
setAuthor
-
cellContent
-
getCellContent
The content payload of a timeline cell, varying by cell type.- Returns:
- cellContent
-
setCellContent
-
getCreatedAt
Timestamp of when the cell was created- Returns:
- createdAt
-
getDeletedAt
Timestamp of when the cell was deleted- Returns:
- deletedAt
-
getModifiedAt
Timestamp of when the cell was last modified- Returns:
- modifiedAt
-
type
-
getType
The type of content in the timeline cell. Currently onlyCOMMENTis supported in this endpoint.- Returns:
- type
-
setType
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- TimelineCell
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this TimelineCell object is equal to o. -
hashCode
public int hashCode() -
toString
-