Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbaseCommitSha(String baseCommitSha) booleanReturn true if this FilesCoverageAttributes object is equal to o.eventTimestamp(Long eventTimestamp) files(Map<String, FileCoverageLines> files) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The SHA of the base commit used for comparison (for example, the merge base for a PR).Unix timestamp (milliseconds) of the coverage event.getFiles()Map of file paths to per-file coverage line data.The SHA of the head commit for which coverage was evaluated.Number of coverage reports evaluated.inthashCode()headCommitSha(String headCommitSha) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putFilesItem(String key, FileCoverageLines filesItem) reportCount(Long reportCount) voidsetBaseCommitSha(String baseCommitSha) voidsetEventTimestamp(Long eventTimestamp) voidsetFiles(Map<String, FileCoverageLines> files) voidsetHeadCommitSha(String headCommitSha) voidsetReportCount(Long reportCount) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BASE_COMMIT_SHA
- See Also:
-
JSON_PROPERTY_EVENT_TIMESTAMP
- See Also:
-
JSON_PROPERTY_FILES
- See Also:
-
JSON_PROPERTY_HEAD_COMMIT_SHA
- See Also:
-
JSON_PROPERTY_REPORT_COUNT
- See Also:
-
-
Constructor Details
-
FilesCoverageAttributes
public FilesCoverageAttributes()
-
-
Method Details
-
baseCommitSha
-
getBaseCommitSha
The SHA of the base commit used for comparison (for example, the merge base for a PR).- Returns:
- baseCommitSha
-
setBaseCommitSha
-
eventTimestamp
-
getEventTimestamp
Unix timestamp (milliseconds) of the coverage event.- Returns:
- eventTimestamp
-
setEventTimestamp
-
files
-
putFilesItem
-
getFiles
Map of file paths to per-file coverage line data.- Returns:
- files
-
setFiles
-
headCommitSha
-
getHeadCommitSha
The SHA of the head commit for which coverage was evaluated.- Returns:
- headCommitSha
-
setHeadCommitSha
-
reportCount
-
getReportCount
Number of coverage reports evaluated.- Returns:
- reportCount
-
setReportCount
-
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:
- FilesCoverageAttributes
-
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 FilesCoverageAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-