Class SecurityMonitoringDatasetVersionFieldChange

java.lang.Object
com.datadog.api.client.v2.model.SecurityMonitoringDatasetVersionFieldChange

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SecurityMonitoringDatasetVersionFieldChange extends Object
A single field change between two versions of a dataset.
  • Field Details

  • Constructor Details

    • SecurityMonitoringDatasetVersionFieldChange

      public SecurityMonitoringDatasetVersionFieldChange()
    • SecurityMonitoringDatasetVersionFieldChange

      public SecurityMonitoringDatasetVersionFieldChange(Object current, String field, Object previous)
  • Method Details

    • current

    • getCurrent

      public Object getCurrent()
      The current value of the field, serialized as a JSON value.
      Returns:
      current
    • setCurrent

      public void setCurrent(Object current)
    • field

    • getField

      public String getField()
      The name of the field that changed.
      Returns:
      field
    • setField

      public void setField(String field)
    • previous

    • getPrevious

      public Object getPrevious()
      The previous value of the field, serialized as a JSON value.
      Returns:
      previous
    • setPrevious

      public void setPrevious(Object previous)
    • putAdditionalProperty

      public SecurityMonitoringDatasetVersionFieldChange 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 set
      value - The associated value
      Returns:
      SecurityMonitoringDatasetVersionFieldChange
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this SecurityMonitoringDatasetVersionFieldChange object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object