Package com.datadog.api.client.v2.model
Class McpScanRequestDataAttributesLibrariesItems
java.lang.Object
com.datadog.api.client.v2.model.McpScanRequestDataAttributesLibrariesItems
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class McpScanRequestDataAttributesLibrariesItems
extends Object
A library declaration to include in the dependency scan.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMcpScanRequestDataAttributesLibrariesItems(Boolean isDev, Boolean isDirect, String packageManager, String purl) -
Method Summary
Modifier and TypeMethodDescriptionaddExclusionsItem(String exclusionsItem) addTargetFrameworksItem(String targetFrameworksItem) booleanReturn true if this McpScanRequestDataAttributesLibrariesItems object is equal to o.exclusions(List<String> exclusions) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The list of dependency PURLs to exclude when resolving transitive dependencies for this library.getIsDev()Whether this library is a development-only dependency.Whether this library is a direct (rather than transitive) dependency.The package manager that produced this library entry (for example,npm,pip,nuget).getPurl()The Package URL (PURL) uniquely identifying the library and its version.The list of target framework identifiers associated with the library.inthashCode()packageManager(String packageManager) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetExclusions(List<String> exclusions) voidvoidsetIsDirect(Boolean isDirect) voidsetPackageManager(String packageManager) voidvoidsetTargetFrameworks(List<String> targetFrameworks) targetFrameworks(List<String> targetFrameworks) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_EXCLUSIONS
- See Also:
-
JSON_PROPERTY_IS_DEV
- See Also:
-
JSON_PROPERTY_IS_DIRECT
- See Also:
-
JSON_PROPERTY_PACKAGE_MANAGER
- See Also:
-
JSON_PROPERTY_PURL
- See Also:
-
JSON_PROPERTY_TARGET_FRAMEWORKS
- See Also:
-
-
Constructor Details
-
McpScanRequestDataAttributesLibrariesItems
public McpScanRequestDataAttributesLibrariesItems() -
McpScanRequestDataAttributesLibrariesItems
-
-
Method Details
-
exclusions
-
addExclusionsItem
-
getExclusions
The list of dependency PURLs to exclude when resolving transitive dependencies for this library.- Returns:
- exclusions
-
setExclusions
-
isDev
-
getIsDev
Whether this library is a development-only dependency.- Returns:
- isDev
-
setIsDev
-
isDirect
-
getIsDirect
Whether this library is a direct (rather than transitive) dependency.- Returns:
- isDirect
-
setIsDirect
-
packageManager
-
getPackageManager
The package manager that produced this library entry (for example,npm,pip,nuget).- Returns:
- packageManager
-
setPackageManager
-
purl
-
getPurl
The Package URL (PURL) uniquely identifying the library and its version.- Returns:
- purl
-
setPurl
-
targetFrameworks
-
addTargetFrameworksItem
public McpScanRequestDataAttributesLibrariesItems addTargetFrameworksItem(String targetFrameworksItem) -
getTargetFrameworks
The list of target framework identifiers associated with the library.- Returns:
- targetFrameworks
-
setTargetFrameworks
-
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:
- McpScanRequestDataAttributesLibrariesItems
-
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 McpScanRequestDataAttributesLibrariesItems object is equal to o. -
hashCode
public int hashCode() -
toString
-