Class ScannedAssetMetadataLastSuccess

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ScannedAssetMetadataLastSuccess extends Object
Metadata for the last successful scan of an asset.
  • Field Details

  • Constructor Details

    • ScannedAssetMetadataLastSuccess

      public ScannedAssetMetadataLastSuccess()
    • ScannedAssetMetadataLastSuccess

      public ScannedAssetMetadataLastSuccess(String timestamp)
  • Method Details

    • env

    • getEnv

      @Nullable public String getEnv()
      The environment of the last success scan of the asset.
      Returns:
      env
    • setEnv

      public void setEnv(String env)
    • origin

      public ScannedAssetMetadataLastSuccess origin(List<String> origin)
    • addOriginItem

      public ScannedAssetMetadataLastSuccess addOriginItem(String originItem)
    • getOrigin

      @Nullable public List<String> getOrigin()
      The list of origins of the last success scan of the asset.
      Returns:
      origin
    • setOrigin

      public void setOrigin(List<String> origin)
    • timestamp

      public ScannedAssetMetadataLastSuccess timestamp(String timestamp)
    • getTimestamp

      public String getTimestamp()
      The timestamp of the last success scan of the asset.
      Returns:
      timestamp
    • setTimestamp

      public void setTimestamp(String timestamp)
    • putAdditionalProperty

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