Package com.datadog.api.client.v2.model
Class FileCoverageLines
java.lang.Object
com.datadog.api.client.v2.model.FileCoverageLines
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FileCoverageLines
extends Object
Per-file line coverage data including executable, covered, and added lines.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAddedLinesItem(Long addedLinesItem) addCoveredLinesItem(Long coveredLinesItem) addedLines(List<Long> addedLines) addExecutableLinesItem(Long executableLinesItem) coveredLines(List<Long> coveredLines) booleanReturn true if this FileCoverageLines object is equal to o.executableLines(List<Long> executableLines) Line numbers that were added in the specified scope (for example, in a PR diff).Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Line numbers that were covered by tests.Line numbers that are executable (can be covered).inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAddedLines(List<Long> addedLines) voidsetCoveredLines(List<Long> coveredLines) voidsetExecutableLines(List<Long> executableLines) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ADDED_LINES
- See Also:
-
JSON_PROPERTY_COVERED_LINES
- See Also:
-
JSON_PROPERTY_EXECUTABLE_LINES
- See Also:
-
-
Constructor Details
-
FileCoverageLines
public FileCoverageLines()
-
-
Method Details
-
addedLines
-
addAddedLinesItem
-
getAddedLines
Line numbers that were added in the specified scope (for example, in a PR diff).- Returns:
- addedLines
-
setAddedLines
-
coveredLines
-
addCoveredLinesItem
-
getCoveredLines
Line numbers that were covered by tests.- Returns:
- coveredLines
-
setCoveredLines
-
executableLines
-
addExecutableLinesItem
-
getExecutableLines
Line numbers that are executable (can be covered).- Returns:
- executableLines
-
setExecutableLines
-
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:
- FileCoverageLines
-
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 FileCoverageLines object is equal to o. -
hashCode
public int hashCode() -
toString
-