Package com.datadog.api.client.v2.model
Class DueDateRuleAttributesCreate
java.lang.Object
com.datadog.api.client.v2.model.DueDateRuleAttributesCreate
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DueDateRuleAttributesCreate
extends Object
Attributes for creating or updating a due date rule.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDueDateRuleAttributesCreate(DueDateRuleAction action, String name, AutomationRuleScope rule) -
Method Summary
Modifier and TypeMethodDescriptionaction(DueDateRuleAction action) booleanReturn true if this DueDateRuleAttributesCreate object is equal to o.The action to take when the due date rule matches a finding.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether the due date rule is enabled.getName()The name of the due date rule.getRule()Defines the scope of findings to which the automation rule applies.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rule(AutomationRuleScope rule) voidsetAction(DueDateRuleAction action) voidsetEnabled(Boolean enabled) voidvoidsetRule(AutomationRuleScope rule) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACTION
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RULE
- See Also:
-
-
Constructor Details
-
DueDateRuleAttributesCreate
public DueDateRuleAttributesCreate() -
DueDateRuleAttributesCreate
-
-
Method Details
-
action
-
getAction
The action to take when the due date rule matches a finding.- Returns:
- action
-
setAction
-
enabled
-
getEnabled
Whether the due date rule is enabled.- Returns:
- enabled
-
setEnabled
-
name
-
getName
The name of the due date rule.- Returns:
- name
-
setName
-
rule
-
getRule
Defines the scope of findings to which the automation rule applies.- Returns:
- rule
-
setRule
-
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:
- DueDateRuleAttributesCreate
-
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 DueDateRuleAttributesCreate object is equal to o. -
hashCode
public int hashCode() -
toString
-