Package com.datadog.api.client.v2.model
Class IncidentNotificationTemplateCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.IncidentNotificationTemplateCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentNotificationTemplateCreateAttributes
extends Object
The attributes for creating a notification template.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIncidentNotificationTemplateCreateAttributes(String category, String content, String name, String subject) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this IncidentNotificationTemplateCreateAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The category of the notification template.The content body of the notification template.getName()The name of the notification template.The subject line of the notification template.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCategory(String category) voidsetContent(String content) voidvoidsetSubject(String subject) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CATEGORY
- See Also:
-
JSON_PROPERTY_CONTENT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SUBJECT
- See Also:
-
-
Constructor Details
-
IncidentNotificationTemplateCreateAttributes
public IncidentNotificationTemplateCreateAttributes() -
IncidentNotificationTemplateCreateAttributes
-
-
Method Details
-
category
-
getCategory
The category of the notification template.- Returns:
- category
-
setCategory
-
content
-
getContent
The content body of the notification template.- Returns:
- content
-
setContent
-
name
-
getName
The name of the notification template.- Returns:
- name
-
setName
-
subject
-
getSubject
The subject line of the notification template.- Returns:
- subject
-
setSubject
-
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:
- IncidentNotificationTemplateCreateAttributes
-
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 IncidentNotificationTemplateCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-