Class: DatadogAPIClient::V2::FilesCoverageAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/files_coverage_attributes.rb

Overview

Attributes of the per-file code coverage response.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v2/models/files_coverage_attributes.rb', line 39

def additional_properties
  @additional_properties
end

#base_commit_shaObject

The SHA of the base commit used for comparison (for example, the merge base for a PR).



25
26
27
# File 'lib/datadog_api_client/v2/models/files_coverage_attributes.rb', line 25

def base_commit_sha
  @base_commit_sha
end

#event_timestampObject

Unix timestamp (milliseconds) of the coverage event.



28
29
30
# File 'lib/datadog_api_client/v2/models/files_coverage_attributes.rb', line 28

def event_timestamp
  @event_timestamp
end

#filesObject

Map of file paths to per-file coverage line data.



31
32
33
# File 'lib/datadog_api_client/v2/models/files_coverage_attributes.rb', line 31

def files
  @files
end

#head_commit_shaObject

The SHA of the head commit for which coverage was evaluated.



34
35
36
# File 'lib/datadog_api_client/v2/models/files_coverage_attributes.rb', line 34

def head_commit_sha
  @head_commit_sha
end

#report_countObject

Number of coverage reports evaluated.



37
38
39
# File 'lib/datadog_api_client/v2/models/files_coverage_attributes.rb', line 37

def report_count
  @report_count
end