Package com.datadog.api.client.v2.model
Class DueDateRuleAction
java.lang.Object
com.datadog.api.client.v2.model.DueDateRuleAction
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DueDateRuleAction
extends Object
The action to take when the due date rule matches a finding.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDueDateRuleAction(List<DueDatePerSeverityItem> dueDaysPerSeverity, DueDateFrom dueFrom) -
Method Summary
Modifier and TypeMethodDescriptionaddDueDaysPerSeverityItem(DueDatePerSeverityItem dueDaysPerSeverityItem) dueDaysPerSeverity(List<DueDatePerSeverityItem> dueDaysPerSeverity) dueFrom(DueDateFrom dueFrom) booleanReturn true if this DueDateRuleAction object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of severity-to-due-date mappings.The reference point from which the due date is calculated.An optional description providing more context for the due date assignment.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.reasonDescription(String reasonDescription) voidsetDueDaysPerSeverity(List<DueDatePerSeverityItem> dueDaysPerSeverity) voidsetDueFrom(DueDateFrom dueFrom) voidsetReasonDescription(String reasonDescription) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DUE_DAYS_PER_SEVERITY
- See Also:
-
JSON_PROPERTY_DUE_FROM
- See Also:
-
JSON_PROPERTY_REASON_DESCRIPTION
- See Also:
-
-
Constructor Details
-
DueDateRuleAction
public DueDateRuleAction() -
DueDateRuleAction
-
-
Method Details
-
dueDaysPerSeverity
-
addDueDaysPerSeverityItem
-
getDueDaysPerSeverity
A list of severity-to-due-date mappings. Each severity may appear at most once.- Returns:
- dueDaysPerSeverity
-
setDueDaysPerSeverity
-
dueFrom
-
getDueFrom
The reference point from which the due date is calculated. Whenfix_availableis selected but not applicable to the finding type,first_seenis used instead.- Returns:
- dueFrom
-
setDueFrom
-
reasonDescription
-
getReasonDescription
An optional description providing more context for the due date assignment.- Returns:
- reasonDescription
-
setReasonDescription
-
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:
- DueDateRuleAction
-
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 DueDateRuleAction object is equal to o. -
hashCode
public int hashCode() -
toString
-