Package com.datadog.api.client.v2.model
Class IncidentNotificationTemplateCreateData
java.lang.Object
com.datadog.api.client.v2.model.IncidentNotificationTemplateCreateData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentNotificationTemplateCreateData
extends Object
Notification template data for a create request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIncidentNotificationTemplateCreateData(IncidentNotificationTemplateCreateAttributes attributes, IncidentNotificationTemplateType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this IncidentNotificationTemplateCreateData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The attributes for creating a notification template.The definition ofNotificationTemplateCreateDataRelationshipsobject.getType()Notification templates resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(IncidentNotificationTemplateCreateDataRelationships relationships) voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
IncidentNotificationTemplateCreateData
public IncidentNotificationTemplateCreateData() -
IncidentNotificationTemplateCreateData
public IncidentNotificationTemplateCreateData(IncidentNotificationTemplateCreateAttributes attributes, IncidentNotificationTemplateType type)
-
-
Method Details
-
attributes
public IncidentNotificationTemplateCreateData attributes(IncidentNotificationTemplateCreateAttributes attributes) -
getAttributes
The attributes for creating a notification template.- Returns:
- attributes
-
setAttributes
-
relationships
public IncidentNotificationTemplateCreateData relationships(IncidentNotificationTemplateCreateDataRelationships relationships) -
getRelationships
The definition ofNotificationTemplateCreateDataRelationshipsobject.- Returns:
- relationships
-
setRelationships
-
type
-
getType
Notification templates resource type.- Returns:
- type
-
setType
-
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:
- IncidentNotificationTemplateCreateData
-
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 IncidentNotificationTemplateCreateData object is equal to o. -
hashCode
public int hashCode() -
toString
-