Class FilesCoverageAttributes

java.lang.Object
com.datadog.api.client.v2.model.FilesCoverageAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FilesCoverageAttributes extends Object
Attributes of the per-file code coverage response.
  • Field Details

  • Constructor Details

    • FilesCoverageAttributes

      public FilesCoverageAttributes()
  • Method Details

    • baseCommitSha

      public FilesCoverageAttributes baseCommitSha(String baseCommitSha)
    • getBaseCommitSha

      @Nullable public String getBaseCommitSha()
      The SHA of the base commit used for comparison (for example, the merge base for a PR).
      Returns:
      baseCommitSha
    • setBaseCommitSha

      public void setBaseCommitSha(String baseCommitSha)
    • eventTimestamp

      public FilesCoverageAttributes eventTimestamp(Long eventTimestamp)
    • getEventTimestamp

      @Nullable public Long getEventTimestamp()
      Unix timestamp (milliseconds) of the coverage event.
      Returns:
      eventTimestamp
    • setEventTimestamp

      public void setEventTimestamp(Long eventTimestamp)
    • files

    • putFilesItem

      public FilesCoverageAttributes putFilesItem(String key, FileCoverageLines filesItem)
    • getFiles

      @Nullable public Map<String,FileCoverageLines> getFiles()
      Map of file paths to per-file coverage line data.
      Returns:
      files
    • setFiles

      public void setFiles(Map<String,FileCoverageLines> files)
    • headCommitSha

      public FilesCoverageAttributes headCommitSha(String headCommitSha)
    • getHeadCommitSha

      @Nullable public String getHeadCommitSha()
      The SHA of the head commit for which coverage was evaluated.
      Returns:
      headCommitSha
    • setHeadCommitSha

      public void setHeadCommitSha(String headCommitSha)
    • reportCount

      public FilesCoverageAttributes reportCount(Long reportCount)
    • getReportCount

      @Nullable public Long getReportCount()
      Number of coverage reports evaluated.
      Returns:
      reportCount
    • setReportCount

      public void setReportCount(Long reportCount)
    • putAdditionalProperty

      public FilesCoverageAttributes 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:
      FilesCoverageAttributes
    • 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 FilesCoverageAttributes 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