Class ProjectNotificationSettings

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ProjectNotificationSettings extends Object
Project notification settings.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_DESTINATIONS

      public static final String JSON_PROPERTY_DESTINATIONS
      See Also:
    • JSON_PROPERTY_ENABLED

      public static final String JSON_PROPERTY_ENABLED
      See Also:
    • JSON_PROPERTY_NOTIFY_ON_CASE_ASSIGNMENT

      public static final String JSON_PROPERTY_NOTIFY_ON_CASE_ASSIGNMENT
      See Also:
    • JSON_PROPERTY_NOTIFY_ON_CASE_CLOSED

      public static final String JSON_PROPERTY_NOTIFY_ON_CASE_CLOSED
      See Also:
    • JSON_PROPERTY_NOTIFY_ON_CASE_COMMENT

      public static final String JSON_PROPERTY_NOTIFY_ON_CASE_COMMENT
      See Also:
    • JSON_PROPERTY_NOTIFY_ON_CASE_COMMENT_MENTION

      public static final String JSON_PROPERTY_NOTIFY_ON_CASE_COMMENT_MENTION
      See Also:
    • JSON_PROPERTY_NOTIFY_ON_CASE_PRIORITY_CHANGE

      public static final String JSON_PROPERTY_NOTIFY_ON_CASE_PRIORITY_CHANGE
      See Also:
    • JSON_PROPERTY_NOTIFY_ON_CASE_STATUS_CHANGE

      public static final String JSON_PROPERTY_NOTIFY_ON_CASE_STATUS_CHANGE
      See Also:
    • JSON_PROPERTY_NOTIFY_ON_CASE_UNASSIGNMENT

      public static final String JSON_PROPERTY_NOTIFY_ON_CASE_UNASSIGNMENT
      See Also:
  • Constructor Details

    • ProjectNotificationSettings

      public ProjectNotificationSettings()
  • Method Details

    • destinations

      public ProjectNotificationSettings destinations(List<Long> destinations)
    • addDestinationsItem

      public ProjectNotificationSettings addDestinationsItem(Long destinationsItem)
    • getDestinations

      @Nullable public List<Long> getDestinations()
      Notification destinations (1=email, 2=slack, 3=in-app).
      Returns:
      destinations
    • setDestinations

      public void setDestinations(List<Long> destinations)
    • enabled

      public ProjectNotificationSettings enabled(Boolean enabled)
    • getEnabled

      @Nullable public Boolean getEnabled()
      Whether notifications are enabled.
      Returns:
      enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
    • notifyOnCaseAssignment

      public ProjectNotificationSettings notifyOnCaseAssignment(Boolean notifyOnCaseAssignment)
    • getNotifyOnCaseAssignment

      @Nullable public Boolean getNotifyOnCaseAssignment()
      Whether to send a notification when a case is assigned.
      Returns:
      notifyOnCaseAssignment
    • setNotifyOnCaseAssignment

      public void setNotifyOnCaseAssignment(Boolean notifyOnCaseAssignment)
    • notifyOnCaseClosed

      public ProjectNotificationSettings notifyOnCaseClosed(Boolean notifyOnCaseClosed)
    • getNotifyOnCaseClosed

      @Nullable public Boolean getNotifyOnCaseClosed()
      Whether to send a notification when a case is closed.
      Returns:
      notifyOnCaseClosed
    • setNotifyOnCaseClosed

      public void setNotifyOnCaseClosed(Boolean notifyOnCaseClosed)
    • notifyOnCaseComment

      public ProjectNotificationSettings notifyOnCaseComment(Boolean notifyOnCaseComment)
    • getNotifyOnCaseComment

      @Nullable public Boolean getNotifyOnCaseComment()
      Whether to send a notification when a comment is added to a case.
      Returns:
      notifyOnCaseComment
    • setNotifyOnCaseComment

      public void setNotifyOnCaseComment(Boolean notifyOnCaseComment)
    • notifyOnCaseCommentMention

      public ProjectNotificationSettings notifyOnCaseCommentMention(Boolean notifyOnCaseCommentMention)
    • getNotifyOnCaseCommentMention

      @Nullable public Boolean getNotifyOnCaseCommentMention()
      Whether to send a notification when a user is mentioned in a case comment.
      Returns:
      notifyOnCaseCommentMention
    • setNotifyOnCaseCommentMention

      public void setNotifyOnCaseCommentMention(Boolean notifyOnCaseCommentMention)
    • notifyOnCasePriorityChange

      public ProjectNotificationSettings notifyOnCasePriorityChange(Boolean notifyOnCasePriorityChange)
    • getNotifyOnCasePriorityChange

      @Nullable public Boolean getNotifyOnCasePriorityChange()
      Whether to send a notification when a case's priority changes.
      Returns:
      notifyOnCasePriorityChange
    • setNotifyOnCasePriorityChange

      public void setNotifyOnCasePriorityChange(Boolean notifyOnCasePriorityChange)
    • notifyOnCaseStatusChange

      public ProjectNotificationSettings notifyOnCaseStatusChange(Boolean notifyOnCaseStatusChange)
    • getNotifyOnCaseStatusChange

      @Nullable public Boolean getNotifyOnCaseStatusChange()
      Whether to send a notification when a case's status changes.
      Returns:
      notifyOnCaseStatusChange
    • setNotifyOnCaseStatusChange

      public void setNotifyOnCaseStatusChange(Boolean notifyOnCaseStatusChange)
    • notifyOnCaseUnassignment

      public ProjectNotificationSettings notifyOnCaseUnassignment(Boolean notifyOnCaseUnassignment)
    • getNotifyOnCaseUnassignment

      @Nullable public Boolean getNotifyOnCaseUnassignment()
      Whether to send a notification when a case is unassigned.
      Returns:
      notifyOnCaseUnassignment
    • setNotifyOnCaseUnassignment

      public void setNotifyOnCaseUnassignment(Boolean notifyOnCaseUnassignment)
    • putAdditionalProperty

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