Package com.datadog.api.client.v2.model
Class AiCustomRuleItem
java.lang.Object
com.datadog.api.client.v2.model.AiCustomRuleItem
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AiCustomRuleItem
extends Object
An AI custom rule embedded within a ruleset response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAiCustomRuleItem(OffsetDateTime createdAt, String createdBy, AiCustomRuleRevisionResponseAttributes lastRevision, String name) -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanReturn true if this AiCustomRuleItem object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The creation timestamp.The identifier of the user who created the rule.Response attributes of an AI custom rule revision.getName()The rule name.inthashCode()lastRevision(AiCustomRuleRevisionResponseAttributes lastRevision) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(String createdBy) voidsetLastRevision(AiCustomRuleRevisionResponseAttributes lastRevision) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_LAST_REVISION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
AiCustomRuleItem
public AiCustomRuleItem() -
AiCustomRuleItem
public AiCustomRuleItem(OffsetDateTime createdAt, String createdBy, AiCustomRuleRevisionResponseAttributes lastRevision, String name)
-
-
Method Details
-
createdAt
-
getCreatedAt
The creation timestamp.- Returns:
- createdAt
-
setCreatedAt
-
createdBy
-
getCreatedBy
The identifier of the user who created the rule.- Returns:
- createdBy
-
setCreatedBy
-
lastRevision
-
getLastRevision
Response attributes of an AI custom rule revision.- Returns:
- lastRevision
-
setLastRevision
-
name
-
getName
The rule name.- Returns:
- name
-
setName
-
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:
- AiCustomRuleItem
-
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 AiCustomRuleItem object is equal to o. -
hashCode
public int hashCode() -
toString
-