Package com.datadog.api.client.v2.model
Class CycloneDXMetadata
java.lang.Object
com.datadog.api.client.v2.model.CycloneDXMetadata
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CycloneDXMetadata
extends Object
Metadata about the BOM, including the scanned asset and the scanner tool.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCycloneDXMetadata(CycloneDXMetadataComponent component, CycloneDXMetadataTools tools) -
Method Summary
Modifier and TypeMethodDescriptioncomponent(CycloneDXMetadataComponent component) booleanReturn true if this CycloneDXMetadata object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The asset that was scanned (for example, a host or container image).getTools()Information about the scanner tool that produced this BOM.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetComponent(CycloneDXMetadataComponent component) voidsetTools(CycloneDXMetadataTools tools) tools(CycloneDXMetadataTools tools) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPONENT
- See Also:
-
JSON_PROPERTY_TOOLS
- See Also:
-
-
Constructor Details
-
CycloneDXMetadata
public CycloneDXMetadata() -
CycloneDXMetadata
-
-
Method Details
-
component
-
getComponent
The asset that was scanned (for example, a host or container image).- Returns:
- component
-
setComponent
-
tools
-
getTools
Information about the scanner tool that produced this BOM.- Returns:
- tools
-
setTools
-
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:
- CycloneDXMetadata
-
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 CycloneDXMetadata object is equal to o. -
hashCode
public int hashCode() -
toString
-