Package com.datadog.api.client.v2.model
Class McpScanRequestData
java.lang.Object
com.datadog.api.client.v2.model.McpScanRequestData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class McpScanRequestData
extends Object
The data object in an MCP SCA scan request, containing the scan attributes and request type.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMcpScanRequestData(McpScanRequestDataAttributes attributes, McpScanRequestDataType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(McpScanRequestDataAttributes attributes) booleanReturn true if this McpScanRequestData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The attributes of an MCP SCA scan request, describing the libraries to scan and their context.getId()An optional identifier for this scan request.getType()The type identifier for MCP SCA scan requests.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(McpScanRequestDataAttributes attributes) voidvoidtoString()type(McpScanRequestDataType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
McpScanRequestData
public McpScanRequestData() -
McpScanRequestData
-
-
Method Details
-
attributes
-
getAttributes
The attributes of an MCP SCA scan request, describing the libraries to scan and their context.- Returns:
- attributes
-
setAttributes
-
id
-
getId
An optional identifier for this scan request.- Returns:
- id
-
setId
-
type
-
getType
The type identifier for MCP SCA scan requests.- 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:
- McpScanRequestData
-
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 McpScanRequestData object is equal to o. -
hashCode
public int hashCode() -
toString
-