Package com.datadog.api.client.v2.model
Class Asset
java.lang.Object
com.datadog.api.client.v2.model.Asset
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class Asset
extends Object
A single vulnerable asset
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(AssetAttributes attributes) booleanReturn true if this Asset object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The JSON:API attributes of the asset.getId()The unique ID for this asset.getType()The JSON:API type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(AssetAttributes attributes) voidvoidsetType(AssetEntityType type) toString()type(AssetEntityType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
Asset
public Asset() -
Asset
-
-
Method Details
-
attributes
-
getAttributes
The JSON:API attributes of the asset.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The unique ID for this asset.- Returns:
- id
-
setId
-
type
-
getType
The JSON:API type.- Returns:
- type
-
setType
-
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:
- Asset
-
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 Asset object is equal to o. -
hashCode
public int hashCode() -
toString
-