Package com.datadog.api.client.v2.model
Class Vulnerability
java.lang.Object
com.datadog.api.client.v2.model.Vulnerability
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class Vulnerability
extends Object
A single vulnerability
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVulnerability(VulnerabilityAttributes attributes, String id, VulnerabilityRelationships relationships, VulnerabilitiesType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(VulnerabilityAttributes attributes) booleanReturn true if this Vulnerability object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The JSON:API attributes of the vulnerability.getId()The unique ID for this vulnerability.Related entities object.getType()The JSON:API type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(VulnerabilityRelationships relationships) voidsetAttributes(VulnerabilityAttributes attributes) voidvoidsetRelationships(VulnerabilityRelationships relationships) voidsetType(VulnerabilitiesType type) toString()type(VulnerabilitiesType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
Vulnerability
public Vulnerability() -
Vulnerability
public Vulnerability(VulnerabilityAttributes attributes, String id, VulnerabilityRelationships relationships, VulnerabilitiesType type)
-
-
Method Details
-
attributes
-
getAttributes
The JSON:API attributes of the vulnerability.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The unique ID for this vulnerability.- Returns:
- id
-
setId
-
relationships
-
getRelationships
Related entities object.- Returns:
- relationships
-
setRelationships
-
type
-
getType
The JSON:API type.- 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:
- Vulnerability
-
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 Vulnerability object is equal to o. -
hashCode
public int hashCode() -
toString
-