Package com.datadog.api.client.v2.model
Class DefaultInboxRuleAttributesResponse
java.lang.Object
com.datadog.api.client.v2.model.DefaultInboxRuleAttributesResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DefaultInboxRuleAttributesResponse
extends Object
Attributes of a default inbox rule returned by the API.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultInboxRuleAttributesResponse(InboxRuleAction action, Long createdAt, AutomationRuleCreatedBy createdBy, Boolean enabled, Long modifiedAt, AutomationRuleModifiedBy modifiedBy, String name, AutomationRuleScope rule) -
Method Summary
Modifier and TypeMethodDescriptionaction(InboxRuleAction action) createdBy(AutomationRuleCreatedBy createdBy) booleanReturn true if this DefaultInboxRuleAttributesResponse object is equal to o.The action to take when the inbox rule matches a finding.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The Unix timestamp in milliseconds when the rule definition was created.The user or Datadog system who created the rule.Whether the default inbox rule is enabled for the organization.The Unix timestamp in milliseconds when the rule was last modified.The user or Datadog system who last modified the rule.getName()The name of the default inbox rule.getRule()Defines the scope of findings to which the automation rule applies.inthashCode()modifiedAt(Long modifiedAt) modifiedBy(AutomationRuleModifiedBy modifiedBy) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rule(AutomationRuleScope rule) voidsetAction(InboxRuleAction action) voidsetCreatedAt(Long createdAt) voidsetCreatedBy(AutomationRuleCreatedBy createdBy) voidsetEnabled(Boolean enabled) voidsetModifiedAt(Long modifiedAt) voidsetModifiedBy(AutomationRuleModifiedBy modifiedBy) voidvoidsetRule(AutomationRuleScope rule) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACTION
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_MODIFIED_BY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RULE
- See Also:
-
-
Constructor Details
-
DefaultInboxRuleAttributesResponse
public DefaultInboxRuleAttributesResponse() -
DefaultInboxRuleAttributesResponse
public DefaultInboxRuleAttributesResponse(InboxRuleAction action, Long createdAt, AutomationRuleCreatedBy createdBy, Boolean enabled, Long modifiedAt, AutomationRuleModifiedBy modifiedBy, String name, AutomationRuleScope rule)
-
-
Method Details
-
action
-
getAction
The action to take when the inbox rule matches a finding.- Returns:
- action
-
setAction
-
createdAt
-
getCreatedAt
The Unix timestamp in milliseconds when the rule definition was created. The definition is authored by Datadog.- Returns:
- createdAt
-
setCreatedAt
-
createdBy
-
getCreatedBy
The user or Datadog system who created the rule.- Returns:
- createdBy
-
setCreatedBy
-
enabled
-
getEnabled
Whether the default inbox rule is enabled for the organization.- Returns:
- enabled
-
setEnabled
-
modifiedAt
-
getModifiedAt
The Unix timestamp in milliseconds when the rule was last modified.- Returns:
- modifiedAt
-
setModifiedAt
-
modifiedBy
-
getModifiedBy
The user or Datadog system who last modified the rule.- Returns:
- modifiedBy
-
setModifiedBy
-
name
-
getName
The name of the default inbox 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:
- DefaultInboxRuleAttributesResponse
-
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 DefaultInboxRuleAttributesResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-