Package com.datadog.api.client.v2.model
Class ScannedAssetMetadataAttributes
java.lang.Object
com.datadog.api.client.v2.model.ScannedAssetMetadataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ScannedAssetMetadataAttributes
extends Object
The attributes of a scanned asset metadata.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScannedAssetMetadataAttributes(ScannedAssetMetadataAsset asset, String firstSuccessTimestamp, ScannedAssetMetadataLastSuccess lastSuccess) -
Method Summary
Modifier and TypeMethodDescriptionasset(ScannedAssetMetadataAsset asset) booleanReturn true if this ScannedAssetMetadataAttributes object is equal to o.firstSuccessTimestamp(String firstSuccessTimestamp) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getAsset()The asset of a scanned asset metadata.The timestamp when the scan of the asset was performed for the first time.Metadata for the last successful scan of an asset.inthashCode()lastSuccess(ScannedAssetMetadataLastSuccess lastSuccess) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetFirstSuccessTimestamp(String firstSuccessTimestamp) voidsetLastSuccess(ScannedAssetMetadataLastSuccess lastSuccess) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ASSET
- See Also:
-
JSON_PROPERTY_FIRST_SUCCESS_TIMESTAMP
- See Also:
-
JSON_PROPERTY_LAST_SUCCESS
- See Also:
-
-
Constructor Details
-
ScannedAssetMetadataAttributes
public ScannedAssetMetadataAttributes() -
ScannedAssetMetadataAttributes
public ScannedAssetMetadataAttributes(ScannedAssetMetadataAsset asset, String firstSuccessTimestamp, ScannedAssetMetadataLastSuccess lastSuccess)
-
-
Method Details
-
asset
-
getAsset
The asset of a scanned asset metadata.- Returns:
- asset
-
setAsset
-
firstSuccessTimestamp
-
getFirstSuccessTimestamp
The timestamp when the scan of the asset was performed for the first time.- Returns:
- firstSuccessTimestamp
-
setFirstSuccessTimestamp
-
lastSuccess
-
getLastSuccess
Metadata for the last successful scan of an asset.- Returns:
- lastSuccess
-
setLastSuccess
-
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:
- ScannedAssetMetadataAttributes
-
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 ScannedAssetMetadataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-