Package com.datadog.api.client.v2.model
Class DORAFailureRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.DORAFailureRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DORAFailureRequestAttributes
extends Object
Attributes to create a DORA incident event.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCustomTagsItem(String customTagsItem) addServicesItem(String servicesItem) customTags(List<String> customTags) booleanReturn true if this DORAFailureRequestAttributes object is equal to o.finishedAt(Long finishedAt) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of user-defined tags.getEnv()Environment name that was impacted by the incident.Unix timestamp when the incident finished.getGit()Git info for DORA Metrics events.getId()Incident ID.getName()Incident name.Service names impacted by the incident.Incident severity.Unix timestamp when the incident started.getTeam()Name of the team owning the services impacted.Version to correlate with APM Deployment Tracking.git(DORAGitInfo git) inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCustomTags(List<String> customTags) voidsetCustomTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> customTags) voidvoidsetFinishedAt(Long finishedAt) voidsetGit(DORAGitInfo git) voidvoidvoidsetServices(List<String> services) voidsetSeverity(String severity) voidsetStartedAt(Long startedAt) voidvoidsetVersion(String version) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CUSTOM_TAGS
- See Also:
-
JSON_PROPERTY_ENV
- See Also:
-
JSON_PROPERTY_FINISHED_AT
- See Also:
-
JSON_PROPERTY_GIT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SERVICES
- See Also:
-
JSON_PROPERTY_SEVERITY
- See Also:
-
JSON_PROPERTY_STARTED_AT
- See Also:
-
JSON_PROPERTY_TEAM
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
DORAFailureRequestAttributes
public DORAFailureRequestAttributes() -
DORAFailureRequestAttributes
-
-
Method Details
-
customTags
-
addCustomTagsItem
-
getCustomTags
A list of user-defined tags. The tags must follow thekey:valuepattern. Up to 100 may be added per event.- Returns:
- customTags
-
getCustomTags_JsonNullable
-
setCustomTags_JsonNullable
-
setCustomTags
-
env
-
getEnv
Environment name that was impacted by the incident.- Returns:
- env
-
setEnv
-
finishedAt
-
getFinishedAt
Unix timestamp when the incident finished. It must be in nanoseconds, milliseconds, or seconds.- Returns:
- finishedAt
-
setFinishedAt
-
git
-
getGit
Git info for DORA Metrics events.- Returns:
- git
-
setGit
-
id
-
getId
Incident ID. Must be 16-128 characters and contain only alphanumeric characters, hyphens, underscores, periods, and colons (a-z, A-Z, 0-9, -, _, ., :).- Returns:
- id
-
setId
-
name
-
getName
Incident name.- Returns:
- name
-
setName
-
services
-
addServicesItem
-
getServices
Service names impacted by the incident. If possible, use names registered in the Service Catalog. Required when the team field is not provided.- Returns:
- services
-
setServices
-
severity
-
getSeverity
Incident severity.- Returns:
- severity
-
setSeverity
-
startedAt
-
getStartedAt
Unix timestamp when the incident started. It must be in nanoseconds, milliseconds, or seconds.- Returns:
- startedAt
-
setStartedAt
-
team
-
getTeam
Name of the team owning the services impacted. If possible, use team handles registered in Datadog. Required when the services field is not provided.- Returns:
- team
-
setTeam
-
version
-
getVersion
Version to correlate with APM Deployment Tracking.- Returns:
- version
-
setVersion
-
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:
- DORAFailureRequestAttributes
-
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 DORAFailureRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-