Package com.datadog.api.client.v2.model
Class IncidentImportRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.IncidentImportRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentImportRequestAttributes
extends Object
The incident's attributes for an import request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiondeclared(OffsetDateTime declared) detected(OffsetDateTime detected) booleanReturn true if this IncidentImportRequestAttributes object is equal to o.fields(Map<String, IncidentImportFieldAttributes> fields) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Timestamp when the incident was declared.Timestamp when the incident was detected.A condensed view of the user-defined fields for which to create initial selections.A unique identifier that represents the incident type.Timestamp when the incident was resolved.getTitle()The title of the incident that summarizes what happened.The visibility of the incident.inthashCode()incidentTypeUuid(String incidentTypeUuid) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putFieldsItem(String key, IncidentImportFieldAttributes fieldsItem) resolved(OffsetDateTime resolved) voidsetDeclared(OffsetDateTime declared) voidsetDetected(OffsetDateTime detected) voidsetFields(Map<String, IncidentImportFieldAttributes> fields) voidsetIncidentTypeUuid(String incidentTypeUuid) voidsetResolved(OffsetDateTime resolved) voidvoidsetVisibility(IncidentImportVisibility visibility) toString()visibility(IncidentImportVisibility visibility)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DECLARED
- See Also:
-
JSON_PROPERTY_DETECTED
- See Also:
-
JSON_PROPERTY_FIELDS
- See Also:
-
JSON_PROPERTY_INCIDENT_TYPE_UUID
- See Also:
-
JSON_PROPERTY_RESOLVED
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_VISIBILITY
- See Also:
-
-
Constructor Details
-
IncidentImportRequestAttributes
public IncidentImportRequestAttributes() -
IncidentImportRequestAttributes
-
-
Method Details
-
declared
-
getDeclared
Timestamp when the incident was declared.- Returns:
- declared
-
setDeclared
-
detected
-
getDetected
Timestamp when the incident was detected.- Returns:
- detected
-
setDetected
-
fields
-
putFieldsItem
public IncidentImportRequestAttributes putFieldsItem(String key, IncidentImportFieldAttributes fieldsItem) -
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 the incident type. If not provided, the default incident type is used.- Returns:
- incidentTypeUuid
-
setIncidentTypeUuid
-
resolved
-
getResolved
Timestamp when the incident was resolved. Can only be set when the state field is set to 'resolved'.- Returns:
- resolved
-
setResolved
-
title
-
getTitle
The title of the incident that summarizes what happened.- Returns:
- title
-
setTitle
-
visibility
-
getVisibility
The visibility of the incident.- Returns:
- visibility
-
setVisibility
-
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:
- IncidentImportRequestAttributes
-
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 IncidentImportRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-