@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CodeLocation extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FILE_PATH |
static String |
JSON_PROPERTY_LOCATION |
static String |
JSON_PROPERTY_METHOD |
boolean |
unparsed |
| Constructor and Description |
|---|
CodeLocation() |
CodeLocation(String location) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this CodeLocation object is equal to o.
|
CodeLocation |
filePath(String filePath) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getFilePath()
Vulnerability location file path.
|
String |
getLocation()
Vulnerability extracted location.
|
String |
getMethod()
Vulnerability location method.
|
int |
hashCode() |
CodeLocation |
location(String location) |
CodeLocation |
method(String method) |
CodeLocation |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setFilePath(String filePath) |
void |
setLocation(String location) |
void |
setMethod(String method) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_FILE_PATH
public static final String JSON_PROPERTY_LOCATION
public static final String JSON_PROPERTY_METHOD
public CodeLocation()
public CodeLocation(String location)
public CodeLocation filePath(String filePath)
@Nullable public String getFilePath()
public void setFilePath(String filePath)
public CodeLocation location(String location)
public String getLocation()
public void setLocation(String location)
public CodeLocation method(String method)
@Nullable public String getMethod()
public void setMethod(String method)
public CodeLocation 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.