Package com.datadog.api.client.v2.model
Class CustomRuleRevisionTest
java.lang.Object
com.datadog.api.client.v2.model.CustomRuleRevisionTest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CustomRuleRevisionTest
extends Object
A test case associated with a custom rule revision, used to validate rule behavior.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotationCount(Long annotationCount) booleanReturn true if this CustomRuleRevisionTest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Expected violation count minimum: 0 maximum: 65535getCode()Test codeTest filenameinthashCode()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
-
CustomRuleRevisionTest
public CustomRuleRevisionTest() -
CustomRuleRevisionTest
-
-
Method Details
-
annotationCount
-
getAnnotationCount
Expected violation count minimum: 0 maximum: 65535- Returns:
- annotationCount
-
setAnnotationCount
-
code
-
getCode
Test code- Returns:
- code
-
setCode
-
filename
-
getFilename
Test filename- 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:
- CustomRuleRevisionTest
-
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 CustomRuleRevisionTest object is equal to o. -
hashCode
public int hashCode() -
toString
-