Package com.datadog.api.client.v2.model
Class AnalysisRequestRuleTest
java.lang.Object
com.datadog.api.client.v2.model.AnalysisRequestRuleTest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AnalysisRequestRuleTest
extends Object
A test case of a forwarded static analysis rule.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotationCount(Long annotationCount) booleanReturn true if this AnalysisRequestRuleTest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The expected number of findings the rule should produce against the test code.getCode()The source code snippet used as input for the rule test.The filename associated with the test code snippet.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAnnotationCount(Long annotationCount) voidvoidsetFilename(String filename) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ANNOTATION_COUNT
- See Also:
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_FILENAME
- See Also:
-
-
Constructor Details
-
AnalysisRequestRuleTest
public AnalysisRequestRuleTest()
-
-
Method Details
-
annotationCount
-
getAnnotationCount
The expected number of findings the rule should produce against the test code. minimum: 0 maximum: 65535- Returns:
- annotationCount
-
setAnnotationCount
-
code
-
getCode
The source code snippet used as input for the rule test.- Returns:
- code
-
setCode
-
filename
-
getFilename
The filename associated with the test code snippet.- Returns:
- filename
-
setFilename
-
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:
- AnalysisRequestRuleTest
-
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 AnalysisRequestRuleTest object is equal to o. -
hashCode
public int hashCode() -
toString
-