Class VersionHistoryUpdate

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class VersionHistoryUpdate extends Object
A change in a rule version.
  • Field Details

  • Constructor Details

    • VersionHistoryUpdate

      public VersionHistoryUpdate()
  • Method Details

    • change

      public VersionHistoryUpdate change(String change)
    • getChange

      @Nullable public String getChange()
      The new value of the field.
      Returns:
      change
    • setChange

      public void setChange(String change)
    • field

      public VersionHistoryUpdate field(String field)
    • getField

      @Nullable public String getField()
      The field that was changed.
      Returns:
      field
    • setField

      public void setField(String field)
    • type

    • getType

      @Nullable public VersionHistoryUpdateType getType()
      The type of change.
      Returns:
      type
    • setType

      public void setType(VersionHistoryUpdateType type)
    • putAdditionalProperty

      public VersionHistoryUpdate 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:
      VersionHistoryUpdate
    • 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 VersionHistoryUpdate 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