Package com.datadog.api.client.v2.model
Class CustomRuleRevision
java.lang.Object
com.datadog.api.client.v2.model.CustomRuleRevision
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CustomRuleRevision
extends Object
A specific revision of a custom static analysis rule.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomRuleRevision(CustomRuleRevisionAttributes attributes, String id, CustomRuleRevisionDataType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(CustomRuleRevisionAttributes attributes) booleanReturn true if this CustomRuleRevision object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes of a custom rule revision, including code, metadata, and test cases.getId()Revision identifiergetType()Resource typeinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(CustomRuleRevisionAttributes attributes) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CustomRuleRevision
public CustomRuleRevision() -
CustomRuleRevision
public CustomRuleRevision(CustomRuleRevisionAttributes attributes, String id, CustomRuleRevisionDataType type)
-
-
Method Details
-
attributes
-
getAttributes
Attributes of a custom rule revision, including code, metadata, and test cases.- Returns:
- attributes
-
setAttributes
-
id
-
getId
Revision identifier- Returns:
- id
-
setId
-
type
-
getType
Resource type- 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:
- CustomRuleRevision
-
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 CustomRuleRevision object is equal to o. -
hashCode
public int hashCode() -
toString
-