Package com.datadog.api.client.v2.model
Class TicketCreationRuleAttributesCreate
java.lang.Object
com.datadog.api.client.v2.model.TicketCreationRuleAttributesCreate
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TicketCreationRuleAttributesCreate
extends Object
Attributes for creating or updating a ticket creation rule.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTicketCreationRuleAttributesCreate(TicketCreationRuleAction action, String name, AutomationRuleScope rule) -
Method Summary
Modifier and TypeMethodDescriptionaction(TicketCreationRuleAction action) booleanReturn true if this TicketCreationRuleAttributesCreate object is equal to o.The action to take when the ticket creation rule matches a finding.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether the ticket creation rule is enabled.getName()The name of the ticket creation 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(TicketCreationRuleAction 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
-
TicketCreationRuleAttributesCreate
public TicketCreationRuleAttributesCreate() -
TicketCreationRuleAttributesCreate
public TicketCreationRuleAttributesCreate(TicketCreationRuleAction action, String name, AutomationRuleScope rule)
-
-
Method Details
-
action
-
getAction
The action to take when the ticket creation rule matches a finding.- Returns:
- action
-
setAction
-
enabled
-
getEnabled
Whether the ticket creation rule is enabled.- Returns:
- enabled
-
setEnabled
-
name
-
getName
The name of the ticket creation 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:
- TicketCreationRuleAttributesCreate
-
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 TicketCreationRuleAttributesCreate object is equal to o. -
hashCode
public int hashCode() -
toString
-