Package com.datadog.api.client.v2.model
Class DueDatePerSeverityItem
java.lang.Object
com.datadog.api.client.v2.model.DueDatePerSeverityItem
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DueDatePerSeverityItem
extends Object
A mapping of a severity level to the number of days until a finding is due.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this DueDatePerSeverityItem object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The number of days from the reference point until the finding is due.A severity level used to configure due date thresholds.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDueInDays(Long dueInDays) voidsetSeverity(DueDateSeverity severity) severity(DueDateSeverity severity) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DUE_IN_DAYS
- See Also:
-
JSON_PROPERTY_SEVERITY
- See Also:
-
-
Constructor Details
-
DueDatePerSeverityItem
public DueDatePerSeverityItem() -
DueDatePerSeverityItem
-
-
Method Details
-
dueInDays
-
getDueInDays
The number of days from the reference point until the finding is due. minimum: 1 maximum: 365- Returns:
- dueInDays
-
setDueInDays
-
severity
-
getSeverity
A severity level used to configure due date thresholds.- Returns:
- severity
-
setSeverity
-
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:
- DueDatePerSeverityItem
-
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 DueDatePerSeverityItem object is equal to o. -
hashCode
public int hashCode() -
toString
-