Class IncidentTodoAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IncidentTodoAttributes extends Object
Incident todo's attributes.
  • Field Details

  • Constructor Details

    • IncidentTodoAttributes

      public IncidentTodoAttributes()
    • IncidentTodoAttributes

      public IncidentTodoAttributes(List<IncidentTodoAssignee> assignees, String content)
  • Method Details

    • assignees

      public IncidentTodoAttributes assignees(List<IncidentTodoAssignee> assignees)
    • addAssigneesItem

      public IncidentTodoAttributes addAssigneesItem(IncidentTodoAssignee assigneesItem)
    • getAssignees

      public List<IncidentTodoAssignee> getAssignees()
      Array of todo assignees.
      Returns:
      assignees
    • setAssignees

      public void setAssignees(List<IncidentTodoAssignee> assignees)
    • completed

      public IncidentTodoAttributes completed(String completed)
    • getCompleted

      @Nullable public String getCompleted()
      Timestamp when the todo was completed.
      Returns:
      completed
    • getCompleted_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getCompleted_JsonNullable()
    • setCompleted_JsonNullable

      public void setCompleted_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> completed)
    • setCompleted

      public void setCompleted(String completed)
    • content

      public IncidentTodoAttributes content(String content)
    • getContent

      public String getContent()
      The follow-up task's content.
      Returns:
      content
    • setContent

      public void setContent(String content)
    • getCreated

      @Nullable public OffsetDateTime getCreated()
      Timestamp when the incident todo was created.
      Returns:
      created
    • dueDate

      public IncidentTodoAttributes dueDate(String dueDate)
    • getDueDate

      @Nullable public String getDueDate()
      Timestamp when the todo should be completed by.
      Returns:
      dueDate
    • getDueDate_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getDueDate_JsonNullable()
    • setDueDate_JsonNullable

      public void setDueDate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> dueDate)
    • setDueDate

      public void setDueDate(String dueDate)
    • incidentId

      public IncidentTodoAttributes incidentId(String incidentId)
    • getIncidentId

      @Nullable public String getIncidentId()
      UUID of the incident this todo is connected to.
      Returns:
      incidentId
    • setIncidentId

      public void setIncidentId(String incidentId)
    • getModified

      @Nullable public OffsetDateTime getModified()
      Timestamp when the incident todo was last modified.
      Returns:
      modified
    • putAdditionalProperty

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