Package com.datadog.api.client.v2.model
Class IncidentNotificationRuleCreateDataRelationships
java.lang.Object
com.datadog.api.client.v2.model.IncidentNotificationRuleCreateDataRelationships
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentNotificationRuleCreateDataRelationships
extends Object
The definition of
NotificationRuleCreateDataRelationships object.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this IncidentNotificationRuleCreateDataRelationships object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Relationship to an incident type.A relationship reference to a notification template.inthashCode()incidentType(RelationshipToIncidentType incidentType) notificationTemplate(RelationshipToIncidentNotificationTemplate notificationTemplate) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetIncidentType(RelationshipToIncidentType incidentType) voidsetNotificationTemplate(RelationshipToIncidentNotificationTemplate notificationTemplate) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_INCIDENT_TYPE
- See Also:
-
JSON_PROPERTY_NOTIFICATION_TEMPLATE
- See Also:
-
-
Constructor Details
-
IncidentNotificationRuleCreateDataRelationships
public IncidentNotificationRuleCreateDataRelationships()
-
-
Method Details
-
incidentType
public IncidentNotificationRuleCreateDataRelationships incidentType(RelationshipToIncidentType incidentType) -
getIncidentType
Relationship to an incident type.- Returns:
- incidentType
-
setIncidentType
-
notificationTemplate
public IncidentNotificationRuleCreateDataRelationships notificationTemplate(RelationshipToIncidentNotificationTemplate notificationTemplate) -
getNotificationTemplate
A relationship reference to a notification template.- Returns:
- notificationTemplate
-
setNotificationTemplate
public void setNotificationTemplate(RelationshipToIncidentNotificationTemplate notificationTemplate) -
putAdditionalProperty
public IncidentNotificationRuleCreateDataRelationships 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 setvalue- The associated value- Returns:
- IncidentNotificationRuleCreateDataRelationships
-
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 IncidentNotificationRuleCreateDataRelationships object is equal to o. -
hashCode
public int hashCode() -
toString
-