Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOriginItem(String originItem) booleanReturn true if this ScannedAssetMetadataLastSuccess object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getEnv()The environment of the last success scan of the asset.The list of origins of the last success scan of the asset.The timestamp of the last success scan of the asset.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetTimestamp(String timestamp) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ENV
- See Also:
-
JSON_PROPERTY_ORIGIN
- See Also:
-
JSON_PROPERTY_TIMESTAMP
- See Also:
-
-
Constructor Details
-
ScannedAssetMetadataLastSuccess
public ScannedAssetMetadataLastSuccess() -
ScannedAssetMetadataLastSuccess
-
-
Method Details
-
env
-
getEnv
The environment of the last success scan of the asset.- Returns:
- env
-
setEnv
-
origin
-
addOriginItem
-
getOrigin
The list of origins of the last success scan of the asset.- Returns:
- origin
-
setOrigin
-
timestamp
-
getTimestamp
The timestamp of the last success scan of the asset.- Returns:
- timestamp
-
setTimestamp
-
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:
- ScannedAssetMetadataLastSuccess
-
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 ScannedAssetMetadataLastSuccess object is equal to o. -
hashCode
public int hashCode() -
toString
-