Package com.datadog.api.client.v2.model
Class IncidentNotificationRuleRelationships
java.lang.Object
com.datadog.api.client.v2.model.IncidentNotificationRuleRelationships
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentNotificationRuleRelationships
extends Object
The notification rule's resource relationships.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedByUser(RelationshipToUser createdByUser) booleanReturn true if this IncidentNotificationRuleRelationships object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Relationship to user.Relationship to an incident type.Relationship to user.A relationship reference to a notification template.inthashCode()incidentType(RelationshipToIncidentType incidentType) lastModifiedByUser(RelationshipToUser lastModifiedByUser) notificationTemplate(RelationshipToIncidentNotificationTemplate notificationTemplate) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedByUser(RelationshipToUser createdByUser) voidsetIncidentType(RelationshipToIncidentType incidentType) voidsetLastModifiedByUser(RelationshipToUser lastModifiedByUser) voidsetNotificationTemplate(RelationshipToIncidentNotificationTemplate notificationTemplate) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_BY_USER
- See Also:
-
JSON_PROPERTY_INCIDENT_TYPE
- See Also:
-
JSON_PROPERTY_LAST_MODIFIED_BY_USER
- See Also:
-
JSON_PROPERTY_NOTIFICATION_TEMPLATE
- See Also:
-
-
Constructor Details
-
IncidentNotificationRuleRelationships
public IncidentNotificationRuleRelationships()
-
-
Method Details
-
createdByUser
-
getCreatedByUser
Relationship to user.- Returns:
- createdByUser
-
setCreatedByUser
-
incidentType
-
getIncidentType
Relationship to an incident type.- Returns:
- incidentType
-
setIncidentType
-
lastModifiedByUser
public IncidentNotificationRuleRelationships lastModifiedByUser(RelationshipToUser lastModifiedByUser) -
getLastModifiedByUser
Relationship to user.- Returns:
- lastModifiedByUser
-
setLastModifiedByUser
-
notificationTemplate
public IncidentNotificationRuleRelationships notificationTemplate(RelationshipToIncidentNotificationTemplate notificationTemplate) -
getNotificationTemplate
A relationship reference to a notification template.- Returns:
- notificationTemplate
-
setNotificationTemplate
public void setNotificationTemplate(RelationshipToIncidentNotificationTemplate notificationTemplate) -
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:
- IncidentNotificationRuleRelationships
-
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 IncidentNotificationRuleRelationships object is equal to o. -
hashCode
public int hashCode() -
toString
-