@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RuleVersions extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CHANGES |
static String |
JSON_PROPERTY_RULE |
boolean |
unparsed |
| Constructor and Description |
|---|
RuleVersions() |
| Modifier and Type | Method and Description |
|---|---|
RuleVersions |
addChangesItem(VersionHistoryUpdate changesItem) |
RuleVersions |
changes(List<VersionHistoryUpdate> changes) |
boolean |
equals(Object o)
Return true if this RuleVersions object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
List<VersionHistoryUpdate> |
getChanges()
A list of changes.
|
SecurityMonitoringRuleResponse |
getRule()
Create a new rule.
|
int |
hashCode() |
RuleVersions |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
RuleVersions |
rule(SecurityMonitoringRuleResponse rule) |
void |
setChanges(List<VersionHistoryUpdate> changes) |
void |
setRule(SecurityMonitoringRuleResponse rule) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CHANGES
public static final String JSON_PROPERTY_RULE
public RuleVersions changes(List<VersionHistoryUpdate> changes)
public RuleVersions addChangesItem(VersionHistoryUpdate changesItem)
@Nullable public List<VersionHistoryUpdate> getChanges()
public void setChanges(List<VersionHistoryUpdate> changes)
public RuleVersions rule(SecurityMonitoringRuleResponse rule)
@Nullable public SecurityMonitoringRuleResponse getRule()
public void setRule(SecurityMonitoringRuleResponse rule)
public RuleVersions putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.