Package com.datadog.api.client.v2.model
Class IncidentNotificationTemplateAttributes
java.lang.Object
com.datadog.api.client.v2.model.IncidentNotificationTemplateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentNotificationTemplateAttributes
extends Object
The notification template's attributes.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIncidentNotificationTemplateAttributes(String category, String content, OffsetDateTime created, OffsetDateTime modified, String name, String subject) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this IncidentNotificationTemplateAttributes 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.Timestamp when the notification template was created.Timestamp when the notification template was last modified.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_CREATED
- See Also:
-
JSON_PROPERTY_MODIFIED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SUBJECT
- See Also:
-
-
Constructor Details
-
IncidentNotificationTemplateAttributes
public IncidentNotificationTemplateAttributes() -
IncidentNotificationTemplateAttributes
public IncidentNotificationTemplateAttributes(String category, String content, OffsetDateTime created, OffsetDateTime modified, String name, String subject)
-
-
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
-
getCreated
Timestamp when the notification template was created.- Returns:
- created
-
getModified
Timestamp when the notification template was last modified.- Returns:
- modified
-
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:
- IncidentNotificationTemplateAttributes
-
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 IncidentNotificationTemplateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-