Package com.datadog.api.client.v2.model
Class RevertCustomRuleRevisionRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.RevertCustomRuleRevisionRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RevertCustomRuleRevisionRequestDataAttributes
extends Object
Attributes specifying the current and target revision IDs for a revert operation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncurrentRevision(String currentRevision) booleanReturn true if this RevertCustomRuleRevisionRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Current revision IDTarget revision ID to revert tointhashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.revertToRevision(String revertToRevision) voidsetCurrentRevision(String currentRevision) voidsetRevertToRevision(String revertToRevision) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CURRENT_REVISION
- See Also:
-
JSON_PROPERTY_REVERT_TO_REVISION
- See Also:
-
-
Constructor Details
-
RevertCustomRuleRevisionRequestDataAttributes
public RevertCustomRuleRevisionRequestDataAttributes()
-
-
Method Details
-
currentRevision
-
getCurrentRevision
Current revision ID- Returns:
- currentRevision
-
setCurrentRevision
-
revertToRevision
-
getRevertToRevision
Target revision ID to revert to- Returns:
- revertToRevision
-
setRevertToRevision
-
putAdditionalProperty
public RevertCustomRuleRevisionRequestDataAttributes putAdditionalProperty(String key, Object value) 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:
- RevertCustomRuleRevisionRequestDataAttributes
-
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 RevertCustomRuleRevisionRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-