Package com.datadog.api.client.v2.model
Class DefaultInboxRuleDataResponse
java.lang.Object
com.datadog.api.client.v2.model.DefaultInboxRuleDataResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DefaultInboxRuleDataResponse
extends Object
The data object for a default inbox rule returned by the API.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultInboxRuleDataResponse(DefaultInboxRuleAttributesResponse attributes, String id, DefaultInboxRuleType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(DefaultInboxRuleAttributesResponse attributes) booleanReturn true if this DefaultInboxRuleDataResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes of a default inbox rule returned by the API.getId()The ID of the default inbox rule.getType()The JSON:API type for default inbox rules.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(DefaultInboxRuleAttributesResponse attributes) voidvoidsetType(DefaultInboxRuleType type) toString()type(DefaultInboxRuleType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
DefaultInboxRuleDataResponse
public DefaultInboxRuleDataResponse() -
DefaultInboxRuleDataResponse
public DefaultInboxRuleDataResponse(DefaultInboxRuleAttributesResponse attributes, String id, DefaultInboxRuleType type)
-
-
Method Details
-
attributes
-
getAttributes
Attributes of a default inbox rule returned by the API.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The ID of the default inbox rule. Known default rule IDs include:identity_risk_default_rule,secret_default_rule,library_vulnerability_default_rule,attack_path_default_rule,host_and_container_vulnerability_default_rule,runtime_code_vulnerability_default_rule,iac_misconfiguration_default_rule, andmisconfiguration_default_rule. Datadog can add new default rules over time.- Returns:
- id
-
setId
-
type
-
getType
The JSON:API type for default inbox rules.- Returns:
- type
-
setType
-
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:
- DefaultInboxRuleDataResponse
-
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 DefaultInboxRuleDataResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-