@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AiMemoryViolationResultRequestAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_LINE |
static String |
JSON_PROPERTY_MESSAGE |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_REPOSITORY_ID |
static String |
JSON_PROPERTY_RULE |
static String |
JSON_PROPERTY_SHA |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
AiMemoryViolationResultRequestAttributes() |
AiMemoryViolationResultRequestAttributes(Long line,
String message,
String name,
String repositoryId,
String rule,
String sha,
AiMemoryViolationType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this AiMemoryViolationResultRequestAttributes 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.
|
Long |
getLine()
The line number where the violation was found.
|
String |
getMessage()
A message explaining the violation result.
|
String |
getName()
The file path where the violation was found.
|
String |
getRepositoryId()
The repository identifier.
|
String |
getRule()
The rule identifier in the format ruleset/rule.
|
String |
getSha()
The git commit SHA where the violation was found.
|
AiMemoryViolationType |
getType()
The type of AI memory violation result indicating whether it is a true positive or false
positive.
|
int |
hashCode() |
AiMemoryViolationResultRequestAttributes |
line(Long line) |
AiMemoryViolationResultRequestAttributes |
message(String message) |
AiMemoryViolationResultRequestAttributes |
name(String name) |
AiMemoryViolationResultRequestAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
AiMemoryViolationResultRequestAttributes |
repositoryId(String repositoryId) |
AiMemoryViolationResultRequestAttributes |
rule(String rule) |
void |
setLine(Long line) |
void |
setMessage(String message) |
void |
setName(String name) |
void |
setRepositoryId(String repositoryId) |
void |
setRule(String rule) |
void |
setSha(String sha) |
void |
setType(AiMemoryViolationType type) |
AiMemoryViolationResultRequestAttributes |
sha(String sha) |
String |
toString() |
AiMemoryViolationResultRequestAttributes |
type(AiMemoryViolationType type) |
public boolean unparsed
public static final String JSON_PROPERTY_LINE
public static final String JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_REPOSITORY_ID
public static final String JSON_PROPERTY_RULE
public static final String JSON_PROPERTY_SHA
public static final String JSON_PROPERTY_TYPE
public AiMemoryViolationResultRequestAttributes()
public AiMemoryViolationResultRequestAttributes line(Long line)
public Long getLine()
public void setLine(Long line)
public AiMemoryViolationResultRequestAttributes message(String message)
public String getMessage()
public void setMessage(String message)
public AiMemoryViolationResultRequestAttributes name(String name)
public String getName()
public void setName(String name)
public AiMemoryViolationResultRequestAttributes repositoryId(String repositoryId)
public String getRepositoryId()
public void setRepositoryId(String repositoryId)
public AiMemoryViolationResultRequestAttributes rule(String rule)
public String getRule()
public void setRule(String rule)
public AiMemoryViolationResultRequestAttributes sha(String sha)
public String getSha()
public void setSha(String sha)
public AiMemoryViolationResultRequestAttributes type(AiMemoryViolationType type)
public AiMemoryViolationType getType()
public void setType(AiMemoryViolationType type)
public AiMemoryViolationResultRequestAttributes 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.