Package com.datadog.api.client.v2.model
Class RuleVersions
java.lang.Object
com.datadog.api.client.v2.model.RuleVersions
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RuleVersions
extends Object
A rule version with a list of updates.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddChangesItem(VersionHistoryUpdate changesItem) changes(List<VersionHistoryUpdate> changes) booleanReturn true if this RuleVersions object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of changes.getRule()Create a new rule.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetChanges(List<VersionHistoryUpdate> changes) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CHANGES
- See Also:
-
JSON_PROPERTY_RULE
- See Also:
-
-
Constructor Details
-
RuleVersions
public RuleVersions()
-
-
Method Details
-
changes
-
addChangesItem
-
getChanges
A list of changes.- Returns:
- changes
-
setChanges
-
rule
-
getRule
Create a new rule.- 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:
- RuleVersions
-
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 RuleVersions object is equal to o. -
hashCode
public int hashCode() -
toString
-