Package com.datadog.api.client.v2.model
Class AiMemoryViolationResultResponseAttributes
java.lang.Object
com.datadog.api.client.v2.model.AiMemoryViolationResultResponseAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AiMemoryViolationResultResponseAttributes
extends Object
Response attributes of an AI memory violation result.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAiMemoryViolationResultResponseAttributes(OffsetDateTime createdAt, String createdBy, Long line, String message, String name, String repositoryId, String rule, String sha, AiMemoryViolationType type) -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanReturn true if this AiMemoryViolationResultResponseAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The creation timestamp.The identifier of the user who created the result.getLine()The line number where the violation was found.A message explaining the violation result.getName()The file path where the violation was found.The repository identifier.getRule()The rule identifier in the format ruleset/rule.getSha()The git commit SHA where the violation was found.getType()The type of AI memory violation result indicating whether it is a true positive or false positive.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.repositoryId(String repositoryId) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(String createdBy) voidvoidsetMessage(String message) voidvoidsetRepositoryId(String repositoryId) voidvoidvoidsetType(AiMemoryViolationType type) toString()type(AiMemoryViolationType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_LINE
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_REPOSITORY_ID
- See Also:
-
JSON_PROPERTY_RULE
- See Also:
-
JSON_PROPERTY_SHA
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
AiMemoryViolationResultResponseAttributes
public AiMemoryViolationResultResponseAttributes() -
AiMemoryViolationResultResponseAttributes
public AiMemoryViolationResultResponseAttributes(OffsetDateTime createdAt, String createdBy, Long line, String message, String name, String repositoryId, String rule, String sha, AiMemoryViolationType type)
-
-
Method Details
-
createdAt
-
getCreatedAt
The creation timestamp.- Returns:
- createdAt
-
setCreatedAt
-
createdBy
-
getCreatedBy
The identifier of the user who created the result.- Returns:
- createdBy
-
setCreatedBy
-
line
-
getLine
The line number where the violation was found.- Returns:
- line
-
setLine
-
message
-
getMessage
A message explaining the violation result.- Returns:
- message
-
setMessage
-
name
-
getName
The file path where the violation was found.- Returns:
- name
-
setName
-
repositoryId
-
getRepositoryId
The repository identifier.- Returns:
- repositoryId
-
setRepositoryId
-
rule
-
getRule
The rule identifier in the format ruleset/rule.- Returns:
- rule
-
setRule
-
sha
-
getSha
The git commit SHA where the violation was found.- Returns:
- sha
-
setSha
-
type
-
getType
The type of AI memory violation result indicating whether it is a true positive or false positive.- 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:
- AiMemoryViolationResultResponseAttributes
-
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 AiMemoryViolationResultResponseAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-