Package com.datadog.api.client.v2.model
Class ScaRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.ScaRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ScaRequestDataAttributes
extends Object
The attributes of an SCA request, containing dependency graph data, vulnerability information,
and repository context.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDependenciesItem(ScaRequestDataAttributesDependenciesItems dependenciesItem) addFilesItem(ScaRequestDataAttributesFilesItems filesItem) addRelationsItem(ScaRequestDataAttributesRelationsItems relationsItem) addVulnerabilitiesItem(ScaRequestDataAttributesVulnerabilitiesItems vulnerabilitiesItem) commit(ScaRequestDataAttributesCommit commit) dependencies(List<ScaRequestDataAttributesDependenciesItems> dependencies) booleanReturn true if this ScaRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Metadata about the commit associated with the SCA scan, including author, committer, and branch information.The list of dependencies discovered in the repository.getEnv()The environment context in which the SCA scan was performed (e.g., production, staging).getFiles()The list of dependency manifest files found in the repository.The dependency relations describing the inter-component dependency graph.Information about the source code repository being analyzed.The time when the SCA scan started.org.openapitools.jackson.nullable.JsonNullable<ScaRequestDataAttributesScanStartTimestamp>The name of the service or application being analyzed.getTags()A map of tags providing additional metadata for the SCA scan.The list of vulnerabilities identified in the dependency graph.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relations(List<ScaRequestDataAttributesRelationsItems> relations) repository(ScaRequestDataAttributesRepository repository) scanStartTimestamp(ScaRequestDataAttributesScanStartTimestamp scanStartTimestamp) voidvoidsetDependencies(List<ScaRequestDataAttributesDependenciesItems> dependencies) voidvoidvoidsetRelations(List<ScaRequestDataAttributesRelationsItems> relations) voidsetRepository(ScaRequestDataAttributesRepository repository) voidsetScanStartTimestamp(ScaRequestDataAttributesScanStartTimestamp scanStartTimestamp) voidsetScanStartTimestamp_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<ScaRequestDataAttributesScanStartTimestamp> scanStartTimestamp) voidsetService(String service) voidvoidsetVulnerabilities(List<ScaRequestDataAttributesVulnerabilitiesItems> vulnerabilities) toString()vulnerabilities(List<ScaRequestDataAttributesVulnerabilitiesItems> vulnerabilities)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMMIT
- See Also:
-
JSON_PROPERTY_DEPENDENCIES
- See Also:
-
JSON_PROPERTY_ENV
- See Also:
-
JSON_PROPERTY_FILES
- See Also:
-
JSON_PROPERTY_RELATIONS
- See Also:
-
JSON_PROPERTY_REPOSITORY
- See Also:
-
JSON_PROPERTY_SCAN_START_TIMESTAMP
- See Also:
-
JSON_PROPERTY_SERVICE
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_VULNERABILITIES
- See Also:
-
-
Constructor Details
-
ScaRequestDataAttributes
public ScaRequestDataAttributes()
-
-
Method Details
-
commit
-
getCommit
Metadata about the commit associated with the SCA scan, including author, committer, and branch information.- Returns:
- commit
-
setCommit
-
dependencies
public ScaRequestDataAttributes dependencies(List<ScaRequestDataAttributesDependenciesItems> dependencies) -
addDependenciesItem
public ScaRequestDataAttributes addDependenciesItem(ScaRequestDataAttributesDependenciesItems dependenciesItem) -
getDependencies
The list of dependencies discovered in the repository.- Returns:
- dependencies
-
setDependencies
-
env
-
getEnv
The environment context in which the SCA scan was performed (e.g., production, staging).- Returns:
- env
-
setEnv
-
files
-
addFilesItem
-
getFiles
The list of dependency manifest files found in the repository.- Returns:
- files
-
setFiles
-
relations
-
addRelationsItem
public ScaRequestDataAttributes addRelationsItem(ScaRequestDataAttributesRelationsItems relationsItem) -
getRelations
The dependency relations describing the inter-component dependency graph.- Returns:
- relations
-
setRelations
-
repository
-
getRepository
Information about the source code repository being analyzed.- Returns:
- repository
-
setRepository
-
scanStartTimestamp
public ScaRequestDataAttributes scanStartTimestamp(ScaRequestDataAttributesScanStartTimestamp scanStartTimestamp) -
getScanStartTimestamp
The time when the SCA scan started.- Returns:
- scanStartTimestamp
-
getScanStartTimestamp_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<ScaRequestDataAttributesScanStartTimestamp> getScanStartTimestamp_JsonNullable() -
setScanStartTimestamp_JsonNullable
public void setScanStartTimestamp_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<ScaRequestDataAttributesScanStartTimestamp> scanStartTimestamp) -
setScanStartTimestamp
-
service
-
getService
The name of the service or application being analyzed.- Returns:
- service
-
setService
-
tags
-
getTags
A map of tags providing additional metadata for the SCA scan.- Returns:
- tags
-
setTags
-
vulnerabilities
public ScaRequestDataAttributes vulnerabilities(List<ScaRequestDataAttributesVulnerabilitiesItems> vulnerabilities) -
addVulnerabilitiesItem
public ScaRequestDataAttributes addVulnerabilitiesItem(ScaRequestDataAttributesVulnerabilitiesItems vulnerabilitiesItem) -
getVulnerabilities
The list of vulnerabilities identified in the dependency graph.- Returns:
- vulnerabilities
-
setVulnerabilities
-
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:
- ScaRequestDataAttributes
-
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 ScaRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-