@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Vulnerability extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_RELATIONSHIPS |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
Vulnerability() |
Vulnerability(VulnerabilityAttributes attributes,
String id,
VulnerabilityRelationships relationships,
VulnerabilitiesType type) |
| Modifier and Type | Method and Description |
|---|---|
Vulnerability |
attributes(VulnerabilityAttributes attributes) |
boolean |
equals(Object o)
Return true if this Vulnerability object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
VulnerabilityAttributes |
getAttributes()
The JSON:API attributes of the vulnerability.
|
String |
getId()
The unique ID for this vulnerability.
|
VulnerabilityRelationships |
getRelationships()
Related entities object.
|
VulnerabilitiesType |
getType()
The JSON:API type.
|
int |
hashCode() |
Vulnerability |
id(String id) |
Vulnerability |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
Vulnerability |
relationships(VulnerabilityRelationships relationships) |
void |
setAttributes(VulnerabilityAttributes attributes) |
void |
setId(String id) |
void |
setRelationships(VulnerabilityRelationships relationships) |
void |
setType(VulnerabilitiesType type) |
String |
toString() |
Vulnerability |
type(VulnerabilitiesType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_RELATIONSHIPS
public static final String JSON_PROPERTY_TYPE
public Vulnerability()
public Vulnerability(VulnerabilityAttributes attributes, String id, VulnerabilityRelationships relationships, VulnerabilitiesType type)
public Vulnerability attributes(VulnerabilityAttributes attributes)
public VulnerabilityAttributes getAttributes()
public void setAttributes(VulnerabilityAttributes attributes)
public Vulnerability id(String id)
public String getId()
public void setId(String id)
public Vulnerability relationships(VulnerabilityRelationships relationships)
public VulnerabilityRelationships getRelationships()
public void setRelationships(VulnerabilityRelationships relationships)
public Vulnerability type(VulnerabilitiesType type)
public VulnerabilitiesType getType()
public void setType(VulnerabilitiesType type)
public Vulnerability putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.