Package com.datadog.api.client.v2.model
Class CodeLocation
java.lang.Object
com.datadog.api.client.v2.model.CodeLocation
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CodeLocation
extends Object
Code vulnerability location.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CodeLocation object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Vulnerability location file path.Vulnerability extracted location.Vulnerability location method.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetFilePath(String filePath) voidsetLocation(String location) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FILE_PATH
- See Also:
-
JSON_PROPERTY_LOCATION
- See Also:
-
JSON_PROPERTY_METHOD
- See Also:
-
-
Constructor Details
-
CodeLocation
public CodeLocation() -
CodeLocation
-
-
Method Details
-
filePath
-
getFilePath
Vulnerability location file path.- Returns:
- filePath
-
setFilePath
-
location
-
getLocation
Vulnerability extracted location.- Returns:
- location
-
setLocation
-
method
-
getMethod
Vulnerability location method.- Returns:
- method
-
setMethod
-
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:
- CodeLocation
-
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 CodeLocation object is equal to o. -
hashCode
public int hashCode() -
toString
-