Package com.datadog.api.client.v2.model
Class AnalysisFix
java.lang.Object
com.datadog.api.client.v2.model.AnalysisFix
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AnalysisFix
extends Object
A fix suggestion for a rule violation, consisting of one or more edit operations.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEditsItem(AnalysisEdit editsItem) description(String description) edits(List<AnalysisEdit> edits) booleanReturn true if this AnalysisFix object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A human-readable description of what the fix does.getEdits()The list of edit operations that constitute the fix.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidsetEdits(List<AnalysisEdit> edits) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_EDITS
- See Also:
-
-
Constructor Details
-
AnalysisFix
public AnalysisFix() -
AnalysisFix
-
-
Method Details
-
description
-
getDescription
A human-readable description of what the fix does.- Returns:
- description
-
setDescription
-
edits
-
addEditsItem
-
getEdits
The list of edit operations that constitute the fix.- Returns:
- edits
-
setEdits
-
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:
- AnalysisFix
-
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 AnalysisFix object is equal to o. -
hashCode
public int hashCode() -
toString
-