@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AiMemoryViolationResultResponseAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_CREATED_BY |
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 |
|---|
AiMemoryViolationResultResponseAttributes() |
AiMemoryViolationResultResponseAttributes(OffsetDateTime createdAt,
String createdBy,
Long line,
String message,
String name,
String repositoryId,
String rule,
String sha,
AiMemoryViolationType type) |
| Modifier and Type | Method and Description |
|---|---|
AiMemoryViolationResultResponseAttributes |
createdAt(OffsetDateTime createdAt) |
AiMemoryViolationResultResponseAttributes |
createdBy(String createdBy) |
boolean |
equals(Object o)
Return true if this AiMemoryViolationResultResponseAttributes 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.
|
OffsetDateTime |
getCreatedAt()
The creation timestamp.
|
String |
getCreatedBy()
The identifier of the user who created the result.
|
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() |
AiMemoryViolationResultResponseAttributes |
line(Long line) |
AiMemoryViolationResultResponseAttributes |
message(String message) |
AiMemoryViolationResultResponseAttributes |
name(String name) |
AiMemoryViolationResultResponseAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
AiMemoryViolationResultResponseAttributes |
repositoryId(String repositoryId) |
AiMemoryViolationResultResponseAttributes |
rule(String rule) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setCreatedBy(String createdBy) |
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) |
AiMemoryViolationResultResponseAttributes |
sha(String sha) |
String |
toString() |
AiMemoryViolationResultResponseAttributes |
type(AiMemoryViolationType type) |
public boolean unparsed
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_BY
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 AiMemoryViolationResultResponseAttributes()
public AiMemoryViolationResultResponseAttributes(OffsetDateTime createdAt, String createdBy, Long line, String message, String name, String repositoryId, String rule, String sha, AiMemoryViolationType type)
public AiMemoryViolationResultResponseAttributes createdAt(OffsetDateTime createdAt)
public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public AiMemoryViolationResultResponseAttributes createdBy(String createdBy)
public String getCreatedBy()
public void setCreatedBy(String createdBy)
public AiMemoryViolationResultResponseAttributes line(Long line)
public Long getLine()
public void setLine(Long line)
public AiMemoryViolationResultResponseAttributes message(String message)
public String getMessage()
public void setMessage(String message)
public AiMemoryViolationResultResponseAttributes name(String name)
public String getName()
public void setName(String name)
public AiMemoryViolationResultResponseAttributes repositoryId(String repositoryId)
public String getRepositoryId()
public void setRepositoryId(String repositoryId)
public AiMemoryViolationResultResponseAttributes rule(String rule)
public String getRule()
public void setRule(String rule)
public AiMemoryViolationResultResponseAttributes sha(String sha)
public String getSha()
public void setSha(String sha)
public AiMemoryViolationResultResponseAttributes type(AiMemoryViolationType type)
public AiMemoryViolationType getType()
public void setType(AiMemoryViolationType type)
public AiMemoryViolationResultResponseAttributes 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.