Package com.datadog.api.client.v2.model
Class IncidentCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.IncidentCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentCreateAttributes
extends Object
The incident's attributes for a create request.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddInitialCellsItem(IncidentTimelineCellCreateAttributes initialCellsItem) addNotificationHandlesItem(IncidentNotificationHandle notificationHandlesItem) customerImpacted(Boolean customerImpacted) customerImpactScope(String customerImpactScope) booleanReturn true if this IncidentCreateAttributes object is equal to o.fields(Map<String, IncidentFieldAttributes> fields) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A flag indicating whether the incident caused customer impact.Required ifcustomer_impacted:"true".A condensed view of the user-defined fields for which to create initial selections.A unique identifier that represents an incident type.An array of initial timeline cells to be placed at the beginning of the incident timeline.A flag indicating whether the incident is a test incident.Notification handles that will be notified of the incident at creation.getTitle()The title of the incident, which summarizes what happened.inthashCode()incidentTypeUuid(String incidentTypeUuid) initialCells(List<IncidentTimelineCellCreateAttributes> initialCells) notificationHandles(List<IncidentNotificationHandle> notificationHandles) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putFieldsItem(String key, IncidentFieldAttributes fieldsItem) voidsetCustomerImpacted(Boolean customerImpacted) voidsetCustomerImpactScope(String customerImpactScope) voidsetFields(Map<String, IncidentFieldAttributes> fields) voidsetIncidentTypeUuid(String incidentTypeUuid) voidsetInitialCells(List<IncidentTimelineCellCreateAttributes> initialCells) voidvoidsetNotificationHandles(List<IncidentNotificationHandle> notificationHandles) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CUSTOMER_IMPACT_SCOPE
- See Also:
-
JSON_PROPERTY_CUSTOMER_IMPACTED
- See Also:
-
JSON_PROPERTY_FIELDS
- See Also:
-
JSON_PROPERTY_INCIDENT_TYPE_UUID
- See Also:
-
JSON_PROPERTY_INITIAL_CELLS
- See Also:
-
JSON_PROPERTY_IS_TEST
- See Also:
-
JSON_PROPERTY_NOTIFICATION_HANDLES
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
-
Constructor Details
-
IncidentCreateAttributes
public IncidentCreateAttributes() -
IncidentCreateAttributes
-
-
Method Details
-
customerImpactScope
-
getCustomerImpactScope
Required ifcustomer_impacted:"true". A summary of the impact customers experienced during the incident.- Returns:
- customerImpactScope
-
setCustomerImpactScope
-
customerImpacted
-
getCustomerImpacted
A flag indicating whether the incident caused customer impact.- Returns:
- customerImpacted
-
setCustomerImpacted
-
fields
-
putFieldsItem
-
getFields
A condensed view of the user-defined fields for which to create initial selections.- Returns:
- fields
-
setFields
-
incidentTypeUuid
-
getIncidentTypeUuid
A unique identifier that represents an incident type. The default incident type will be used if this property is not provided.- Returns:
- incidentTypeUuid
-
setIncidentTypeUuid
-
initialCells
public IncidentCreateAttributes initialCells(List<IncidentTimelineCellCreateAttributes> initialCells) -
addInitialCellsItem
public IncidentCreateAttributes addInitialCellsItem(IncidentTimelineCellCreateAttributes initialCellsItem) -
getInitialCells
An array of initial timeline cells to be placed at the beginning of the incident timeline.- Returns:
- initialCells
-
setInitialCells
-
isTest
-
getIsTest
A flag indicating whether the incident is a test incident.- Returns:
- isTest
-
setIsTest
-
notificationHandles
public IncidentCreateAttributes notificationHandles(List<IncidentNotificationHandle> notificationHandles) -
addNotificationHandlesItem
public IncidentCreateAttributes addNotificationHandlesItem(IncidentNotificationHandle notificationHandlesItem) -
getNotificationHandles
Notification handles that will be notified of the incident at creation.- Returns:
- notificationHandles
-
setNotificationHandles
-
title
-
getTitle
The title of the incident, which summarizes what happened.- Returns:
- title
-
setTitle
-
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:
- IncidentCreateAttributes
-
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 IncidentCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-