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 Details

  • Constructor Details

    • FileCoverageLines

      public FileCoverageLines()
  • Method Details

    • addedLines

      public FileCoverageLines addedLines(List<Long> addedLines)
    • addAddedLinesItem

      public FileCoverageLines addAddedLinesItem(Long addedLinesItem)
    • getAddedLines

      @Nullable public List<Long> getAddedLines()
      Line numbers that were added in the specified scope (for example, in a PR diff).
      Returns:
      addedLines
    • setAddedLines

      public void setAddedLines(List<Long> addedLines)
    • coveredLines

      public FileCoverageLines coveredLines(List<Long> coveredLines)
    • addCoveredLinesItem

      public FileCoverageLines addCoveredLinesItem(Long coveredLinesItem)
    • getCoveredLines

      @Nullable public List<Long> getCoveredLines()
      Line numbers that were covered by tests.
      Returns:
      coveredLines
    • setCoveredLines

      public void setCoveredLines(List<Long> coveredLines)
    • executableLines

      public FileCoverageLines executableLines(List<Long> executableLines)
    • addExecutableLinesItem

      public FileCoverageLines addExecutableLinesItem(Long executableLinesItem)
    • getExecutableLines

      @Nullable public List<Long> getExecutableLines()
      Line numbers that are executable (can be covered).
      Returns:
      executableLines
    • setExecutableLines

      public void setExecutableLines(List<Long> executableLines)
    • putAdditionalProperty

      public FileCoverageLines putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      FileCoverageLines
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this FileCoverageLines object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object