Package com.datadog.api.client.v2.model
Class AiMemoryViolationResultRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.AiMemoryViolationResultRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AiMemoryViolationResultRequestAttributes
extends Object
Attributes for creating an AI memory violation result.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAiMemoryViolationResultRequestAttributes(Long line, String message, String name, String repositoryId, String rule, String sha, AiMemoryViolationType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this AiMemoryViolationResultRequestAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.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) voidvoidsetMessage(String message) voidvoidsetRepositoryId(String repositoryId) voidvoidvoidsetType(AiMemoryViolationType type) toString()type(AiMemoryViolationType type)
-
Field Details
-
unparsed
public boolean unparsed -
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
-
AiMemoryViolationResultRequestAttributes
public AiMemoryViolationResultRequestAttributes() -
AiMemoryViolationResultRequestAttributes
-
-
Method Details
-
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:
- AiMemoryViolationResultRequestAttributes
-
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 AiMemoryViolationResultRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-