Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDestinationsItem(Long destinationsItem) destinations(List<Long> destinations) booleanReturn true if this ProjectNotificationSettings object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Notification destinations (1=email, 2=slack, 3=in-app).Whether notifications are enabled.Whether to send a notification when a case is assigned.Whether to send a notification when a case is closed.Whether to send a notification when a comment is added to a case.Whether to send a notification when a user is mentioned in a case comment.Whether to send a notification when a case's priority changes.Whether to send a notification when a case's status changes.Whether to send a notification when a case is unassigned.inthashCode()notifyOnCaseAssignment(Boolean notifyOnCaseAssignment) notifyOnCaseClosed(Boolean notifyOnCaseClosed) notifyOnCaseComment(Boolean notifyOnCaseComment) notifyOnCaseCommentMention(Boolean notifyOnCaseCommentMention) notifyOnCasePriorityChange(Boolean notifyOnCasePriorityChange) notifyOnCaseStatusChange(Boolean notifyOnCaseStatusChange) notifyOnCaseUnassignment(Boolean notifyOnCaseUnassignment) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDestinations(List<Long> destinations) voidsetEnabled(Boolean enabled) voidsetNotifyOnCaseAssignment(Boolean notifyOnCaseAssignment) voidsetNotifyOnCaseClosed(Boolean notifyOnCaseClosed) voidsetNotifyOnCaseComment(Boolean notifyOnCaseComment) voidsetNotifyOnCaseCommentMention(Boolean notifyOnCaseCommentMention) voidsetNotifyOnCasePriorityChange(Boolean notifyOnCasePriorityChange) voidsetNotifyOnCaseStatusChange(Boolean notifyOnCaseStatusChange) voidsetNotifyOnCaseUnassignment(Boolean notifyOnCaseUnassignment) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESTINATIONS
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_NOTIFY_ON_CASE_ASSIGNMENT
- See Also:
-
JSON_PROPERTY_NOTIFY_ON_CASE_CLOSED
- See Also:
-
JSON_PROPERTY_NOTIFY_ON_CASE_COMMENT
- See Also:
-
JSON_PROPERTY_NOTIFY_ON_CASE_COMMENT_MENTION
- See Also:
-
JSON_PROPERTY_NOTIFY_ON_CASE_PRIORITY_CHANGE
- See Also:
-
JSON_PROPERTY_NOTIFY_ON_CASE_STATUS_CHANGE
- See Also:
-
JSON_PROPERTY_NOTIFY_ON_CASE_UNASSIGNMENT
- See Also:
-
-
Constructor Details
-
ProjectNotificationSettings
public ProjectNotificationSettings()
-
-
Method Details
-
destinations
-
addDestinationsItem
-
getDestinations
Notification destinations (1=email, 2=slack, 3=in-app).- Returns:
- destinations
-
setDestinations
-
enabled
-
getEnabled
Whether notifications are enabled.- Returns:
- enabled
-
setEnabled
-
notifyOnCaseAssignment
-
getNotifyOnCaseAssignment
Whether to send a notification when a case is assigned.- Returns:
- notifyOnCaseAssignment
-
setNotifyOnCaseAssignment
-
notifyOnCaseClosed
-
getNotifyOnCaseClosed
Whether to send a notification when a case is closed.- Returns:
- notifyOnCaseClosed
-
setNotifyOnCaseClosed
-
notifyOnCaseComment
-
getNotifyOnCaseComment
Whether to send a notification when a comment is added to a case.- Returns:
- notifyOnCaseComment
-
setNotifyOnCaseComment
-
notifyOnCaseCommentMention
-
getNotifyOnCaseCommentMention
Whether to send a notification when a user is mentioned in a case comment.- Returns:
- notifyOnCaseCommentMention
-
setNotifyOnCaseCommentMention
-
notifyOnCasePriorityChange
-
getNotifyOnCasePriorityChange
Whether to send a notification when a case's priority changes.- Returns:
- notifyOnCasePriorityChange
-
setNotifyOnCasePriorityChange
-
notifyOnCaseStatusChange
-
getNotifyOnCaseStatusChange
Whether to send a notification when a case's status changes.- Returns:
- notifyOnCaseStatusChange
-
setNotifyOnCaseStatusChange
-
notifyOnCaseUnassignment
-
getNotifyOnCaseUnassignment
Whether to send a notification when a case is unassigned.- Returns:
- notifyOnCaseUnassignment
-
setNotifyOnCaseUnassignment
-
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:
- ProjectNotificationSettings
-
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 ProjectNotificationSettings object is equal to o. -
hashCode
public int hashCode() -
toString
-